package torch

  1. Overview
  2. Docs
PyTorch bindings for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.10.tar.gz
md5=63540fcb4a4aa85a63207b8ed6eee137
sha512=a6f01cc4e4d4835f54766490be9145829032e2b75330b810819058883b93562871bc6d68dbdf9d346e10d7911b9474ceacbd20942246c48689102bcfda1ee32a

doc/torch.vision/Torch_vision/Imagenet/Loader/index.html

Module Imagenet.LoaderSource

Sourcetype t
Sourceval create : ?resize:(int * int) -> dir:string -> unit -> t
Sourceval random_batch : t -> batch_size:int -> Torch.Tensor.t
Sourceval reset : t -> unit
Sourceval next_batch : t -> batch_size:int -> Torch.Tensor.t option
OCaml

Innovation. Community. Security.