Liking cljdoc? Tell your friends :D

clj-djl.ndarray


*clj

(* array0 array1)
source

*!clj

(*! array0 array1)
source

**clj

(** array0 array1)
source

+clj

(+ array0 array1)
source

+!clj

(+! array0 array1)
source

-clj

(- array0)
(- array0 array1)
source

-!clj

(-! array0)
(-! array0 array1)

substract element wise in place

substract element wise in place
sourceraw docstring

/clj

(/ array0 array1)
source

<clj

(< array0 param1)
source

<=clj

(<= array0 param1)
source

=clj

(= array0 array1)
source

>clj

(> array0 param1)
source

>=clj

(>= array0 param1)
source

absclj

(abs ndarray)

Returns the absolute value of this NDArray element-wise

Returns the absolute value of this NDArray element-wise
sourceraw docstring

acosclj

(acos ndarray)

Returns the inverse trigonometric cosine of this NDArray element-wise.

Returns the inverse trigonometric cosine of this NDArray element-wise.
sourceraw docstring

all-closeclj

(all-close array0 array1)
(all-close array0 array1 rtol atol equal-nan)
source

arangecljmultimethod

source

argmaxclj

(argmax ndarray)
(argmax ndarray axis)
source

argminclj

(argmin ndarray)
(argmin ndarray axis)
source

argsortclj

(argsort ndarray)
(argsort ndarray axis)
(argsort ndarray axis ascending)
source

base-managerclj

(base-manager)
source

concatcljmultimethod

source

copyclj

(copy ndarray)
source

createcljmultimethod

source

create-csrclj

(create-csr manager data indptr indices shape- & device)
source

create-row-sparseclj

(create-row-sparse manager data datashape indices shape- & device)
source

cumsumclj

(cumsum array)
(cumsum array axis)
source

datatypeclj

(datatype datatype-)
source

divclj

(div array0 array1)
source

dotclj

(dot array0 array1)
source

dupclj

source

duplicateclj

(duplicate ndarray)
source

expclj

(exp array0)
source

expand-dimsclj

(expand-dims ndarray axis)
source

eyeclj

(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)
source

flattenclj

(flatten ndarray)
source

float-or-intclj

(float-or-int n)
source

fullclj

(full manager shape- data)
(full manager shape- data datatype-)
(full manager shape- data datatype- device)
source

getcljmultimethod

source

get-deviceclj

(get-device ndarray)
source

get-elementclj

(get-element array)
(get-element array index)

get the wrap value of NDArray

get the wrap value of NDArray
sourceraw docstring

get-gradientclj

(get-gradient ndarray)

Returns the gradient NDArray attached to this NDArray.

Returns the gradient NDArray attached to this NDArray.
sourceraw docstring

get-shapeclj

(get-shape ndarray)
source

(head ndlist)
source

indexclj

source

is-sparseclj

(is-sparse ndarray)
source

linspaceclj

(linspace manager start stop n)
(linspace manager start stop n endpoint)
(linspace manager start stop n endpoint device)
source

logclj

(log ndarray)
source

log-softmaxclj

(log-softmax ndarray axis)
source

log10clj

(log10 ndarray)
source

maxclj

(max ndarray & [axes keep-dims])
source

meanclj

(mean ndarray & [axes keep-dims])
source

minclj

(min ndarray & [axes keep-dims])
source

mulclj

(mul array0 array1)
source

muliclj

(muli array0 array1)
source

ndindexclj

(ndindex)
(ndindex param1 & more)
source

ndlistcljmultimethod

source

new-base-managerclj

source

new-ndindexclj

source

new-ndlistcljmultimethod

source

new-shapeclj

source

normclj

(norm ndarray)
source

onesclj

(ones manager shape-)
(ones manager shape- datatype-)
(ones manager shape- datatype- device)
source

ones-likeclj

(ones-like ndarray)
source

powclj

(pow array0 array1)
source

ppclj

(pp array)
source

prodclj

(prod ndarray & [axes keep-dims])
source

random-multinomialclj

(random-multinomial ndmanager n ndarray)
(random-multinomial ndmanager n ndarray shape-)

Draw samples from a multinomial distribution.

Draw samples from a multinomial distribution. 
sourceraw docstring

random-normalclj

(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)
source

random-uniformclj

(random-uniform manager low high shape-)
(random-uniform manager low high shape- datatype-)
(random-uniform manager low high shape- datatype- device)
source

reshapeclj

(reshape ndarray)
(reshape ndarray param1 & more)
source

scalar?clj

(scalar? ndarray)
source

setclj

(set array data)
(set array index val-or-fun)
source

set-requires-gradientclj

(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.
sourceraw docstring

set-scalarclj

(set-scalar ndarray ndindex value)
source

shapeclj

(shape)
(shape param1 & more)

Create a shape instance.

Create a shape instance.
sourceraw docstring

singleton-or-throwclj

(singleton-or-throw ndlist)
source

sizeclj

(size ndarray)
(size ndarray axis)

calc the seize of a ndarray.

calc the seize of a ndarray.
sourceraw docstring

sortclj

(sort ndarray)
(sort ndarray axis)
source

sparse?clj

source

splitclj

(split ndarray index-section & [axis])
source

sqrtclj

(sqrt ndarray)
source

squeezeclj

(squeeze ndarray & [axis])
source

stackcljmultimethod

source

sumclj

(sum array)
(sum array axes)
(sum array axes keep-dims)
source

tclj

source

to-arrayclj

(to-array ndarray-or-shape)
source

to-typeclj

(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"
sourceraw docstring

to-vecclj

(to-vec ndarray-or-shape)
source

traceclj

(trace ndarray)
(trace ndarray offset)
(trace ndarray offset axis1 axis2)
source

transposeclj

(transpose ndarray)
(transpose ndarray axis & [more])
source

zerosclj

(zeros manager shape-)
(zeros manager shape- datatype-)
(zeros manager shape- datatype- device)
source

zeros-likeclj

(zeros-like ndarray)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close