Class ProgramDesc

Inheritance Relationships

Base Type

Class Documentation

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

Public Functions

ProgramDesc() = default
size_t BlocksSize() const override
void ClearBlocks() override
template<typename T>
T *GetBlock(int32_t idx)
template<typename T>
const T &GetConstBlock(int32_t idx) const
template<typename T>
T *AddBlock()
bool HasVersion() const override
int64_t Version() const override
void SetVersion(int64_t version) override
template<>
BlockDesc *GetBlock(int32_t idx)
template<>
const BlockDesc &GetConstBlock(int32_t idx) const
template<>
BlockDesc *AddBlock()