Liking cljdoc? Tell your friends :D

tech.compute.tvm.tensor-math


*fn-map*clj

source

as-cpu-tensorclj

(as-cpu-tensor data & {:keys [shape datatype]})
source

assign!clj

(assign! stream lhs rhs)

Broadcasting, marshalling assignment of rhs to lhs lhs = rhs

Broadcasting, marshalling assignment of rhs to lhs
lhs = rhs
sourceraw docstring

assign-constant!clj

(assign-constant! stream tensor value)
source

build-bind-mapclj

(build-bind-map tensor-var-map)

The special cases in the bind map must relate to the name mangling of the function

The special cases in the bind map must relate to the name mangling
of the function
sourceraw docstring

cpu-fallback-implcljmacro

(cpu-fallback-impl tm-fn stream & args)
source

cpu-stream-fallbackcljmacro

(cpu-stream-fallback fn-name stream-item & args)
source

explode-read-tensorclj

(explode-read-tensor tensor n-dims)
source

get-fn-nameclj

(get-fn-name stem dest & args)
source

get-or-create-fnclj

(get-or-create-fn stream fn-name fn-create-fn)
source

left-pad-onesclj

(left-pad-ones shape-vec n-dims)
source

n-dim-compute-opclj

(n-dim-compute-op n-dims compute-fn & {:keys [name] :or {name "compute_op"}})
source

n-dims->shape-stride-tuplesclj

(n-dims->shape-stride-tuples n-dims arg-name)
source

tensor-readclj

(tensor-read placeholder index-vars shape-stride-tuples)

Perform the math required to get the absolute element offset from the shape/stride combined with the max shape variables

Perform the math required to get the absolute element offset from the shape/stride
combined with the max shape variables
sourceraw docstring

tensor-read-arg->mangle-strclj

(tensor-read-arg->mangle-str tensor)

For arguments where we ourselves are interpreting the argument.

For arguments where we ourselves are interpreting the argument.
sourceraw docstring

tensor-read-dims->varsclj

(tensor-read-dims->vars n-dims tensor arg-name)
source

tensor-read-placeholderclj

(tensor-read-placeholder tensor arg-name)
source

tensor-result-arg->mangle-strclj

(tensor-result-arg->mangle-str tensor)
source

y-dim-tvm-fnclj

(y-dim-tvm-fn n-dims detailed-fn)
source

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

× close