(-! array0)
(-! array0 array1)
substract element wise in place
substract element wise in place
(abs ndarray)
Returns the absolute value of this NDArray element-wise
Returns the absolute value of this NDArray element-wise
(acos ndarray)
Returns the inverse trigonometric cosine of this NDArray element-wise.
Returns the inverse trigonometric cosine of this NDArray element-wise.
(eye manager rows)
(eye manager rows k)
(eye manager rows cols k)
(eye manager rows cols k datatype-)
(eye manager rows cols k datatype- device)
(full manager shape- data)
(full manager shape- data datatype-)
(full manager shape- data datatype- device)
(get-element array)
(get-element array index)
get the wrap value of NDArray
get the wrap value of NDArray
(get-gradient ndarray)
Returns the gradient NDArray attached to this NDArray.
Returns the gradient NDArray attached to this NDArray.
(linspace manager start stop n)
(linspace manager start stop n endpoint)
(linspace manager start stop n endpoint device)
(ones manager shape-)
(ones manager shape- datatype-)
(ones manager shape- datatype- device)
(random-multinomial ndmanager n ndarray)
(random-multinomial ndmanager n ndarray shape-)
Draw samples from a multinomial distribution.
Draw samples from a multinomial distribution.
(random-normal manager shape-)
(random-normal manager loc scale shape-)
(random-normal manager loc scale shape- datatype-)
(random-normal manager loc scale shape- datatype- device)
(random-uniform manager low high shape-)
(random-uniform manager low high shape- datatype-)
(random-uniform manager low high shape- datatype- device)
(set-requires-gradient ndarray requires-grad)
Attaches a gradient NDArray to this NDArray and marks it so GradientCollector.backward(NDArray) can compute the gradient with respect to it.
Attaches a gradient NDArray to this NDArray and marks it so GradientCollector.backward(NDArray) can compute the gradient with respect to it.
(shape)
(shape param1 & more)
Create a shape instance.
Create a shape instance.
(size ndarray)
(size ndarray axis)
calc the seize of a ndarray.
calc the seize of a ndarray.
(to-type ndarray datatype- copy)
convert ndarray to data-type, available options are: "int8" "uint8" "int32" "int64" "float16" "float32" "float64" "boolean" "string" "unknown"
convert ndarray to data-type, available options are: "int8" "uint8" "int32" "int64" "float16" "float32" "float64" "boolean" "string" "unknown"
(zeros manager shape-)
(zeros manager shape- datatype-)
(zeros manager shape- datatype- device)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close