Liking cljdoc? Tell your friends :D

tvm-clj.tvm-jna


->nodeclj

(->node item)
source

->tvmclj

(->tvm item)
source

->tvm-valueclj

(->tvm-value item)
source

allocate-device-arrayclj

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

base-ptrclj

(base-ptr item)
source

byte-offsetclj

(byte-offset item)
source

call-functionclj

(call-function tvm-fn & args)
source

check-cpu-tensorclj

(check-cpu-tensor item)
source

copy-array-to-array!clj

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

copy-from-array!clj

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

copy-to-array!clj

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

create-streamclj

(create-stream device-type device-id)
source

device-exists?clj

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

device-idclj

(device-id item)
source

device-typeclj

(device-type item)
source

device-type->intclj

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

device-type-int->device-typeclj

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

g-fnclj

source

get-module-functionclj

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

get-module-sourceclj

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

get-node-typeclj

(get-node-type node-handle)
source

global-functionclj

(global-function fn-name & args)
source

global-node-functionclj

source

gn-fnclj

source

is-expression-node?clj

(is-expression-node? node)
source

is-node-handle?clj

(is-node-handle? item)
source

mod-importclj

(mod-import mod dep)
source

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

set-current-thread-streamclj

(set-current-thread-stream stream)
source

sync-stream-with-hostclj

(sync-stream-with-host stream)
source

sync-stream-with-streamclj

(sync-stream-with-stream stream)
source

tvm-arrayclj

(tvm-array jvm-ary)
source

tvm-array->jvmclj

(tvm-array->jvm tvm-ary)
source

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

× close