MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / MakeRandomScalar

Function MakeRandomScalar

tensorflow/lite/experimental/ruy/test.h:307–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305
306template <typename Scalar>
307void MakeRandomScalar(UniformRandomDistribution<Scalar>* uniform_dist,
308 Scalar* dst) {
309 *dst = uniform_dist->Get();
310}
311
312template <typename Scalar>
313void MakeRandomVector(UniformRandomDistribution<Scalar>* uniform_dist, int size,

Callers 2

MakeRandomVectorFunction · 0.85
MakeZeroPointsMethod · 0.85

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected