Home
last modified time | relevance | path

Searched refs:num_periods (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/contrib/opt/python/training/
Dsign_decay_test.py36 def py_cosine_decay_fn(decay_steps, num_periods=0.5, zero_after=None): argument
40 fraction = 2.0 * num_periods * step / float(decay_steps)
48 def py_restart_decay_fn(decay_steps, num_periods=1, zero_after=None): argument
52 tmp = num_periods * step / float(decay_steps)
54 num_periods * step % decay_steps) / float(decay_steps)
78 num_training_steps, num_periods=5, zero_after=2)
88 num_training_steps, num_periods=5, zero_after=2)(step)
95 num_training_steps, num_periods=5, zero_after=2)
105 num_training_steps, num_periods=5, zero_after=2)(step)
Dsign_decay.py65 def get_cosine_decay_fn(decay_steps, num_periods=0.5, zero_after=None): argument
99 fraction = 2.0 * num_periods * completed_fraction
110 def get_restart_decay_fn(decay_steps, num_periods=1, zero_after=None): argument
148 num = math_ops.mod(num_periods * math_ops.cast(global_step, dtypes.float32),
154 tmp = (math_ops.cast(num_periods * global_step, dtypes.float32) /
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dlearning_rate_schedule.py771 num_periods=0.5, argument
841 self.num_periods = num_periods
853 num_periods = math_ops.cast(self.num_periods, dtype)
861 fraction = 2.0 * num_periods * completed_fraction
873 "num_periods": self.num_periods,
890 num_periods=0.5, argument
966 self.num_periods = num_periods
980 num_periods = math_ops.cast(self.num_periods, dtype)
995 fraction = 2.0 * num_periods * completed_fraction
1010 "num_periods": self.num_periods,
Dlearning_rate_schedule_test.py455 num_periods=0.5): argument
458 fraction = 2.0 * num_periods * step / float(decay_steps)
483 num_periods=5)
486 step, num_training_steps, alpha=0.1, beta=1e-4, num_periods=5)
521 num_periods=5)
/external/tensorflow/tensorflow/python/training/
Dlearning_rate_decay.py564 num_periods=0.5, argument
630 num_periods=num_periods,
648 num_periods=0.5, argument
722 num_periods=num_periods,
Dlearning_rate_decay_test.py433 num_periods=0.5): argument
436 fraction = 2.0 * num_periods * step / float(decay_steps)
461 num_periods=5)
463 step, num_training_steps, alpha=0.1, beta=1e-4, num_periods=5)
494 num_periods=5)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.experimental.-linear-cosine-decay.pbtxt8 …argspec: "args=[\'self\', \'initial_learning_rate\', \'decay_steps\', \'num_periods\', \'alpha\', …
Dtensorflow.keras.experimental.-noisy-linear-cosine-decay.pbtxt8 …g_rate\', \'decay_steps\', \'initial_variance\', \'variance_decay\', \'num_periods\', \'alpha\', \…
Dtensorflow.train.pbtxt357 …argspec: "args=[\'learning_rate\', \'global_step\', \'decay_steps\', \'num_periods\', \'alpha\', \…
397 …l_step\', \'decay_steps\', \'initial_variance\', \'variance_decay\', \'num_periods\', \'alpha\', \…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.experimental.-linear-cosine-decay.pbtxt8 …argspec: "args=[\'self\', \'initial_learning_rate\', \'decay_steps\', \'num_periods\', \'alpha\', …
Dtensorflow.keras.experimental.-noisy-linear-cosine-decay.pbtxt8 …g_rate\', \'decay_steps\', \'initial_variance\', \'variance_decay\', \'num_periods\', \'alpha\', \…
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
Dar_model.py887 num_periods = len(self._periodicities)
890 self._periodicities, shape=[1, 1, num_periods, 1], dtype=time.dtype)