Managed reference to TensorInfoNode.
More...
#include <arg_info.h>
Managed reference to TensorInfoNode.
- See also
- TensorInfoNode
◆ TensorInfo()
tvm::meta_schedule::TensorInfo::TensorInfo |
( |
runtime::DataType |
dtype, |
|
|
ffi::Shape |
shape |
|
) |
| |
|
explicit |
Constructor of TensorInfo.
- Parameters
-
dtype | The data type of the tensor argument. |
shape | The shape tuple of the tensor argument. |
◆ FromJSON()
static TensorInfo tvm::meta_schedule::TensorInfo::FromJSON |
( |
const ObjectRef & |
json_obj | ) |
|
|
static |
Parse the argument information from a JSON object.
- Parameters
-
json_obj | The json object to parse. |
- Returns
- The argument information parsed.
◆ TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS()
The documentation for this class was generated from the following file: