Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Static Public Attributes | Protected Member Functions
c10::SingleElementType< K, T > Struct Template Reference
Inheritance diagram for c10::SingleElementType< K, T >:

Public Member Functions

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
- Public Member Functions inherited from c10::Type
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< 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
TypePtr withContained (std::vector< TypePtr > contained_types)
virtual TypePtr createWithContained (std::vector< TypePtr > contained_types) const

Static Public Attributes

static const TypeKind Kind = K

Protected Member Functions

 SingleElementType (TypePtr elem)
- Protected Member Functions inherited from c10::Type
 Type (TypeKind kind)

Detailed Description

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: