package torch

  1. Overview
  2. Docs
PyTorch bindings for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.10.tar.gz
md5=63540fcb4a4aa85a63207b8ed6eee137
sha512=a6f01cc4e4d4835f54766490be9145829032e2b75330b810819058883b93562871bc6d68dbdf9d346e10d7911b9474ceacbd20942246c48689102bcfda1ee32a

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.