package torch

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

Innovation. Community. Security.