Class ProgramDesc

Inheritance Relationships

Base Type

Class Documentation

class cinn::frontend::paddle::pb::ProgramDesc : public cinn::frontend::paddle::cpp::ProgramDescAPI

Public Functions

ProgramDesc() = delete
ProgramDesc(framework_proto::ProgramDesc *desc)
framework_proto::ProgramDesc *Proto()
const framework_proto::ProgramDesc &ReadonlyProto() const
size_t BlocksSize() const override
void ClearBlocks() override
template<typename T>
T *GetBlock(int32_t idx)
template<typename T>
T *AddBlock()
bool HasVersion() const override
int64_t Version() const override
void SetVersion(int64_t version) override