Fix wrong TF documentation which cites "tf.profiler.ProfilerOptions", which should be "tf.profiler.experimental.ProfilerOptions".

PiperOrigin-RevId: 347225204
Change-Id: Ibcc40225f3dcb23c6fbf60d4dd55929f1dc96bfb
This commit is contained in:
A. Unique TensorFlower 2020-12-12 22:49:36 -08:00 committed by TensorFlower Gardener
parent 67a9764695
commit 894d16da31

View File

@ -54,7 +54,7 @@ class ProfilerOptions(
])):
"""Options for finer control over the profiler.
Use `tf.profiler.ProfilerOptions` to control `tf.profiler`
Use `tf.profiler.experimental.ProfilerOptions` to control `tf.profiler`
behavior.
Fields:
@ -204,8 +204,8 @@ class Profile(object):
Args:
logdir: profile data will save to this directory.
options: An optional tf.profiler.ProfilerOptions can be provided to fine
tune the profiler's behavior.
options: An optional `tf.profiler.experimental.ProfilerOptions` can be
provided to fine tune the profiler's behavior.
"""
self._logdir = logdir
self._options = options