package torch

  1. Overview
  2. Docs
PyTorch bindings for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.7.tar.gz
md5=e8681bb78ee902c7df73d8569ac92ed9
sha512=335064169516f456f1f123e52ec8ab1b5e0c7f9d036bd72e0171b19a2a57c2eb8ea70d1a64ae0d43b05775307d7a017b742f6f6af9d44e3e4d6dc57f478b15a3

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.