| Package | Description |
|---|---|
| org.bytedeco.tvm | |
| org.bytedeco.tvm.global |
| Modifier and Type | Method and Description |
|---|---|
ShapeTuple |
ShapeTuple.getPointer(long i) |
ShapeTuple |
ShapeTuple.position(long position) |
ShapeTuple |
ShapeTuple.put(ShapeTuple other) |
ShapeTuple |
NDArray.Shape() |
| Modifier and Type | Method and Description |
|---|---|
NDArray |
NDArray.CreateView(ShapeTuple shape,
DLDataType dtype) |
NDArray |
NDArray.CreateView(ShapeTuple shape,
DLDataType dtype,
long relative_byte_offset)
\brief Create a NDArray that shares the data memory with the current one.
|
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.
|
ShapeTuple |
ShapeTuple.put(ShapeTuple other) |
| Constructor and Description |
|---|
Container(Pointer data,
ShapeTuple shape,
DLDataType dtype,
DLDevice dev) |
ShapeTuple(ShapeTuple other) |
| Modifier and Type | Method and Description |
|---|---|
static Pointer |
tvm_runtime.shiftLeft(Pointer os,
ShapeTuple shape)
\brief An object representing shape tuple moved from std::vector.
|
Copyright © 2024. All rights reserved.