package torch

  1. Overview
  2. Docs
PyTorch bindings for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.15.tar.gz
md5=e0e2cf2688c69d6bb60f837e812db432
sha512=a518928c5be656a85973db2fe2fb8efb73ec4f4f972f0f733cd75ee8c25292d907bc31ca04a3f2dd5bc95800ee15ee19533ca47f9ff43432485c528c8f08ca90

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.