|
| DEFINE_IS_SUBCLASS (ListType) |
|
std::string | str () const override |
|
std::string | python_str () const override |
|
TypePtr | createWithContained (std::vector< TypePtr > contained_types) const override |
|
TypePtr | getElementType () const |
|
bool | hasFreeVariables () const override |
|
at::ArrayRef< TypePtr > | containedTypes () const override |
|
bool | requires_grad () const override |
|
bool | operator== (const Type &rhs) const override |
|
virtual bool | isSubtypeOf (const TypePtr rhs) const |
|
virtual bool | isSubclass (const TypeKind kind) const =0 |
|
TypeKind | kind () 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 |
|
TypePtr | withContained (std::vector< TypePtr > contained_types) |
|
|
template<typename... T> |
static ListTypePtr | create (T &&...all) |
|
static ListTypePtr | ofTensors () |
|
static ListTypePtr | ofInts () |
|
static ListTypePtr | ofFloats () |
|
static ListTypePtr | ofBools () |
|
|
static const TypeKind | Kind |
|
| SingleElementType (TypePtr elem) |
|
| Type (TypeKind kind) |
|
Definition at line 501 of file jit_type.h.
The documentation for this struct was generated from the following files: