Skip to content

Commit 46648c9

Browse files
SamuelMarkstensorflower-gardener
authored andcommitted
PR #17958: [keras/feature_column] Standardise docstring usage of "Default to"
Imported from GitHub PR #17958 This is one of many PRs. Discussion + request to split into multiple PRs @ #17748 Copybara import of the project: -- c7157c0 by Samuel Marks <[email protected]>: [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=#17958 from SamuelMarks:keras.feature_column-defaults-to c7157c0 PiperOrigin-RevId: 535275621
1 parent 2722812 commit 46648c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

keras/feature_column/sequence_feature_column.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ def call(self, features, training=None):
122122
method of any `FeatureColumn` that takes a `training` argument. For
123123
example, if a `FeatureColumn` performed dropout, the column could
124124
expose a `training` argument to control whether the dropout should
125-
be applied. If `None`, defaults to
126-
`tf.keras.backend.learning_phase()`.
125+
be applied. If `None`, becomes `tf.keras.backend.learning_phase()`.
126+
Defaults to `None`.
127127
128128
129129
Returns:

0 commit comments

Comments
 (0)