package owl
Module Owl_dense_ndarray.ZSource
include module type of struct include Owl_dense_ndarray_z end
include Owl_dense_ndarray_intf.Common with type elt := elt and type arr := arr
include Owl_base_dense_ndarray_intf.Common
with type elt := elt
with type arr := arr
Iterate array elements
Examination & Comparison
Create N-dimensional array
unit_basis k n i returns a unit basis vector with ith element set to 1.
Obtain basic properties
Manipulate a N-dimensional array
Iterate array elements
Examine array elements or compare two arrays
Input/Output functions
Unary mathematical operations
Binary mathematical operations
Tensor Calculus
Experimental functions
Functions of in-place modification
include Owl_dense_ndarray_intf.NN with type arr := arr
include Owl_base_dense_ndarray_intf.NN with type arr := arr
Source
val dilated_conv1d :
?padding:Owl_types_common.padding ->
arr ->
arr ->
int array ->
int array ->
arrSource
val dilated_conv2d :
?padding:Owl_types_common.padding ->
arr ->
arr ->
int array ->
int array ->
arrSource
val dilated_conv3d :
?padding:Owl_types_common.padding ->
arr ->
arr ->
int array ->
int array ->
arrSource
val max_pool1d_backward :
Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr ->
arrSource
val max_pool2d_backward :
Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr ->
arrSource
val max_pool3d_backward :
Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr ->
arrSource
val avg_pool1d_backward :
Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr ->
arrSource
val avg_pool2d_backward :
Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr ->
arrSource
val avg_pool3d_backward :
Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr ->
arrNeural network related functions
Source
val max_pool2d_argmax :
?padding:Owl_types.padding ->
arr ->
int array ->
int array ->
arr * (int64, Bigarray.int64_elt, Bigarray.c_layout) Bigarray.Genarray.tSource
val dilated_conv1d_ :
out:arr ->
?padding:Owl_types.padding ->
arr ->
arr ->
int array ->
int array ->
unitSource
val dilated_conv2d_ :
out:arr ->
?padding:Owl_types.padding ->
arr ->
arr ->
int array ->
int array ->
unitSource
val dilated_conv3d_ :
out:arr ->
?padding:Owl_types.padding ->
arr ->
arr ->
int array ->
int array ->
unitSource
val transpose_conv1d_ :
out:arr ->
?padding:Owl_types.padding ->
arr ->
arr ->
int array ->
unitSource
val transpose_conv2d_ :
out:arr ->
?padding:Owl_types.padding ->
arr ->
arr ->
int array ->
unitSource
val transpose_conv3d_ :
out:arr ->
?padding:Owl_types.padding ->
arr ->
arr ->
int array ->
unitSource
val max_pool1d_ :
out:arr ->
?padding:Owl_types.padding ->
arr ->
int array ->
int array ->
unitSource
val max_pool2d_ :
out:arr ->
?padding:Owl_types.padding ->
arr ->
int array ->
int array ->
unitSource
val max_pool3d_ :
out:arr ->
?padding:Owl_types.padding ->
arr ->
int array ->
int array ->
unitSource
val avg_pool1d_ :
out:arr ->
?padding:Owl_types.padding ->
arr ->
int array ->
int array ->
unitSource
val avg_pool2d_ :
out:arr ->
?padding:Owl_types.padding ->
arr ->
int array ->
int array ->
unitSource
val avg_pool3d_ :
out:arr ->
?padding:Owl_types.padding ->
arr ->
int array ->
int array ->
unitSource
val max_pool1d_backward_ :
out:arr ->
Owl_types.padding ->
arr ->
int array ->
int array ->
arr ->
unitSource
val max_pool2d_backward_ :
out:arr ->
Owl_types.padding ->
arr ->
int array ->
int array ->
arr ->
unitSource
val max_pool3d_backward_ :
out:arr ->
Owl_types.padding ->
arr ->
int array ->
int array ->
arr ->
unitSource
val avg_pool1d_backward_ :
out:arr ->
Owl_types.padding ->
arr ->
int array ->
int array ->
arr ->
unitSource
val avg_pool2d_backward_ :
out:arr ->
Owl_types.padding ->
arr ->
int array ->
int array ->
arr ->
unitSource
val avg_pool3d_backward_ :
out:arr ->
Owl_types.padding ->
arr ->
int array ->
int array ->
arr ->
unitinclude Owl_dense_ndarray_intf.Complex
with type elt := elt
and type arr := arr
and type cast_arr := cast_arr
Complex operations
complex re im constructs a complex ndarray/matrix from re and im. re and im contain the real and imaginary part of x respectively.
Note that both re and im can be complex but must have same type. The real part of re will be the real part of x and the imaginary part of im will be the imaginary part of x.
polar rho theta constructs a complex ndarray/matrix from polar coordinates rho and theta. rho contains the magnitudes and theta contains phase angles. Note that the behaviour is undefined if rho has negative elelments or theta has infinity elelments.
include module type of struct include Operator end
include sig ... end
Source
val (+) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (-) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (*) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (/) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (=) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
boolSource
val (!=) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
boolSource
val (<>) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
boolSource
val (>) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
boolSource
val (<) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
boolSource
val (>=) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
boolSource
val (<=) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
boolinclude sig ... end
Source
val (=.) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (!=.) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (<>.) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (<.) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (>.) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (<=.) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (>=.) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (=.$) :
('a, 'b) Owl_dense_ndarray_generic.t ->
'a ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (!=.$) :
('a, 'b) Owl_dense_ndarray_generic.t ->
'a ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (<>.$) :
('a, 'b) Owl_dense_ndarray_generic.t ->
'a ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (<.$) :
('a, 'b) Owl_dense_ndarray_generic.t ->
'a ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (>.$) :
('a, 'b) Owl_dense_ndarray_generic.t ->
'a ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (<=.$) :
('a, 'b) Owl_dense_ndarray_generic.t ->
'a ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (>=.$) :
('a, 'b) Owl_dense_ndarray_generic.t ->
'a ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (=~) :
?eps:??? ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
boolSource
val (=~.) :
?eps:??? ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (=~.$) :
?eps:??? ->
('a, 'b) Owl_dense_ndarray_generic.t ->
'a ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (%) :
(float, 'a) Owl_dense_ndarray_generic.t ->
(float, 'a) Owl_dense_ndarray_generic.t ->
(float, 'a) Owl_dense_ndarray_generic.tSource
val (%$) :
(float, 'a) Owl_dense_ndarray_generic.t ->
float ->
(float, 'a) Owl_dense_ndarray_generic.tSource
val (**) :
(float, 'a) Owl_dense_ndarray_generic.t ->
(float, 'a) Owl_dense_ndarray_generic.t ->
(float, 'a) Owl_dense_ndarray_generic.tSource
val ($**) :
float ->
(float, 'a) Owl_dense_ndarray_generic.t ->
(float, 'a) Owl_dense_ndarray_generic.tSource
val (**$) :
(float, 'a) Owl_dense_ndarray_generic.t ->
float ->
(float, 'a) Owl_dense_ndarray_generic.tSource
val (+=) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
unitSource
val (-=) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
unitSource
val (*=) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
unitSource
val (/=) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
unitSource
val (@=) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (@||) :
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.t ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (.!{;..}) :
('a, 'b) Owl_dense_ndarray_generic.t ->
Owl_types.index array ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (.!{;..}<-) :
('a, 'b) Owl_dense_ndarray_generic.t ->
Owl_types.index array ->
('a, 'b) Owl_dense_ndarray_generic.t ->
unitSource
val (.${}) :
('a, 'b) Owl_dense_ndarray_generic.t ->
int list ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (.${;..}) :
('a, 'b) Owl_dense_ndarray_generic.t ->
int list array ->
('a, 'b) Owl_dense_ndarray_generic.tSource
val (.${}<-) :
('a, 'b) Owl_dense_ndarray_generic.t ->
int list ->
('a, 'b) Owl_dense_ndarray_generic.t ->
unitSource
val (.${;..}<-) :
('a, 'b) Owl_dense_ndarray_generic.t ->
int list array ->
('a, 'b) Owl_dense_ndarray_generic.t ->
unit