| Package | Description |
|---|---|
| org.bytedeco.tvm | |
| org.bytedeco.tvm.global |
| Modifier and Type | Method and Description |
|---|---|
TVMValue |
TVMValue.getPointer(long i) |
TVMValue |
TVMValue.position(long position) |
TVMValue |
TVMValue.v_device(DLDevice setter) |
TVMValue |
TVMValue.v_float64(double setter) |
TVMValue |
TVMValue.v_handle(Pointer setter) |
TVMValue |
TVMValue.v_int64(long setter) |
TVMValue |
TVMValue.v_str(BytePointer setter) |
TVMValue |
TVMValue.v_type(DLDataType setter) |
TVMValue |
TVMRetValue.value() |
TVMValue |
TVMArgValue.value() |
TVMValue |
TVMArgs.values() |
| Modifier and Type | Method and Description |
|---|---|
int |
TVMPackedCFunc.call(TVMValue args,
IntPointer type_codes,
int num_args,
TVMRetValueHandle ret,
Pointer resource_handle) |
static TVMRetValue |
TVMRetValue.MoveFromCHost(TVMValue value,
int type_code)
\brief Construct a new TVMRetValue by
moving from return value stored via C API.
|
void |
TVMRetValue.MoveToCHost(TVMValue ret_value,
int[] ret_type_code) |
void |
TVMRetValue.MoveToCHost(TVMValue ret_value,
IntBuffer ret_type_code) |
void |
TVMRetValue.MoveToCHost(TVMValue ret_value,
IntPointer ret_type_code)
\brief Move the value back to front-end via C API.
|
TVMArgs |
TVMArgs.values(TVMValue setter) |
| Constructor and Description |
|---|
TVMArgs(TVMValue values,
int[] type_codes,
int num_args) |
TVMArgs(TVMValue values,
IntBuffer type_codes,
int num_args) |
TVMArgs(TVMValue values,
IntPointer type_codes,
int num_args)
\brief constructor
|
TVMArgsSetter(TVMValue values,
int[] type_codes) |
TVMArgsSetter(TVMValue values,
IntBuffer type_codes) |
TVMArgsSetter(TVMValue values,
IntPointer type_codes) |
TVMArgValue(TVMValue value,
int type_code)
\brief constructor
|
TVMMovableArgValue_(TVMValue value,
int type_code) |
| Modifier and Type | Method and Description |
|---|---|
static int |
tvm_runtime.TVMCbArgToReturn(TVMValue value,
int[] code) |
static int |
tvm_runtime.TVMCbArgToReturn(TVMValue value,
IntBuffer code) |
static int |
tvm_runtime.TVMCbArgToReturn(TVMValue value,
IntPointer code)
\brief Inplace translate callback argument value to return value.
|
static int |
tvm_runtime.TVMCFuncSetReturn(TVMRetValueHandle ret,
TVMValue value,
int[] type_code,
int num_ret) |
static int |
tvm_runtime.TVMCFuncSetReturn(TVMRetValueHandle ret,
TVMValue value,
IntBuffer type_code,
int num_ret) |
static int |
tvm_runtime.TVMCFuncSetReturn(TVMRetValueHandle ret,
TVMValue value,
IntPointer type_code,
int num_ret)
\brief Set the return value of TVMPackedCFunc.
|
static int |
tvm_runtime.TVMFuncCall(TVMFunctionHandle func,
TVMValue arg_values,
int[] type_codes,
int num_args,
TVMValue ret_val,
int[] ret_type_code) |
static int |
tvm_runtime.TVMFuncCall(TVMFunctionHandle func,
TVMValue arg_values,
IntBuffer type_codes,
int num_args,
TVMValue ret_val,
IntBuffer ret_type_code) |
static int |
tvm_runtime.TVMFuncCall(TVMFunctionHandle func,
TVMValue arg_values,
IntPointer type_codes,
int num_args,
TVMValue ret_val,
IntPointer ret_type_code)
\brief Call a Packed TVM Function.
|
Copyright © 2024. All rights reserved.