Skip to content

Commit bff3f12

Browse files
authored
Fix API demo of debugger V2 (#4843)
`logdir` is no longer a keyword argument for enable_dump_debug_info(). Remove it from the debugger V2 example docs. Otherwise the caller will get a "TypeError: enable_dump_debug_info() got an unexpected keyword argument 'logdir'" error.
1 parent 586b048 commit bff3f12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/debugger_v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ richness of the debug information enables users to narrow in on obscure bugs.
7272

7373
```py
7474
tf.debugging.experimental.enable_dump_debug_info(
75-
logdir="/tmp/tfdbg2_logdir",
75+
"/tmp/tfdbg2_logdir",
7676
tensor_debug_mode="FULL_HEALTH",
7777
circular_buffer_size=-1)
7878
```

0 commit comments

Comments
 (0)