Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/training/experimental/
Dloss_scale_optimizer_test.py177 initial_loss_scale=2, increment_period=1, multiplier=2)
181 loss_scale.initial_loss_scale % strategy.num_replicas_in_sync, 0)
209 initial_loss_scale=2, increment_period=1, multiplier=2)
241 initial_loss_scale = 2.
243 initial_loss_scale=initial_loss_scale,
258 self.assertEqual(self.evaluate(opt._loss_scale()), initial_loss_scale * 4)
268 self.evaluate(opt._loss_scale()), initial_loss_scale * 16)
283 initial_loss_scale=1., increment_period=2., multiplier=2.)
Dloss_scale.py353 initial_loss_scale=2 ** 15, # See docstring for why this is big. argument
371 self._initial_loss_scale = float(initial_loss_scale)
385 def initial_loss_scale(self): member in DynamicLossScale
453 self.initial_loss_scale, self.increment_period, self.multiplier))
457 (self.initial_loss_scale, self.increment_period, self.multiplier))
461 'initial_loss_scale': self.initial_loss_scale,
Dloss_scale_test.py127 initial_loss_scale=1., argument
131 initial_loss_scale=initial_loss_scale,
284 initial_loss_scale=1, increment_period=2, multiplier=3)
301 self.assertEqual(scalar.initial_loss_scale, scalar2.initial_loss_scale)
315 initial_loss_scale=1, increment_period=2, multiplier=3)
Dloss_scaling_gradient_tape_test.py385 loss_scale = loss_scale_module.DynamicLossScale(initial_loss_scale=32)
406 loss_scale = loss_scale_module.DynamicLossScale(initial_loss_scale=32)
453 loss_scale = loss_scale_module.DynamicLossScale(initial_loss_scale=32)
473 loss_scale = loss_scale_module.DynamicLossScale(initial_loss_scale=32.0)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.mixed_precision.-dynamic-loss-scale.pbtxt12 name: "initial_loss_scale"
21 …argspec: "args=[\'self\', \'initial_loss_scale\', \'increment_period\', \'multiplier\'], varargs=N…
Dtensorflow.mixed_precision.experimental.-dynamic-loss-scale.pbtxt12 name: "initial_loss_scale"
21 …argspec: "args=[\'self\', \'initial_loss_scale\', \'increment_period\', \'multiplier\'], varargs=N…
Dtensorflow.train.experimental.-dynamic-loss-scale.pbtxt12 name: "initial_loss_scale"
21 …argspec: "args=[\'self\', \'initial_loss_scale\', \'increment_period\', \'multiplier\'], varargs=N…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.mixed_precision.experimental.-dynamic-loss-scale.pbtxt12 name: "initial_loss_scale"
21 …argspec: "args=[\'self\', \'initial_loss_scale\', \'increment_period\', \'multiplier\'], varargs=N…
Dtensorflow.train.experimental.-dynamic-loss-scale.pbtxt12 name: "initial_loss_scale"
21 …argspec: "args=[\'self\', \'initial_loss_scale\', \'increment_period\', \'multiplier\'], varargs=N…
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dloss_scale_optimizer.py219 initial_loss_scale, argument
224 self._initial_loss_scale = float(initial_loss_scale)
303 def initial_loss_scale(self): member in _DynamicLossScaleState
599 return self._loss_scale.initial_loss_scale
780 config['initial_scale'] = loss_scale.initial_loss_scale
1047 if loss_scale.initial_loss_scale != _DEFAULT_INITIAL_SCALE:
1048 kwargs['initial_scale'] = loss_scale.initial_loss_scale
1050 loss_scale.initial_loss_scale)
Dkeras_test.py817 initial_loss_scale = 2.
819 expected_gradient = backend.variable([initial_loss_scale / batch_size],
827 initial_loss_scale=initial_loss_scale, increment_period=2)
831 initial_loss_scale=initial_loss_scale, increment_period=2)
838 opt, initial_scale=initial_loss_scale, dynamic_growth_steps=2)
1180 initial_loss_scale=1., increment_period=2.)
Dloss_scale_benchmark.py80 initial_loss_scale=2., increment_period=increment_period)
Dloss_scale_optimizer_test.py560 initial_loss_scale=4, increment_period=1, multiplier=2)
804 initial_loss_scale=2, increment_period=3)
903 initial_loss_scale=2., increment_period=3.)