package torch

  1. Overview
  2. Docs

Module Torch.SerializeSource

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

Innovation. Community. Security.