|
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 |
|
virtual std::string | str () const =0 |
|
virtual std::string | python_str () const |
|
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) |
|
virtual TypePtr | createWithContained (std::vector< TypePtr > contained_types) const |
|
|
static const TypeKind | Kind = K |
|
|
| SingleElementType (TypePtr elem) |
|
| Type (TypeKind kind) |
|
template<TypeKind K, typename T>
struct c10::SingleElementType< K, T >
Definition at line 183 of file jit_type.h.
The documentation for this struct was generated from the following file: