package torch

  1. Overview
  2. Docs
PyTorch bindings for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.16.tar.gz
md5=8746b973b125b378d4f5f44800d1a0a6
sha512=86887d16a40f366e16a95f38863c4afd08ceb426b7a7341802451210739f5213322f0d10bb2f979adb26296c4fbee699a3ab5a1d264334f20c44bc05d6f8540e

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.