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

Classes

struct  DISABLE
 

Functions

template<class Arg , class... Args>
__host__ __device__ auto get_impl (Integer< 0 >, Arg &&arg, Args &&... args) -> decltype(std::forward< Arg >(arg))
 
template<int Index, class Arg , class... Args>
__host__ __device__ auto get_impl (Integer< Index >, Arg &&, Args &&... args) -> decltype(get_impl(Integer< Index-1 >(), std::forward< Args >(args)...))
 

Function Documentation

◆ get_impl() [1/2]

template<class Arg , class... Args>
__host__ __device__ auto bc::traits::detail::get_impl ( Integer< 0 >  ,
Arg &&  arg,
Args &&...  args 
) -> decltype(std::forward<Arg>(arg))
inline

◆ get_impl() [2/2]

template<int Index, class Arg , class... Args>
__host__ __device__ auto bc::traits::detail::get_impl ( Integer< Index >  ,
Arg &&  ,
Args &&...  args 
) -> decltype(get_impl(Integer<Index-1>(), std::forward<Args>(args)...))
inline