Class ProgramDescAPI

Inheritance Relationships

Derived Types

Class Documentation

class cinn::frontend::paddle::cpp::ProgramDescAPI

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

Public Functions

~ProgramDescAPI() = default
size_t BlocksSize() const = 0
void ClearBlocks() = 0
template<typename T>
T *GetBlock(int32_t idx)
template<typename T>
T *AddBlock()
bool HasVersion() const = 0
int64_t Version() const = 0
void SetVersion(int64_t version) = 0