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

Function RandomNormal

tensorflow/core/kernels/random_op_test.cc:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47Graph* RandomNormal(int64 n) {
48 Graph* g = new Graph(OpRegistry::Global());
49 test::graph::RandomGaussian(g, test::graph::Constant(g, VecShape(n)),
50 DT_FLOAT);
51 return g;
52}
53
54Graph* TruncatedNormal(int64 n) {
55 Graph* g = new Graph(OpRegistry::Global());

Callers 7

TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
CreateGraphDefFunction · 0.50
TESTFunction · 0.50

Calls 3

RandomGaussianFunction · 0.85
ConstantFunction · 0.70
VecShapeFunction · 0.70

Tested by

no test coverage detected