From b0db4e6afe3e31c3e45d9d43cddb12bf8cf83e42 Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Mon, 8 May 2023 23:21:05 -0700 Subject: [PATCH] PR #17958: [keras/feature_column] Standardise docstring usage of "Default to" Imported from GitHub PR https://github.com/keras-team/keras/pull/17958 This is one of many PRs. Discussion + request to split into multiple PRs @ #17748 Copybara import of the project: -- c7157c028d258751a195e6f7ffc6e0360509b4de by Samuel Marks <807580+SamuelMarks@users.noreply.github.com>: [keras/feature_column/dense_features.py,keras/feature_column/sequence_feature_column.py] Standardise docstring usage of "Default to" Merging this change closes #17958 FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/keras-team/keras/pull/17958 from SamuelMarks:keras.feature_column-defaults-to c7157c028d258751a195e6f7ffc6e0360509b4de PiperOrigin-RevId: 530510337 --- keras/feature_column/sequence_feature_column.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keras/feature_column/sequence_feature_column.py b/keras/feature_column/sequence_feature_column.py index 5fd05fdd665..89e4f5cfdb7 100644 --- a/keras/feature_column/sequence_feature_column.py +++ b/keras/feature_column/sequence_feature_column.py @@ -122,8 +122,8 @@ def call(self, features, training=None): method of any `FeatureColumn` that takes a `training` argument. For example, if a `FeatureColumn` performed dropout, the column could expose a `training` argument to control whether the dropout should - be applied. If `None`, defaults to - `tf.keras.backend.learning_phase()`. + be applied. If `None`, becomes `tf.keras.backend.learning_phase()`. + Defaults to `None`. Returns: