Home
last modified time | relevance | path

Searched refs:generated_data (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/contrib/gan/python/eval/python/
Dsummaries_impl.py63 _assert_is_image(gan_model.generated_data)
67 generated_image_shape = gan_model.generated_data.shape.as_list()[1:3]
69 generated_channels = gan_model.generated_data.shape.as_list()[3]
82 gan_model.generated_data[:num_images],
113 _assert_is_image(cyclegan_model.model_x2y.generated_data)
116 _assert_is_image(cyclegan_model.model_y2x.generated_data)
121 array_ops.unstack(gan_model.generated_data[:1]) +
156 _assert_is_image(gan_model.generated_data)
159 gan_model.generated_data.shape.assert_is_compatible_with(
162 gan_model.generated_data.shape)
[all …]
Dsummaries_test.py51 generated_data=array_ops.zeros([4, 32, 32, 3]),
72 generated_data=stargan_generator_model(
/external/tensorflow/tensorflow/contrib/gan/python/
Dtrain.py112 generated_data = generator_fn(generator_inputs)
114 discriminator_gen_outputs = discriminator_fn(generated_data,
121 if not generated_data.shape.is_compatible_with(real_data.shape):
124 '(%s).' % (generated_data.shape, real_data.shape))
131 generator_inputs, generated_data, generator_variables, gen_scope,
186 generated_data = generator_fn(generator_inputs)
189 generated_data, generator_inputs)
195 if not generated_data.get_shape().is_compatible_with(real_data.get_shape()):
198 '(%s).' % (generated_data.get_shape(), real_data.get_shape()))
206 generated_data,
[all …]
Dtrain_test.py153 generated_data=None,
297 generated_data=array_ops.ones([1, 2, 2, 3]),
450 input_data, generated_data, reconstructed_data = sess.run(
451 [model.input_data, model.generated_data, model.reconstructed_data])
457 generated_data.shape)
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
Dstargan_estimator_impl.py217 mode=mode, predictions=gan_model.generated_data)
275 generated_data = generator_fn(input_data, input_data_domain_label)
281 generated_data=generated_data,
322 predictions=gan_model.generated_data,
Dstargan_estimator_test.py80 self.assertIsNotNone(gan_model.generated_data)
126 generated_data=array_ops.ones([1, 2, 2, 3]),
148 loss += math_ops.reduce_sum(gan_model.input_data - gan_model.generated_data)
156 gan_model.generated_data)
185 self.assertEqual(self._gan_model.generated_data, spec.predictions)
191 self.assertEqual(self._gan_model.generated_data, spec.predictions)
Dtpu_gan_estimator_impl.py280 mode=mode, predictions={'generated_data': gan_model.generated_data})
321 generator_inputs, generated_data, real_data, discriminator_real_outputs, argument
329 generator_inputs, generated_data, real_data,
340 'generated_data': gan_model.generated_data,
359 predictions=gan_model.generated_data,
Dgan_estimator_impl.py225 mode=mode, predictions=gan_model.generated_data)
281 generated_data = generator_fn(generator_inputs)
286 generated_data,
321 predictions=gan_model.generated_data,
Dtpu_gan_estimator_test.py74 generated_data=array_ops.ones([3, 4]),
86 def get_metrics(generator_inputs, generated_data, real_data, argument
91 real_data, generated_data)
129 self.assertEqual({'generated_data': self._gan_model.generated_data},
136 self.assertEqual(self._gan_model.generated_data, spec.predictions)
Dhead_impl.py205 predictions=gan_model.generated_data,
207 'predict': export_output.PredictOutput(gan_model.generated_data)
230 predictions=gan_model.generated_data,
Dgan_estimator_test.py84 self.assertIsNotNone(gan_model.generated_data)
111 generated_data=array_ops.ones([3, 4]),
132 gan_model.real_data, gan_model.generated_data)
163 self.assertEqual(self._gan_model.generated_data, spec.predictions)
169 self.assertEqual(self._gan_model.generated_data, spec.predictions)
Dlatent_gan_estimator_test.py85 gan_model.generated_data)
Dhead_test.py48 generated_data=array_ops.ones([3, 4]),
Dlatent_gan_estimator_impl.py132 predictions=gan_model.generated_data,
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc275 string generated_data; in TEST() local
283 io::StringOutputStream raw_output(&generated_data); in TEST()
300 EXPECT_TRUE(dynamic_data == generated_data); in TEST()
305 string generated_data; in TEST() local
313 io::StringOutputStream raw_output(&generated_data); in TEST()
330 EXPECT_TRUE(dynamic_data == generated_data); in TEST()
335 string generated_data; in TEST() local
343 io::StringOutputStream raw_output(&generated_data); in TEST()
360 EXPECT_TRUE(dynamic_data == generated_data); in TEST()
364 TestUtil::ExpectAllFieldsAndExtensionsInOrder(generated_data); in TEST()
[all …]
Dmap_test.cc2610 string generated_data; in TEST() local
2618 io::StringOutputStream raw_output(&generated_data); in TEST()
2636 EXPECT_TRUE(dynamic_data == generated_data); in TEST()
/external/tensorflow/tensorflow/contrib/gan/python/losses/python/
Dtuple_losses_test.py194 self.generated_data = array_ops.ones([1, 2, 2, 3])
216 generated_data=self.generated_data,
279 generated_data=self.generated_data,
Dlosses_impl_test.py466 generated_data = array_ops.placeholder(dtypes.float32, shape=(None, None))
470 generated_data,
475 self.assertEqual(generated_data.dtype, loss.dtype)
481 generated_data: self._generated_data_np,
487 generated_data = array_ops.placeholder(dtypes.float32, shape=(None, None))
491 generated_data,
497 self.assertEqual(generated_data.dtype, loss.dtype)
503 generated_data: self._generated_data_np,
510 generated_data = array_ops.placeholder(dtypes.float32, shape=(None, None))
514 generated_data,
[all …]
Dlosses_impl.py306 generated_data, argument
352 (real_data, generated_data)) as scope:
354 generated_data = ops.convert_to_tensor(generated_data)
357 if generated_data.shape.ndims is None:
360 differences = generated_data - real_data
Dtuple_losses_impl.py355 generated_data=stargan_model.generated_data,