MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Watch

Method Watch

tensorflow/c/eager/tape.h:354–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352
353template <typename Gradient, typename BackwardFunction, typename TapeTensor>
354void GradientTape<Gradient, BackwardFunction, TapeTensor>::Watch(
355 int64 tensor_id) {
356 tensor_tape_.emplace(tensor_id, -1);
357}
358
359template <typename Gradient, typename BackwardFunction, typename TapeTensor>
360void GradientTape<Gradient, BackwardFunction, TapeTensor>::RecordOperation(

Callers 4

WatchVariableMethod · 0.95
TFE_Py_TapeWatchFunction · 0.80
ForwardpropFromTapeMethod · 0.80

Calls 5

MarkAsResultMethod · 0.80
AggregateGradientsMethod · 0.80
emplaceMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected