package torch

  1. Overview
  2. Docs
PyTorch bindings for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.6.tar.gz
md5=b28b55cecdacca58b4dabf423b67b109
sha512=2118250a8295f713fee79f45afe098b051b62c2d9bd2c58d4762b6e9b00f86b870cee7b7b1d4105b4e93c30f86762a1c89f246842cddfe38dc2cd49bed5bf81d

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.