Class BlockDescAPI

Inheritance Relationships

Derived Types

Class Documentation

class cinn::frontend::paddle::cpp::BlockDescAPI

Subclassed by cinn::frontend::paddle::cpp::BlockDesc, cinn::frontend::paddle::pb::BlockDesc

Public Functions

~BlockDescAPI() = default
int32_t Idx() const = 0
void SetIdx(int32_t idx) = 0
int32_t ParentIdx() const = 0
void SetParentIdx(int32_t idx) = 0
size_t VarsSize() const = 0
void ClearVars() = 0
template<typename T>
T *GetVar(int32_t idx)
template<typename T>
T *AddVar()
size_t OpsSize() const = 0
void ClearOps() = 0
template<typename T>
T *GetOp(int32_t idx)
template<typename T>
T *AddOp()
int32_t ForwardBlockIdx() const = 0
void SetForwardBlockIdx(int32_t idx) = 0