tvm
|
External computation that cannot be splitted. More...
#include <operation.h>
Public Member Functions | |
ExternOpNode () | |
constructor More... | |
int | num_outputs () const final |
DataType | output_dtype (size_t i) const final |
Get data type. i-th output tensor. More... | |
Array< PrimExpr > | output_shape (size_t i) const final |
Get shape of i-th output tensor. More... | |
Array< Tensor > | InputTensors () const final |
List all the input Tensors. More... | |
TVM_DECLARE_FINAL_OBJECT_INFO (ExternOpNode, OperationNode) | |
![]() | |
virtual | ~OperationNode () |
TVM_DECLARE_BASE_OBJECT_INFO (OperationNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
Public Attributes | |
Array< Tensor > | inputs |
The input tensors. More... | |
Array< Buffer > | input_placeholders |
Symbolic placeholder representation of inputs. More... | |
Array< Buffer > | output_placeholders |
Symbolic placeholder representation of outputs. More... | |
Stmt | body |
the statement that generates the computation. More... | |
![]() | |
std::string | name |
optional name of the operation More... | |
std::string | tag |
optional tag of the operation More... | |
Map< String, ffi::Any > | attrs |
additional attributes of the operation More... | |
Static Public Attributes | |
static constexpr const char * | _type_key = "te.ExternOp" |
![]() | |
static constexpr const char * | _type_key = "te.Operation" |
External computation that cannot be splitted.
|
inline |
constructor
|
finalvirtual |
|
finalvirtual |
Implements tvm::te::OperationNode.
|
finalvirtual |
Get data type. i-th output tensor.
i | The output index. |
Implements tvm::te::OperationNode.
|
finalvirtual |
Get shape of i-th output tensor.
i | The output index. |
Implements tvm::te::OperationNode.
|
inlinestatic |
tvm::te::ExternOpNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | ExternOpNode | , |
OperationNode | |||
) |
|
staticconstexpr |
Stmt tvm::te::ExternOpNode::body |
the statement that generates the computation.
Array<Buffer> tvm::te::ExternOpNode::input_placeholders |
Symbolic placeholder representation of inputs.
Array<Tensor> tvm::te::ExternOpNode::inputs |
The input tensors.
Array<Buffer> tvm::te::ExternOpNode::output_placeholders |
Symbolic placeholder representation of outputs.