Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit 6803fc3

Browse files
committed
Add details on TapeContext
1 parent 72cd8f5 commit 6803fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rfcs/20201201-cpp-gradients.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ Status TapeOperation::Execute(absl::Span<AbstractTensorHandle*> retvals,
305305
}
306306
```
307307

308-
This way the same C++ gen_ops code can be used to execute ops with/without a tape.
308+
This way the same C++ gen\_ops code can be used to execute ops with/without a tape by simply wrapping the current execution context in a `TapeContext`.
309309

310310

311311
Note: This interface is subject to change.

0 commit comments

Comments
 (0)