Fix TRANING -> TRAINING typo in v2.0 API.

PiperOrigin-RevId: 231310166
This commit is contained in:
A. Unique TensorFlower 2019-01-28 16:27:48 -08:00 committed by TensorFlower Gardener
parent 3071702b15
commit c8128f9dbe
3 changed files with 2 additions and 3 deletions

View File

@ -33,7 +33,7 @@ tf_export(
# Tag for the `training` graph. # Tag for the `training` graph.
TRAINING = "train" TRAINING = "train"
tf_export( tf_export(
"saved_model.TRANING", "saved_model.TRAINING",
v1=["saved_model.TRAINING", v1=["saved_model.TRAINING",
"saved_model.tag_constants.TRAINING"]).export_constant( "saved_model.tag_constants.TRAINING"]).export_constant(
__name__, "TRAINING") __name__, "TRAINING")

View File

@ -77,7 +77,7 @@ tf_module {
mtype: "<type \'str\'>" mtype: "<type \'str\'>"
} }
member { member {
name: "TRANING" name: "TRAINING"
mtype: "<type \'str\'>" mtype: "<type \'str\'>"
} }
member { member {

View File

@ -497,7 +497,6 @@ renames = {
'tf.saved_model.Builder': 'tf.compat.v1.saved_model.Builder', 'tf.saved_model.Builder': 'tf.compat.v1.saved_model.Builder',
'tf.saved_model.LEGACY_INIT_OP_KEY': 'tf.compat.v1.saved_model.LEGACY_INIT_OP_KEY', 'tf.saved_model.LEGACY_INIT_OP_KEY': 'tf.compat.v1.saved_model.LEGACY_INIT_OP_KEY',
'tf.saved_model.MAIN_OP_KEY': 'tf.compat.v1.saved_model.MAIN_OP_KEY', 'tf.saved_model.MAIN_OP_KEY': 'tf.compat.v1.saved_model.MAIN_OP_KEY',
'tf.saved_model.TRAINING': 'tf.saved_model.TRAINING',
'tf.saved_model.build_tensor_info': 'tf.compat.v1.saved_model.build_tensor_info', 'tf.saved_model.build_tensor_info': 'tf.compat.v1.saved_model.build_tensor_info',
'tf.saved_model.builder.SavedModelBuilder': 'tf.compat.v1.saved_model.builder.SavedModelBuilder', 'tf.saved_model.builder.SavedModelBuilder': 'tf.compat.v1.saved_model.builder.SavedModelBuilder',
'tf.saved_model.constants.ASSETS_DIRECTORY': 'tf.saved_model.ASSETS_DIRECTORY', 'tf.saved_model.constants.ASSETS_DIRECTORY': 'tf.saved_model.ASSETS_DIRECTORY',