tensorflow

TensorFlow bindings for OCaml
IN THIS PACKAGE
module CI = Cstubs_internals
val caml__1_TF_NewTensor : int -> ( _, _ ) CI.fatptr -> int -> ( _, _ ) CI.fatptr -> Unsigned.size_t -> ( _, _ ) CI.fatfunptr -> ( _, _ ) CI.fatptr -> CI.voidp
val caml__2_TF_AllocateTensor : int -> ( _, _ ) CI.fatptr -> int -> Unsigned.size_t -> CI.voidp
val caml__3_TF_DeleteTensor : ( _, _ ) CI.fatptr -> unit
val caml__4_TF_NumDims : ( _, _ ) CI.fatptr -> int
val caml__5_TF_Dim : ( _, _ ) CI.fatptr -> int -> int
val caml__6_TF_TensorByteSize : ( _, _ ) CI.fatptr -> Unsigned.size_t
val caml__7_TF_TensorData : ( _, _ ) CI.fatptr -> CI.voidp
val caml__8_TF_TensorType : ( _, _ ) CI.fatptr -> int
val caml__9_TF_NewStatus : unit -> CI.voidp
val caml__10_TF_DeleteStatus : ( _, _ ) CI.fatptr -> unit
val caml__11_TF_SetStatus : ( _, _ ) CI.fatptr -> int -> ( _, _ ) CI.fatptr -> unit
val caml__12_TF_GetCode : ( _, _ ) CI.fatptr -> int
val caml__13_TF_Message : ( _, _ ) CI.fatptr -> CI.voidp
val caml__14_TF_OperationName : ( _, _ ) CI.fatptr -> CI.voidp
val caml__15_TF_OperationOpType : ( _, _ ) CI.fatptr -> CI.voidp
val caml__16_TF_OperationDevice : ( _, _ ) CI.fatptr -> CI.voidp
val caml__17_TF_OperationNumOutputs : ( _, _ ) CI.fatptr -> int
val caml__18_TF_OperationNumInputs : ( _, _ ) CI.fatptr -> int
val caml__19_TF_NewImportGraphDefOptions : unit -> CI.voidp
val caml__20_TF_DeleteImportGraphDefOptions : ( _, _ ) CI.fatptr -> unit
val caml__21_TF_NewBufferFromString : ( _, _ ) CI.fatptr -> int -> CI.voidp
val caml__22_TF_DeleteBuffer : ( _, _ ) CI.fatptr -> unit
val caml__23_TF_NewGraph : unit -> CI.voidp
val caml__24_TF_DeleteGraph : ( _, _ ) CI.fatptr -> unit
val caml__25_TF_GraphImportGraphDef : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> unit
val caml__26_TF_GraphOperationByName : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> CI.voidp
val caml__27_TF_GraphGetTensorNumDims : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int
val caml__28_TF_GraphGetTensorShape : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> ( _, _ ) CI.fatptr -> unit
val caml__29_TF_AddGradients : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> ( _, _ ) CI.fatptr -> int -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> unit
val caml__30_TF_NewOperation : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> CI.voidp
val caml__31_TF_FinishOperation : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> CI.voidp
val caml__32_TF_AddInput : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> unit
val caml__33_TF_AddInputList : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> unit
val caml__34_TF_AddControlInput : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> unit
val caml__35_TF_SetAttrString : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> unit
val caml__36_TF_SetAttrStringList : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> unit
val caml__37_TF_SetAttrInt : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int64 -> unit
val caml__38_TF_SetAttrIntList : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> unit
val caml__39_TF_SetAttrFloat : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> float -> unit
val caml__40_TF_SetAttrFloatList : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> unit
val caml__41_TF_SetAttrBool : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> Unsigned.uchar -> unit
val caml__42_TF_SetAttrBoolList : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> unit
val caml__43_TF_SetAttrType : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> unit
val caml__44_TF_SetAttrTypeList : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> unit
val caml__45_TF_SetAttrShape : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> unit
val caml__46_TF_SetAttrShapeList : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> unit
val caml__47_TF_SetAttrTensor : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> unit
val caml__48_TF_SetAttrTensorList : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> ( _, _ ) CI.fatptr -> unit
val caml__49_TF_NewSessionOptions : unit -> CI.voidp
val caml__50_TF_SetTarget : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> unit
val caml__51_TF_SetConfig : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> Unsigned.size_t -> ( _, _ ) CI.fatptr -> unit
val caml__52_TF_DeleteSessionOptions : ( _, _ ) CI.fatptr -> unit
val caml__53_TF_NewSession : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> CI.voidp
val caml__54_TF_CloseSession : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> unit
val caml__55_TF_DeleteSession : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> unit
val caml__56_TF_SessionRun : ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> int -> ( _, _ ) CI.fatptr -> int -> ( _, _ ) CI.fatptr -> ( _, _ ) CI.fatptr -> unit
type 'a result = 'a
type 'a return = 'a
type 'a fn =
| Returns : 'a CI.typ -> 'a return fn
| Function : 'a CI.typ * 'b fn -> ( 'a -> 'b ) fn
val map_result : ( 'a -> 'b ) -> 'a -> 'b
val returning : 'a CI.typ -> 'a return fn
val (@->) : 'a CI.typ -> 'b fn -> ( 'a -> 'b ) fn
val foreign : 'a 'b. string -> ( 'a -> 'b ) fn -> 'a -> 'b
val foreign_value : 'a. string -> 'a Ctypes.typ -> 'a Ctypes.ptr