|
| DEFINE_IS_SUBCLASS (TupleType) |
|
at::ArrayRef< TypePtr > | elements () const |
|
bool | operator== (const Type &rhs) const override |
|
bool | isSubtypeOf (const TypePtr rhs_) const override |
|
bool | requires_grad () const override |
|
std::string | str () const override |
|
std::string | python_str () const override |
|
bool | hasFreeVariables () const override |
|
bool | hasNames () const |
|
const std::vector< std::string > & | names () const |
|
at::ArrayRef< TypePtr > | containedTypes () const override |
|
TypePtr | createWithContained (std::vector< TypePtr > contained_types) const override |
|
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) |
|
|
static TupleTypePtr | create (std::vector< TypePtr > types, OptNameList names=c10::nullopt) |
|
|
static const TypeKind | Kind = TypeKind::TupleType |
|
Definition at line 651 of file jit_type.h.
The documentation for this struct was generated from the following file: