|
tvm
|
A placeholder op represents an input placeholder. More...
#include <operation.h>
Public Member Functions | |
| int | num_outputs () const final |
| DataType | output_dtype (size_t i) const final |
| Get data type. i-th output tensor. More... | |
| ffi::Array< PrimExpr > | output_shape (size_t i) const final |
| Get shape of i-th output tensor. More... | |
| ffi::Array< Tensor > | InputTensors () const final |
| List all the input Tensors. More... | |
| TVM_FFI_DECLARE_OBJECT_INFO ("te.PlaceholderOp", PlaceholderOpNode, OperationNode) | |
Public Member Functions inherited from tvm::te::OperationNode | |
| virtual | ~OperationNode () |
| TVM_FFI_DECLARE_OBJECT_INFO ("te.Operation", OperationNode, Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Static Public Member Functions inherited from tvm::te::OperationNode | |
| static void | RegisterReflection () |
Public Attributes | |
| ffi::Array< PrimExpr > | shape |
| The shape of the input. More... | |
| DataType | dtype |
| The data type of the input. More... | |
Public Attributes inherited from tvm::te::OperationNode | |
| std::string | name |
| optional name of the operation More... | |
| std::string | tag |
| optional tag of the operation More... | |
| ffi::Map< ffi::String, ffi::Any > | attrs |
| additional attributes of the operation More... | |
A placeholder op represents an input placeholder.
|
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::PlaceholderOpNode::TVM_FFI_DECLARE_OBJECT_INFO | ( | "te.PlaceholderOp" | , |
| PlaceholderOpNode | , | ||
| OperationNode | |||
| ) |
| DataType tvm::te::PlaceholderOpNode::dtype |
The data type of the input.
| ffi::Array<PrimExpr> tvm::te::PlaceholderOpNode::shape |
The shape of the input.