package torch

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

Innovation. Community. Security.