Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Types | Public Member Functions | Data Fields
c10::guts::array< _Tp, _Nm > Class Template Referencefinal

Public Types

using value_type = _Tp
 
using pointer = value_type *
 
using const_pointer = const value_type *
 
using reference = value_type &
 
using const_reference = const value_type &
 
using iterator = value_type *
 
using const_iterator = const value_type *
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using reverse_iterator = std::reverse_iterator< iterator >
 
using const_reverse_iterator = std::reverse_iterator< const_iterator >
 

Public Member Functions

AT_CPP14_CONSTEXPR void fill (const value_type &__u)
 
AT_CPP14_CONSTEXPR void swap (array &__other)
 
AT_CPP14_CONSTEXPR iterator begin () noexcept
 
constexpr const_iterator begin () const noexcept
 
AT_CPP14_CONSTEXPR iterator end () noexcept
 
constexpr const_iterator end () const noexcept
 
AT_CPP14_CONSTEXPR reverse_iterator rbegin () noexcept
 
constexpr const_reverse_iterator rbegin () const noexcept
 
AT_CPP14_CONSTEXPR reverse_iterator rend () noexcept
 
constexpr const_reverse_iterator rend () const noexcept
 
constexpr const_iterator cbegin () const noexcept
 
constexpr const_iterator cend () const noexcept
 
constexpr const_reverse_iterator crbegin () const noexcept
 
constexpr const_reverse_iterator crend () const noexcept
 
constexpr size_type size () const noexcept
 
constexpr size_type max_size () const noexcept
 
constexpr bool empty () const noexcept
 
AT_CPP14_CONSTEXPR reference operator[] (size_type __n) noexcept
 
constexpr const_reference operator[] (size_type __n) const noexcept
 
AT_CPP14_CONSTEXPR reference at (size_type __n)
 
constexpr const_reference at (size_type __n) const
 
AT_CPP14_CONSTEXPR reference front () noexcept
 
constexpr const_reference front () const noexcept
 
AT_CPP14_CONSTEXPR reference back () noexcept
 
constexpr const_reference back () const noexcept
 
AT_CPP14_CONSTEXPR pointer data () noexcept
 
constexpr const_pointer data () const noexcept
 

Data Fields

_AT_Type::_Type _M_elems
 

Detailed Description

template<typename _Tp, std::size_t _Nm>
class c10::guts::array< _Tp, _Nm >

Definition at line 81 of file Array.h.


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