package torch

  1. Overview
  2. Docs
PyTorch bindings for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.9b.tar.gz
md5=9da4e3a18e6468215ce07c8dc9ff0398
sha512=73d5ab4b820fe27572e8054a8a0d6029a17ed7936e76b395def7e7ad5971e898d4006fb8aa38065274a297a08f5f40763d91d6e5565118f53947dde24bbc3dbf

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.