Esempio n. 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)
Esempio n. 2
0
 def test_constant(self):
     tensor_shape = (5, 6, 4)
     with self.cached_session():
         self._runner(initializers.ConstantV2(2.0), tensor_shape)