package torch

  1. Overview
  2. Docs
PyTorch bindings for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.14.tar.gz
md5=7a712ae0e8c7f5452f628377d80a5bb4
sha512=22314b655bc6b5e5c970cbab8d132eae36ee0b8fb0a96b63727899442eb70fe00bd1895d7cc718a85b58bc2b2b4ea6820fa288a19346f095e5de18f7e47c2d02

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.