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

Method reset

tensorflow/core/profiler/nvtx_utils.h:197–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 }
196
197 void reset() {
198 if (id_) {
199 if (domain()) {
200 ::nvtxDomainRangeEnd(domain(), id_);
201 } else {
202 ::nvtxRangeEnd(id_);
203 }
204 id_ = 0;
205 }
206 }
207
208 // msg_fn must be a nullary callable returning string.
209 template <class MsgFunc>

Callers 15

TESTFunction · 0.45
TESTFunction · 0.45
NodeDefBuilderTestClass · 0.45
InferenceContextMethod · 0.45
RegisterAlreadyLockedMethod · 0.45
LookupManyMethod · 0.45

Calls 3

RangesEnabledFunction · 0.85
MakeAttributesFunction · 0.85
c_strMethod · 0.80

Tested by 15

TESTFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
SetUpMethod · 0.36
TearDownMethod · 0.36
StructureVerifierTestMethod · 0.36
SetUpMethod · 0.36
SetUpMethod · 0.36
SetUpMethod · 0.36
SetUpMethod · 0.36
TearDownMethod · 0.36
TEST_FFunction · 0.36