Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Static Public Member Functions | Static Public Attributes
c10::FloatType Struct Reference
Inheritance diagram for c10::FloatType:
c10::NumberType c10::Type

Public Member Functions

 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
 
- Public Member Functions inherited from c10::NumberType
 DEFINE_IS_SUBCLASS (NumberType)
 
- Public Member Functions inherited from c10::Type
virtual bool isSubclass (const TypeKind kind) const =0
 
TypeKind kind () const
 
virtual bool requires_grad () const
 
template<typename T >
std::shared_ptr< Tcast ()
 
template<typename T >
std::shared_ptr< const Tcast () const
 
template<typename T >
std::shared_ptr< Texpect ()
 
template<typename T >
std::shared_ptr< const Texpect () 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 Public Member Functions

static FloatTypePtr create ()
 
static FloatTypePtr get ()
 
- Static Public Member Functions inherited from c10::NumberType
static NumberTypePtr create ()
 
static NumberTypePtr get ()
 

Static Public Attributes

static const TypeKind Kind = TypeKind::FloatType
 
- Static Public Attributes inherited from c10::NumberType
static const TypeKind Kind = TypeKind::NumberType
 

Additional Inherited Members

- Protected Member Functions inherited from c10::NumberType
 NumberType (TypeKind kind=TypeKind::NumberType)
 
- Protected Member Functions inherited from c10::Type
 Type (TypeKind kind)
 

Detailed Description

Definition at line 789 of file jit_type.h.


The documentation for this struct was generated from the following files: