• 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 .Torch_bindings_generated .C .F Parameter #1
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
type 'a fn
type 'a return
val (@->) : 'a Ctypes.typ -> 'b fn -> ('a -> 'b) fn
val returning : 'a Ctypes.typ -> 'a return fn
type 'a result
val foreign : string -> ('a -> 'b) fn -> ('a -> 'b) result
val foreign_value : string -> 'a Ctypes.typ -> 'a Ctypes.ptr result

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