= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
package torch
-
torch.core
-
-
torch.toplevel
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val create : ?resize:(int * int) -> dir:string -> unit -> t
val random_batch : t -> batch_size:int -> Torch.Tensor.t
val reset : t -> unit
val next_batch : t -> batch_size:int -> Torch.Tensor.t option