package torch

  1. Overview
  2. Docs
val save : Tensor.t -> filename:string -> unit
val load : filename:string -> Tensor.t
val save_multi : named_tensors:(string * Tensor.t) list -> filename:string -> unit
val load_multi : names:string list -> filename:string -> Tensor.t list
val load_multi_ : named_tensors:(string * Tensor.t) list -> filename:string -> unit
val load_all : filename:string -> (string * Tensor.t) list
OCaml

Innovation. Community. Security.