package torch

  1. Overview
  2. Docs
PyTorch bindings for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.11.tar.gz
md5=45ccaed01b4aea5d1f9ae0c89c85f78b
sha512=c3d02319adb88f641c0eaf312c4a15525a28f1ee8ef46be10111aafbefb40b29fc1746733be49f6a2049a5a17ccc203a8c0481a18f70eed05b9cf4a34830a2c2

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.