Пример #1
0
 def test_Orthogonal(self):
     shape = (20, 20)
     with self.cached_session():
         for tensor_shape in [shape, tensor_shape_lib.TensorShape(shape)]:
             self._runner(init_ops.Orthogonal(seed=123),
                          tensor_shape,
                          target_mean=0.)
Пример #2
0
 def test_Orthogonal(self):
     tensor_shape = (20, 20)
     with self.cached_session():
         self._runner(init_ops.Orthogonal(seed=123),
                      tensor_shape,
                      target_mean=0.)