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:
parent
67a9764695
commit
894d16da31
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user