Class BlockDesc

Inheritance Relationships

Base Type

Class Documentation

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

Public Functions

BlockDesc() = delete
BlockDesc(framework_proto::BlockDesc *desc)
framework_proto::BlockDesc *Proto()
const framework_proto::BlockDesc &ReadonlyProto() const
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>
T *AddVar()
size_t OpsSize() const override
void ClearOps() override
template<typename T>
T *GetOp(int32_t idx)
template<typename T>
T *AddOp()
int32_t ForwardBlockIdx() const override
void SetForwardBlockIdx(int32_t idx) override