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

Function TFE_ContextEnableRunMetadata

tensorflow/c/eager/c_api.cc:953–955  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

951}
952
953void TFE_ContextEnableRunMetadata(TFE_Context* ctx) {
954 ctx->context->SetShouldStoreGraphs(true);
955}
956
957void TFE_ContextDisableRunMetadata(TFE_Context* ctx) {
958 ctx->context->SetShouldStoreGraphs(false);

Callers 1

ExecuteWithTracingFunction · 0.85

Calls 1

SetShouldStoreGraphsMethod · 0.80

Tested by 1

ExecuteWithTracingFunction · 0.68