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

Function kEmptyRunOptions

tensorflow/python/client/session_ref.cc:66–69  ·  view source on GitHub ↗

The Session interface has many methods of the form: X(a, b); X(RunOptions, a, b); Not all sessions support the second case (with an empty RunOptions()). We use this variable as a sentinel to dispatch to the correct call.

Source from the content-addressed store, hash-verified

64// Not all sessions support the second case (with an empty RunOptions()).
65// We use this variable as a sentinel to dispatch to the correct call.
66RunOptions* kEmptyRunOptions() {
67 static RunOptions* options = new RunOptions();
68 return options;
69}
70
71} // namespace
72

Callers 4

RecordRunMethod · 0.85
RecordCreateMethod · 0.85
RecordExtendMethod · 0.85
RecordCloseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected