package torch

  1. Overview
  2. Docs
PyTorch bindings for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.tar.gz
md5=9547e9e025dacd52e405ff699539c582
sha512=23fd9bef6f5f11c55171f2383a2f7ca57330511af6521a4579410e002d8667a91e764aecc2deb1cf8d7bf3b0e988cd3020850fa4a5a1ec713dfb110ec7352892

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.