Managed reference to TensorInfoObj.
More...
#include <arg_info.h>
|
| static TensorInfo | FromJSON (const ffi::ObjectRef &json_obj) |
| | Parse the argument information from a JSON object.
|
| |
| static ArgInfo | FromJSON (const ffi::ObjectRef &json_obj) |
| | Parse the argument information from a JSON object.
|
| |
| static ffi::Array< ArgInfo, void > | FromFunction (const tirx::Function &func) |
| | Extract a list of the argument information from Function.
|
| |
| static ffi::Array< ArgInfo, void > | FromEntryFunc (const IRModule &mod, bool remove_preproc) |
| | Extract a list of the argument information from the entry func of an IRModule.
|
| |
Managed reference to TensorInfoObj.
- See also
- TensorInfoObj
◆ TensorInfo()
| tvm::s_tir::meta_schedule::TensorInfo::TensorInfo |
( |
DLDataType |
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::s_tir::meta_schedule::TensorInfo::FromJSON |
( |
const ffi::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_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
The documentation for this class was generated from the following file: