tvm
|
Managed reference to ComputeOpNode. More...
#include <operation.h>
Public Member Functions | |
ComputeOp (std::string name, std::string tag, Map< String, ffi::Any > attrs, Array< IterVar > axis, Array< PrimExpr > body) | |
TVM_DEFINE_OBJECT_REF_METHODS (ComputeOp, Operation, ComputeOpNode) | |
TVM_DEFINE_OBJECT_REF_COW_METHOD (ComputeOpNode) | |
![]() | |
Operation () | |
default constructor More... | |
Operation (ObjectPtr< Object > n) | |
const OperationNode * | operator-> () const |
access the internal node container More... | |
Tensor | output (size_t i) const |
get the i-th output of the operation. More... | |
Additional Inherited Members | |
![]() | |
using | ContainerType = OperationNode |
specify container node More... | |
Managed reference to ComputeOpNode.
tvm::te::ComputeOp::ComputeOp | ( | std::string | name, |
std::string | tag, | ||
Map< String, ffi::Any > | attrs, | ||
Array< IterVar > | axis, | ||
Array< PrimExpr > | body | ||
) |
tvm::te::ComputeOp::TVM_DEFINE_OBJECT_REF_COW_METHOD | ( | ComputeOpNode | ) |
tvm::te::ComputeOp::TVM_DEFINE_OBJECT_REF_METHODS | ( | ComputeOp | , |
Operation | , | ||
ComputeOpNode | |||
) |