BlackCat_Tensors
A GPU-supported autograd and linear algebra library, designed for neural network construction
Macros
tensor_iterator_defs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BC_FORWARD_ITER(suffix, iter, access)
 
#define BC_ITERATOR_DEF(suffix, iterator_name, begin_func, end_func)
 

Macro Definition Documentation

◆ BC_FORWARD_ITER

#define BC_FORWARD_ITER (   suffix,
  iter,
  access 
)
Value:
auto suffix##iter() const { \
return iterators::iter_##suffix##iter(access); \
} \
auto suffix##iter() { \
return iterators::iter_##suffix##iter(access); \
} \
auto suffix##c##iter() const { \
return iterators::iter_##suffix##iter(access); \
} \
auto suffix##r##iter() const { \
return iterators::iter_##suffix##r##iter(access); \
} \
auto suffix##r##iter() { \
return iterators::iter_##suffix##r##iter(access); \
} \
auto suffix##cr##iter() const { \
return iterators::iter_##suffix##r##iter(access); \
}

◆ BC_ITERATOR_DEF

#define BC_ITERATOR_DEF (   suffix,
  iterator_name,
  begin_func,
  end_func 
)