package tensorflow

  1. Overview
  2. Docs
type t
type !'a result =
  1. | Ok of 'a
  2. | Error of Status.t
val create : ?session_options:Session_options.t -> unit -> t result
val extend_graph : t -> Protobuf.t -> unit result
val run : ?inputs:(string * Tensor.p) list -> ?outputs:string list -> ?targets:string list -> t -> Tensor.p list result
val ok_exn : 'a result -> 'a
OCaml

Innovation. Community. Security.