Class VarDesc

Inheritance Relationships

Base Type

Class Documentation

class cinn::frontend::paddle::cpp::VarDesc : public cinn::frontend::paddle::cpp::VarDescAPI

Public Functions

VarDesc() = default
VarDesc(std::string name)
std::string Name() const override
void SetName(std::string name) override
Type GetType() const override
void SetType(Type type) override
bool Persistable() const override
void SetPersistable(bool persistable) override
Type GetDataType() const
void SetDataType(Type data_type)
void SetShape(const std::vector<int64_t> &dims)
std::vector<int64_t> GetShape() const