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

Method test_Zeros

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

Source from the content-addressed store, hash-verified

232 target_max=1.)
233
234 def test_Zeros(self):
235 shape = (4, 5)
236 with self.cached_session():
237 for tensor_shape in [shape, tensor_shape_lib.TensorShape(shape)]:
238 self._runner(
239 init_ops.Zeros(), tensor_shape, target_mean=0., target_max=0.)
240
241 def test_Ones(self):
242 shape = (4, 5)

Callers

nothing calls this directly

Calls 3

_runnerMethod · 0.95
cached_sessionMethod · 0.45
ZerosMethod · 0.45

Tested by

no test coverage detected