package owl-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

This module defines the types shared by various sub-libraries in Owl. Note that they just wrappers, to find the exact module signature, please refer to the definition in the corresponding module.

include module type of struct include Owl_types_common end
type number = Owl_types_common.number =
  1. | F32
  2. | F64
  3. | C32
  4. | C64
type ('a, 'b) owl_arr = ('a, 'b, Bigarray.c_layout) Bigarray.Genarray.t
type index = Owl_types_common.index =
  1. | I of int
  2. | L of int list
  3. | R of int list
type slice = index list
type index_ = Owl_types_common.index_ =
  1. | I_ of int
  2. | L_ of int array
  3. | R_ of int array
type slice_ = index_ array
type padding = Owl_types_common.padding =
  1. | SAME
  2. | VALID
type device_type = Owl_types_common.device_type =
  1. | CPU
  2. | OpenCL
  3. | CUDA
module type Ndarray_Basic = sig ... end
module type Ndarray_Compare = sig ... end
module type Ndarray_Mutable = sig ... end
module type Ndarray_Algodiff = sig ... end
module type Ndarray_Numdiff = sig ... end
module type Stats_Dist = sig ... end
module type Computation_Device = sig ... end
OCaml

Innovation. Community. Security.