Пример #1
0
 def test_constant(self):
     tensor_shape = (5, 6, 4)
     with self.cached_session():
         self._runner(initializers.ConstantV2(2.),
                      tensor_shape,
                      target_mean=2,
                      target_max=2,
                      target_min=2)
Пример #2
0
 def test_constant(self):
     tensor_shape = (5, 6, 4)
     with self.cached_session():
         self._runner(initializers.ConstantV2(2.0), tensor_shape)