Liking cljdoc? Tell your friends :D

tvm-clj.tvm-jna


->nodeclj

(->node item)

->tvmclj

(->tvm item)

->tvm-valueclj

(->tvm-value item)

allocate-device-arrayclj

(allocate-device-array shape datatype device-type device-id)

base-ptrclj

(base-ptr item)

byte-offsetclj

(byte-offset item)

call-functionclj

(call-function tvm-fn & args)

check-cpu-tensorclj

(check-cpu-tensor item)

copy-array-to-array!clj

(copy-array-to-array! src dst stream)

copy-from-array!clj

(copy-from-array! src-tensor dest n-bytes)

copy-to-array!clj

(copy-to-array! src dest-tensor n-bytes)

create-streamclj

(create-stream device-type device-id)

device-exists?clj

(device-exists? device-type device-id)

device-idclj

(device-id item)

device-typeclj

(device-type item)

device-type->intclj

(device-type->int device-type)

device-type-int->device-typeclj

(device-type-int->device-type device-type)

g-fnclj


get-module-functionclj

(get-module-function module fn-name & {:keys [query-imports?]})

get-module-sourceclj

(get-module-source module {:keys [format] :or {format ""}})

get-node-typeclj

(get-node-type node-handle)

global-functionclj

(global-function fn-name & args)

global-node-functionclj


gn-fnclj


is-expression-node?clj

(is-expression-node? node)

is-node-handle?clj

(is-node-handle? item)

mod-importclj

(mod-import mod dep)

pointer->tvm-aryclj

(pointer->tvm-ary ptr
                  device-type
                  device-id
                  datatype
                  shape
                  strides
                  byte-offset
                  &
                  [gc-root])

Take a pointer value and convert it into a dl-tensor datatype.

strides are optional, can be nil.

Not all backends in TVM can offset their pointer types. For this reason, tvm arrays have a byte_offset member that you can use to make an array not start at the pointer's base address.

Take a pointer value and convert it into a dl-tensor datatype.

strides are optional, can be nil.

Not all backends in TVM can offset their pointer types.  For this reason, tvm arrays
  have a byte_offset member that you can use to make an array not start at the pointer's
  base address.
raw docstring

set-current-thread-streamclj

(set-current-thread-stream stream)

sync-stream-with-hostclj

(sync-stream-with-host stream)

sync-stream-with-streamclj

(sync-stream-with-stream stream)

tvm-arrayclj

(tvm-array jvm-ary)

tvm-array->jvmclj

(tvm-array->jvm tvm-ary)

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

× close