package torch

  1. Overview
  2. Docs
PyTorch bindings for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.8.tar.gz
md5=7f9cb5aa0d5e7e9700dde447a1f61c18
sha512=f4f4c23b5ba49cefa6e7f6d51ac1d015e3f6be284a80ceff378a0cd029faaca6026ddea72b8d97e718f7dc37b0879f816b2c789b809939df6881955f155c592f

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.