|  | 
|  | DEFINE_IS_SUBCLASS (OptionalType) | 
|  | 
| bool | isSubtypeOf (const TypePtr rhs) const override | 
|  | 
| 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 | 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 OptionalTypePtr | create (TypePtr element) | 
|  | 
| static OptionalTypePtr | ofTensor () | 
|  | 
|  | 
| static const TypeKind | Kind | 
|  | 
|  | SingleElementType (TypePtr elem) | 
|  | 
|  | Type (TypeKind kind) | 
|  | 
Definition at line 226 of file jit_type.h.
 
The documentation for this struct was generated from the following files: