Owl_base_dense_ndarray_s
include Owl_base_dense_ndarray_intf.Common
with type arr := arr
and type elt := elt
val number : Owl_types_common.number
val empty : int array -> arr
val zeros : int array -> arr
val ones : int array -> arr
val bernoulli : ?p:float -> int array -> arr
val shape : arr -> int array
val numel : arr -> int
val strides : arr -> int array
Refer to :doc:`owl_dense_ndarray_generic`
val slice_size : arr -> int array
Refer to :doc:`owl_dense_ndarray_generic`
val get_fancy : Owl_types_common.index list -> arr -> arr
val set_fancy : Owl_types_common.index list -> arr -> arr -> unit
val reset : arr -> unit
val is_zero : arr -> bool
val is_positive : arr -> bool
val is_negative : arr -> bool
val is_nonpositive : arr -> bool
val is_nonnegative : arr -> bool
val is_normal : arr -> bool
val not_nan : arr -> bool
val not_inf : arr -> bool
val row_num : arr -> int
val col_num : arr -> int
include Owl_base_dense_ndarray_intf.NN with type arr := arr
val conv1d :
?padding:Owl_types_common.padding ->
arr ->
arr ->
int array ->
arr
val conv2d :
?padding:Owl_types_common.padding ->
arr ->
arr ->
int array ->
arr
val conv3d :
?padding:Owl_types_common.padding ->
arr ->
arr ->
int array ->
arr
val dilated_conv1d :
?padding:Owl_types_common.padding ->
arr ->
arr ->
int array ->
int array ->
arr
val dilated_conv2d :
?padding:Owl_types_common.padding ->
arr ->
arr ->
int array ->
int array ->
arr
val dilated_conv3d :
?padding:Owl_types_common.padding ->
arr ->
arr ->
int array ->
int array ->
arr
val transpose_conv1d :
?padding:Owl_types_common.padding ->
arr ->
arr ->
int array ->
arr
val transpose_conv2d :
?padding:Owl_types_common.padding ->
arr ->
arr ->
int array ->
arr
val transpose_conv3d :
?padding:Owl_types_common.padding ->
arr ->
arr ->
int array ->
arr
val max_pool1d :
?padding:Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr
val max_pool2d :
?padding:Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr
val max_pool3d :
?padding:Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr
val avg_pool1d :
?padding:Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr
val avg_pool2d :
?padding:Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr
val avg_pool3d :
?padding:Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr
val max_pool1d_backward :
Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr ->
arr
val max_pool2d_backward :
Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr ->
arr
val max_pool3d_backward :
Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr ->
arr
val avg_pool1d_backward :
Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr ->
arr
val avg_pool2d_backward :
Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr ->
arr
val avg_pool3d_backward :
Owl_types_common.padding ->
arr ->
int array ->
int array ->
arr ->
arr