Home
last modified time | relevance | path

Searched refs:generator_optimizer (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
Dtpu_gan_estimator_impl.py90 generator_optimizer=None, argument
218 generator_optimizer = _maybe_make_cross_shard_optimizer(
219 generator_optimizer)
244 get_eval_metric_ops_fn, generator_optimizer, discriminator_optimizer,
275 get_eval_metric_ops_fn, generator_optimizer, discriminator_optimizer, argument
304 g_callable = callable(generator_optimizer)
305 gopt = generator_optimizer() if g_callable else generator_optimizer
365 gan_model, gan_loss, generator_optimizer, discriminator_optimizer, argument
381 optimizer=generator_optimizer,
Dgan_estimator_impl.py109 generator_optimizer=None, argument
192 get_eval_metric_ops_fn, generator_optimizer, discriminator_optimizer,
220 get_eval_metric_ops_fn, generator_optimizer, discriminator_optimizer, argument
236 if callable(generator_optimizer):
237 generator_optimizer = generator_optimizer()
242 gan_model, gan_loss, generator_optimizer, discriminator_optimizer,
327 gan_model, gan_loss, generator_optimizer, discriminator_optimizer, argument
331 train_ops = train_op_fn(gan_model, gan_loss, generator_optimizer,
Dstargan_estimator_impl.py102 generator_optimizer=None, argument
181 get_eval_metric_ops_fn, generator_optimizer,
211 generator_optimizer, argument
225 generator_optimizer()
226 if callable(generator_optimizer) else generator_optimizer)
329 generator_optimizer, argument
335 train_ops = train_op_fn(gan_model, gan_loss, generator_optimizer,
Dhead_impl.py45 def gan_head(generator_loss_fn, discriminator_loss_fn, generator_optimizer, argument
74 generator_optimizer=generator_optimizer,
89 generator_optimizer, discriminator_optimizer, argument
136 self._generator_optimizer = generator_optimizer
Dgan_estimator_test.py158 generator_optimizer=self._generator_optimizer,
192 generator_optimizer=g_opt,
228 generator_optimizer=gopt,
381 generator_optimizer=training.GradientDescentOptimizer(1.0),
392 generator_optimizer=training.GradientDescentOptimizer(1.0),
Dtpu_gan_estimator_test.py120 generator_optimizer=self._generator_optimizer,
169 generator_optimizer=gopt,
270 generator_optimizer=training.GradientDescentOptimizer(1.0),
287 generator_optimizer=training.GradientDescentOptimizer(1.0),
Dstargan_estimator_test.py180 generator_optimizer=self._generator_optimizer,
225 generator_optimizer=gopt,
Dhead_test.py67 generator_optimizer=training.GradientDescentOptimizer(1.0),
/external/tensorflow/tensorflow/contrib/eager/python/examples/gan/
Dmnist_test.py71 generator_optimizer = tf.train.AdamOptimizer(0.001)
79 mnist.train_one_epoch(generator, discriminator, generator_optimizer,
86 mnist.train_one_epoch(generator, discriminator, generator_optimizer,
Dmnist_graph_test.py52 generator_optimizer = tf.train.AdamOptimizer(0.001)
70 generator_train = generator_optimizer.minimize(
Dmnist.py197 def train_one_epoch(generator, discriminator, generator_optimizer, argument
253 generator_optimizer.apply_gradients(
/external/tensorflow/tensorflow/contrib/gan/python/
Dtrain.py926 generator_optimizer, argument
992 if isinstance(generator_optimizer,
1006 sync_hooks.append(generator_optimizer.make_session_run_hook(is_chief))
1010 optimizer=generator_optimizer,
Dtrain_test.py926 model, loss, generator_optimizer=g_opt, discriminator_optimizer=d_opt)