24template<
typename AFloat>
 
   28   auto f = [](AFloat 
x) {
return 1.0 / (1.0 + exp(-
x));};
 
   32template<
typename AFloat>
 
   36   const AFloat  *
dataA = A.GetRawDataPointer();
 
   37         AFloat  *
dataB = B.GetRawDataPointer();
 
   38   size_t n = A.GetNcols();
 
   39   size_t m = A.GetNrows();
 
   44      for (
size_t i = 0; i < 
n; i++) {
 
   47      for (
size_t i = 0; i < 
n; i++) {
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
static void Sigmoid(Tensor_t &B)
 
static void Softmax(Matrix_t &YHat, const Matrix_t &)
 
TCpuMatrix< AReal > Matrix_t
 
create variable transformations
 
static uint64_t sum(uint64_t i)