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

Method test_Orthogonal

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

Source from the content-addressed store, hash-verified

170 target_std=std)
171
172 def test_Orthogonal(self):
173 shape = (20, 20)
174 with self.cached_session():
175 for tensor_shape in [shape, tensor_shape_lib.TensorShape(shape)]:
176 self._runner(
177 init_ops.Orthogonal(seed=123), tensor_shape, target_mean=0.)
178
179 @test_util.run_gpu_only
180 def testVariablePlacementWithOrthogonalInitializer(self):

Callers

nothing calls this directly

Calls 2

_runnerMethod · 0.95
cached_sessionMethod · 0.45

Tested by

no test coverage detected