Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Types | Public Member Functions | Static Public Member Functions
c10::ivalue::List< Elem > Struct Template Reference
Inheritance diagram for c10::ivalue::List< Elem >:
c10::intrusive_ptr_target c10::ivalue::Tuple

Public Types

typedef Elem ElemType
 

Public Member Functions

 List (std::vector< Elem > elements_)
 
const std::vector< Elem > & elements () const &
 
 operator const std::vector< Elem > & () const
 
std::vector< Elem > & elements ()&
 
 operator std::vector< Elem > & ()
 
std::vector< Elem > && elements ()&&
 

Static Public Member Functions

static c10::intrusive_ptr< List< Elem > > create (std::vector< Elem > elements_)
 

Additional Inherited Members

- Protected Member Functions inherited from c10::intrusive_ptr_target
 intrusive_ptr_target (intrusive_ptr_target &&other) noexcept
 
intrusive_ptr_targetoperator= (intrusive_ptr_target &&other) noexcept
 
 intrusive_ptr_target (const intrusive_ptr_target &other) noexcept
 
intrusive_ptr_targetoperator= (const intrusive_ptr_target &other) noexcept
 

Detailed Description

template<typename Elem>
struct c10::ivalue::List< Elem >

Definition at line 43 of file ivalue.h.


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