| Package | Description |
|---|---|
| org.bytedeco.tvm | |
| org.bytedeco.tvm.global |
| Modifier and Type | Method and Description |
|---|---|
DLDataType |
DataType.asDLDataType()
\brief Converter to DLDataType
|
DLDataType |
TVMArgValue.asDLDataType() |
DLDataType |
TVMMovableArgValue_.asDLDataType() |
DLDataType |
TVMRetValue.asDLDataType() |
DLDataType |
TVMRetValue.asDLDataType() |
DLDataType |
TVMMovableArgValue_.asDLDataType() |
DLDataType |
TVMArgValue.asDLDataType() |
DLDataType |
DataType.asDLDataType()
\brief Converter to DLDataType
|
DLDataType |
DLDataType.bits(byte setter) |
DLDataType |
DLDataType.bits(byte setter) |
DLDataType |
DLDataType.code(byte setter) |
DLDataType |
DLDataType.code(byte setter) |
DLDataType |
DLTensor.dtype()
\brief The data type of the pointer
|
DLDataType |
DLTensor.dtype()
\brief The data type of the pointer
|
DLDataType |
DLDataType.getPointer(long i) |
DLDataType |
DLDataType.getPointer(long i) |
DLDataType |
DLDataType.lanes(short setter) |
DLDataType |
DLDataType.lanes(short setter) |
DLDataType |
DLDataType.position(long position) |
DLDataType |
DLDataType.position(long position) |
DLDataType |
TVMValue.v_type() |
DLDataType |
TVMValue.v_type() |
| Modifier and Type | Method and Description |
|---|---|
void |
TVMArgsSetter.apply(long i,
DLDataType value) |
void |
TVMArgsSetter.apply(long i,
DLDataType value) |
NDArray |
NDArray.CreateView(ShapeTuple shape,
DLDataType dtype)
\brief Create a NDArray that shares the data memory with the current one.
|
NDArray |
NDArray.CreateView(ShapeTuple shape,
DLDataType dtype)
\brief Create a NDArray that shares the data memory with the current one.
|
DLTensor |
DLTensor.dtype(DLDataType setter) |
DLTensor |
DLTensor.dtype(DLDataType setter) |
static NDArray |
NDArray.Empty(ShapeTuple shape,
DLDataType dtype,
DLDevice dev) |
static NDArray |
NDArray.Empty(ShapeTuple shape,
DLDataType dtype,
DLDevice dev) |
static NDArray |
NDArray.Empty(ShapeTuple shape,
DLDataType dtype,
DLDevice dev,
TVMStringOptional mem_scope)
\brief Create an empty NDArray.
|
static NDArray |
NDArray.Empty(ShapeTuple shape,
DLDataType dtype,
DLDevice dev,
TVMStringOptional mem_scope)
\brief Create an empty NDArray.
|
TVMRetValue |
TVMRetValue.put(DLDataType t) |
TVMRetValue |
TVMRetValue.put(DLDataType t) |
static boolean |
Handler.Read(Stream strm,
DLDataType dtype) |
static boolean |
Handler.Read(Stream strm,
DLDataType dtype) |
TVMValue |
TVMValue.v_type(DLDataType setter) |
TVMValue |
TVMValue.v_type(DLDataType setter) |
static void |
Handler.Write(Stream strm,
DLDataType dtype) |
static void |
Handler.Write(Stream strm,
DLDataType dtype) |
| Constructor and Description |
|---|
Container(Pointer data,
ShapeTuple shape,
DLDataType dtype,
DLDevice dev) |
Container(Pointer data,
ShapeTuple shape,
DLDataType dtype,
DLDevice dev) |
DataType(DLDataType dtype)
\brief Constructor
|
DataType(DLDataType dtype)
\brief Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static DLDataType |
tvm_runtime.String2DLDataType(BytePointer s)
\brief convert a string to TVM type.
|
static DLDataType |
tvm_runtime.String2DLDataType(BytePointer s)
\brief convert a string to TVM type.
|
static DLDataType |
tvm_runtime.String2DLDataType(String s) |
static DLDataType |
tvm_runtime.String2DLDataType(String s) |
| Modifier and Type | Method and Description |
|---|---|
static BytePointer |
tvm_runtime.DLDataType2String(DLDataType t)
\brief convert a TVM type to string.
|
static BytePointer |
tvm_runtime.DLDataType2String(DLDataType t)
\brief convert a TVM type to string.
|
static Pointer |
tvm_runtime.shiftLeft(Pointer os,
DLDataType t) |
static Pointer |
tvm_runtime.shiftLeft(Pointer os,
DLDataType t) |
static int |
tvm_runtime.TVMDeviceAllocDataSpace(DLDevice dev,
long nbytes,
long alignment,
DLDataType type_hint,
Pointer out_data) |
static int |
tvm_runtime.TVMDeviceAllocDataSpace(DLDevice dev,
long nbytes,
long alignment,
DLDataType type_hint,
Pointer out_data) |
static int |
tvm_runtime.TVMDeviceAllocDataSpace(DLDevice dev,
long nbytes,
long alignment,
DLDataType type_hint,
PointerPointer out_data)
\brief Allocate a data space on device.
|
static int |
tvm_runtime.TVMDeviceAllocDataSpace(DLDevice dev,
long nbytes,
long alignment,
DLDataType type_hint,
PointerPointer out_data)
\brief Allocate a data space on device.
|
static int |
tvm_runtime.TVMDeviceAllocDataSpaceWithScope(DLDevice dev,
int ndim,
long[] shape,
DLDataType dtype,
BytePointer mem_scope,
Pointer out_data) |
static int |
tvm_runtime.TVMDeviceAllocDataSpaceWithScope(DLDevice dev,
int ndim,
long[] shape,
DLDataType dtype,
BytePointer mem_scope,
Pointer out_data) |
static int |
tvm_runtime.TVMDeviceAllocDataSpaceWithScope(DLDevice dev,
int ndim,
long[] shape,
DLDataType dtype,
String mem_scope,
Pointer out_data) |
static int |
tvm_runtime.TVMDeviceAllocDataSpaceWithScope(DLDevice dev,
int ndim,
long[] shape,
DLDataType dtype,
String mem_scope,
Pointer out_data) |
static int |
tvm_runtime.TVMDeviceAllocDataSpaceWithScope(DLDevice dev,
int ndim,
LongBuffer shape,
DLDataType dtype,
BytePointer mem_scope,
Pointer out_data) |
static int |
tvm_runtime.TVMDeviceAllocDataSpaceWithScope(DLDevice dev,
int ndim,
LongBuffer shape,
DLDataType dtype,
BytePointer mem_scope,
Pointer out_data) |
static int |
tvm_runtime.TVMDeviceAllocDataSpaceWithScope(DLDevice dev,
int ndim,
LongBuffer shape,
DLDataType dtype,
String mem_scope,
Pointer out_data) |
static int |
tvm_runtime.TVMDeviceAllocDataSpaceWithScope(DLDevice dev,
int ndim,
LongBuffer shape,
DLDataType dtype,
String mem_scope,
Pointer out_data) |
static int |
tvm_runtime.TVMDeviceAllocDataSpaceWithScope(DLDevice dev,
int ndim,
LongPointer shape,
DLDataType dtype,
BytePointer mem_scope,
Pointer out_data) |
static int |
tvm_runtime.TVMDeviceAllocDataSpaceWithScope(DLDevice dev,
int ndim,
LongPointer shape,
DLDataType dtype,
BytePointer mem_scope,
Pointer out_data) |
static int |
tvm_runtime.TVMDeviceAllocDataSpaceWithScope(DLDevice dev,
int ndim,
LongPointer shape,
DLDataType dtype,
BytePointer mem_scope,
PointerPointer out_data)
\brief Allocate a data space on device with special memory scope.
|
static int |
tvm_runtime.TVMDeviceAllocDataSpaceWithScope(DLDevice dev,
int ndim,
LongPointer shape,
DLDataType dtype,
BytePointer mem_scope,
PointerPointer out_data)
\brief Allocate a data space on device with special memory scope.
|
static int |
tvm_runtime.TVMDeviceAllocDataSpaceWithScope(DLDevice dev,
int ndim,
LongPointer shape,
DLDataType dtype,
String mem_scope,
Pointer out_data) |
static int |
tvm_runtime.TVMDeviceAllocDataSpaceWithScope(DLDevice dev,
int ndim,
LongPointer shape,
DLDataType dtype,
String mem_scope,
Pointer out_data) |
static boolean |
tvm_runtime.TypeEqual(DLDataType lhs,
DLDataType rhs)
\brief Check whether two types are equal .
|
static boolean |
tvm_runtime.TypeEqual(DLDataType lhs,
DLDataType rhs)
\brief Check whether two types are equal .
|
static boolean |
tvm_runtime.TypeMatch(DLDataType t,
int code,
int bits) |
static boolean |
tvm_runtime.TypeMatch(DLDataType t,
int code,
int bits) |
static boolean |
tvm_runtime.TypeMatch(DLDataType t,
int code,
int bits,
int lanes)
\brief Check whether type matches the given spec.
|
static boolean |
tvm_runtime.TypeMatch(DLDataType t,
int code,
int bits,
int lanes)
\brief Check whether type matches the given spec.
|
Copyright © 2022. All rights reserved.