Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TFE_ContextDisableRunMetadata (0.19 sec)

  1. tensorflow/c/eager/c_api.h

    TF_CAPI_EXPORT extern void TFE_ContextEnableRunMetadata(TFE_Context* ctx);
    
    // Disables tracing of RunMetadata on the ops executed from this context.
    TF_CAPI_EXPORT extern void TFE_ContextDisableRunMetadata(TFE_Context* ctx);
    
    // Populates the passed-in buffer with a serialized RunMetadata protocol buffer
    // containing any run metadata information accumulated so far and clears this
    // information.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.cc

      return tensorflow::unwrap(ctx)->FindFunctionDef(name) != nullptr;
    }
    
    void TFE_ContextEnableRunMetadata(TFE_Context* ctx) {
      tensorflow::unwrap(ctx)->SetShouldStoreGraphs(true);
    }
    
    void TFE_ContextDisableRunMetadata(TFE_Context* ctx) {
      tensorflow::unwrap(ctx)->SetShouldStoreGraphs(false);
    }
    
    }  // extern "C"
    
    TFE_TensorHandle* TFE_NewTensorHandle(const tensorflow::Tensor& t,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top