23template<
typename AFloat>
29 AFloat *
data = A.GetData();
32 size_t seed =
dlRand.Integer(4294967295);
44 AFloat
r =
rand.Uniform();
60template<
typename AFloat>
64 AFloat *
data = A.GetRawDataPointer();
69 AFloat
r =
rand.Uniform();
74 A.GetThreadExecutor().Map(
f,
ROOT::TSeqI(A.GetNoElements()));
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
static size_t GetNWorkItems(size_t nelements)
static Executor & GetThreadExecutor()
static TRandom & GetRandomGenerator()
static void DropoutForward(Tensor_t &A, TDescriptors *descriptors, TWorkspace *workspace, Scalar_t p)
Apply dropout with activation probability p to the given tensor A and scale the result by reciprocal ...
This is the base class for the ROOT Random number generators.
create variable transformations