BlackCat_Tensors
A GPU-supported autograd and linear algebra library, designed for neural network construction
Classes | Enumerations | Functions
bc::tensors::iterators Namespace Reference

Classes

struct  Coefficientwise_Iterator
 
struct  iterator_traits
 
struct  Multidimensional_Iterator
 

Enumerations

enum  direction { forward = 1, reverse = -1 }
 
enum  initpos { start =0, end =1 }
 

Functions

template<class Tensor >
auto iter_cw_begin (Tensor &tensor)
 
template<class Tensor >
auto iter_cw_end (Tensor &tensor)
 
template<class Tensor >
auto iter_cw_rbegin (Tensor &tensor)
 
template<class Tensor >
auto iter_cw_rend (Tensor &tensor)
 
template<class Tensor >
auto iter_begin (Tensor &derived)
 
template<class Tensor >
auto iter_end (Tensor &derived)
 
template<class Tensor >
auto iter_rbegin (Tensor &derived)
 
template<class Tensor >
auto iter_rend (Tensor &derived)
 

Enumeration Type Documentation

◆ direction

Enumerator
forward 
reverse 

◆ initpos

Enumerator
start 
end 

Function Documentation

◆ iter_begin()

template<class Tensor >
auto bc::tensors::iterators::iter_begin ( Tensor derived)

◆ iter_cw_begin()

template<class Tensor >
auto bc::tensors::iterators::iter_cw_begin ( Tensor tensor)

◆ iter_cw_end()

template<class Tensor >
auto bc::tensors::iterators::iter_cw_end ( Tensor tensor)

◆ iter_cw_rbegin()

template<class Tensor >
auto bc::tensors::iterators::iter_cw_rbegin ( Tensor tensor)

◆ iter_cw_rend()

template<class Tensor >
auto bc::tensors::iterators::iter_cw_rend ( Tensor tensor)

◆ iter_end()

template<class Tensor >
auto bc::tensors::iterators::iter_end ( Tensor derived)

◆ iter_rbegin()

template<class Tensor >
auto bc::tensors::iterators::iter_rbegin ( Tensor derived)

◆ iter_rend()

template<class Tensor >
auto bc::tensors::iterators::iter_rend ( Tensor derived)