Skip to content

Commit f13c253

Browse files
abatterytensorflower-gardener
authored andcommitted
Cosmetic change for TODO comments in sparsity API
PiperOrigin-RevId: 409353096
1 parent 6e7e42d commit f13c253

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tensorflow_model_optimization/python/core/sparsity/keras/pruning_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def update_distributed():
297297

298298
def add_pruning_summaries(self):
299299
"""Adds summaries of weight sparsities and thresholds."""
300-
# b/(139939526): update to use public API.
300+
# TODO(b/139939526): update to use public API.
301301
summary = tf.summary
302302
if not tf.executing_eagerly():
303303
summary = tf.compat.v1.summary

tensorflow_model_optimization/python/core/sparsity/keras/pruning_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import numpy as np
2525
import tensorflow as tf
2626

27-
# b/(139939526): update to use public API.
27+
# TODO(b/139939526): update to use public API.
2828
from tensorflow.python.keras.utils import generic_utils
2929
from tensorflow_model_optimization.python.core.keras import compat as tf_compat
3030
from tensorflow_model_optimization.python.core.keras import metrics

0 commit comments

Comments
 (0)