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

Method test_normal

tensorflow/python/ops/init_ops_test.py:68–76  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 target_min=-1)
67
68 def test_normal(self):
69 shape = (8, 12, 99)
70 with self.cached_session():
71 for tensor_shape in [shape, tensor_shape_lib.TensorShape(shape)]:
72 self._runner(
73 init_ops.RandomNormal(mean=0, stddev=1, seed=153),
74 tensor_shape,
75 target_mean=0.,
76 target_std=1)
77
78 def test_truncated_normal(self):
79 shape = (12, 99, 7)

Callers

nothing calls this directly

Calls 2

_runnerMethod · 0.95
cached_sessionMethod · 0.45

Tested by

no test coverage detected