• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Searching...
    Or go to: Standard Library API
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • torch

  • Documentation
  • torch.core lib
  • Torch_core .Wrapper_generated .C Module
package torch
  • torch
    • Torch
      • Checkpointing
      • Cifar_helper
      • Cuda
      • Dataset_helper
      • Device
      • Ivalue
      • Layer
        • Gru
        • Lstm
      • Mnist_helper
      • Module
      • Optimizer
        • Clip_grad
        • Linear_interpolation
      • Scalar
      • Serialize
      • Tensor
      • Text_helper
      • Var_store
        • Init
        • Tensor_id
  • torch.core
    • Torch_core
      • Device
      • Kind
      • Reduction
      • Torch_bindings
        • C
          • Cuda
          • F
          • Ivalue
          • Module
          • Optimizer
          • Scalar
          • Serialize
          • Tensor
          • TensorG
      • Torch_bindings_generated
        • C
          • F
        • C0
          • F
        • C1
          • F
        • C10
          • F
        • C11
          • F
        • C12
          • F
        • C13
          • F
        • C14
          • F
        • C15
          • F
        • C16
          • F
        • C17
          • F
        • C18
          • F
        • C2
          • F
        • C3
          • F
        • C4
          • F
        • C5
          • F
        • C6
          • F
        • C7
          • F
        • C8
          • F
        • C9
          • F
      • Torch_generated
      • Wrapper
        • Cuda
        • Ivalue
          • Tag
        • Module
        • Optimizer
        • Scalar
        • Serialize
        • Tensor
      • Wrapper_generated
        • C
          • Cuda
          • Ivalue
          • Module
          • Optimizer
          • Scalar
          • Serialize
          • Tensor
          • TensorG
      • Wrapper_generated_intf
        • S
  • torch.toplevel
    • Torch_toplevel
  • torch.vision
    • Torch_vision
      • Alexnet
      • Densenet
      • Efficientnet
      • Image
        • Loader
      • Imagenet
        • Classes
        • Loader
      • Inception
      • Mobilenet
      • Resnet
      • Squeezenet
      • Stb_image
      • Stb_image_write
      • Vgg
Legend:
Library
Module
Module type
Parameter
Class
Class type
val manual_seed : (int64 -> unit Torch_generated.return) Torch_generated.result
val free : (unit Ctypes_static.ptr -> unit Torch_generated.return) Torch_generated.result
val get_num_threads : (unit -> int Torch_generated.return) Torch_generated.result
val set_num_threads : (int -> unit Torch_generated.return) Torch_generated.result
module Tensor : sig ... end
module Scalar : sig ... end
module Serialize : sig ... end
module Optimizer : sig ... end
module Cuda : sig ... end
module Ivalue : sig ... end
module Module : sig ... end
module TensorG : sig ... end

Footer

OCaml

Innovation. Community. Security.

GitHub Discord Twitter Peertube RSS

About Us

  • Industrial Users
  • Academic Users
  • Why OCaml

Resources

  • Get Started
  • Language Manual
  • Standard Library API
  • Books
  • Releases

Community

  • Blog
  • Jobs

Policies

  • Carbon Footprint
  • Governance
  • Privacy
  • Code of Conduct