Class BlockDesc

Inheritance Relationships

Base Type

Class Documentation

class cinn::frontend::paddle::cpp::BlockDesc : public cinn::frontend::paddle::cpp::BlockDescAPI

Public Functions

BlockDesc() = default
int32_t Idx() const override
void SetIdx(int32_t idx) override
int32_t ParentIdx() const override
void SetParentIdx(int32_t idx) override
size_t VarsSize() const override
void ClearVars() override
template<typename T>
T *GetVar(int32_t idx)
template<typename T>
const T &GetConstVar(int32_t idx) const
template<typename T>
T *AddVar()
size_t OpsSize() const override
void ClearOps() override
template<typename T>
T *GetOp(int32_t idx)
template<typename T>
const T &GetConstOp(int32_t idx) const
template<typename T>
T *AddOp()
int32_t ForwardBlockIdx() const override
void SetForwardBlockIdx(int32_t idx) override
template<>
VarDesc *GetVar(int32_t idx)
template<>
const VarDesc &GetConstVar(int32_t idx) const
template<>
VarDesc *AddVar()
template<>
OpDesc *GetOp(int32_t idx)
template<>
const OpDesc &GetConstOp(int32_t idx) const
template<>
OpDesc *AddOp()