package torch

  1. Overview
  2. Docs
PyTorch bindings for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.13.tar.gz
md5=52a70206107b74898c412457132ea7dc
sha512=2209847a54308144ca255b4b2dbddf64f300b9dad4cd717b6d2db6a6839cad992ef604fe85bf495f772e587656a2b32d1acd002e1cfc9a259927edef0e3b85ae

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

Module Image.LoaderSource

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

Innovation. Community. Security.