|
| DEFINE_IS_SUBCLASS (FloatType) |
|
bool | operator== (const Type &rhs) const override |
|
std::string | str () const override |
|
std::string | python_str () const override |
|
bool | isSubtypeOf (const TypePtr rhs) const override |
|
| DEFINE_IS_SUBCLASS (NumberType) |
|
virtual bool | isSubclass (const TypeKind kind) const =0 |
|
TypeKind | kind () const |
|
virtual bool | requires_grad () const |
|
template<typename T > |
std::shared_ptr< T > | cast () |
|
template<typename T > |
std::shared_ptr< const T > | cast () const |
|
template<typename T > |
std::shared_ptr< T > | expect () |
|
template<typename T > |
std::shared_ptr< const T > | expect () const |
|
virtual bool | hasFreeVariables () const |
|
virtual at::ArrayRef< TypePtr > | containedTypes () const |
|
TypePtr | withContained (std::vector< TypePtr > contained_types) |
|
virtual TypePtr | createWithContained (std::vector< TypePtr > contained_types) const |
|
|
static FloatTypePtr | create () |
|
static FloatTypePtr | get () |
|
static NumberTypePtr | create () |
|
static NumberTypePtr | get () |
|
|
static const TypeKind | Kind = TypeKind::FloatType |
|
static const TypeKind | Kind = TypeKind::NumberType |
|
|
| NumberType (TypeKind kind=TypeKind::NumberType) |
|
| Type (TypeKind kind) |
|
Definition at line 789 of file jit_type.h.
The documentation for this struct was generated from the following files: