Skip to content

Commit d039924

Browse files
authored
Update Model.compile method name in Optimize TensorFlow GPU performance with the TensorFlow Profiler guide
1 parent 17d1571 commit d039924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/guide/gpu_performance_analysis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ the trace viewer, you should look at the model code between steps and check if
169169
disabling callbacks/metrics improves performance. Some details of these ops are
170170
also on the trace viewer (both device and host side).The recommendation in this
171171
scenario is to amortize the overhead of these ops by executing them after a
172-
fixed number of steps instead of every step. When using the `compile` method in
172+
fixed number of steps instead of every step. When using the `Model.compile` method in
173173
the `tf.keras` API, setting the `steps_per_execution` flag does
174174
this automatically. For custom training loops, use `tf.while_loop`.
175175

0 commit comments

Comments
 (0)