tvm
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tvm::te::PlaceholderOp Class Reference

Managed reference to PlaceholderOpNode. More...

#include <operation.h>

Inheritance diagram for tvm::te::PlaceholderOp:
Collaboration diagram for tvm::te::PlaceholderOp:

Public Member Functions

 PlaceholderOp (std::string name, ffi::Array< PrimExpr > shape, PrimType dtype)
 
 PlaceholderOp (ffi::UnsafeInit tag, ffi::ObjectPtr< PlaceholderOpNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (PlaceholderOp, Operation, PlaceholderOpNode)
 
- Public Member Functions inherited from tvm::te::Operation
 Operation (ffi::UnsafeInit tag)
 
const OperationNode * operator-> () const
 access the internal node container
 
Tensor output (size_t i) const
 get the i-th output of the operation.
 

Additional Inherited Members

- Public Types inherited from tvm::te::Operation
using ContainerType = OperationNode
 specify container node
 
- Static Public Attributes inherited from tvm::te::Operation
static constexpr bool _type_is_nullable = false
 

Detailed Description

Managed reference to PlaceholderOpNode.

See also
PlaceholderOpNode

Constructor & Destructor Documentation

◆ PlaceholderOp() [1/2]

tvm::te::PlaceholderOp::PlaceholderOp ( std::string  name,
ffi::Array< PrimExpr >  shape,
PrimType  dtype 
)

◆ PlaceholderOp() [2/2]

tvm::te::PlaceholderOp::PlaceholderOp ( ffi::UnsafeInit  tag,
ffi::ObjectPtr< PlaceholderOpNode >  node 
)
inlineexplicit

Member Function Documentation

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::te::PlaceholderOp::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( PlaceholderOp  ,
Operation  ,
PlaceholderOpNode   
)

The documentation for this class was generated from the following file: