Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TFE_ContextExportRunMetadata (0.24 sec)

  1. tensorflow/c/eager/c_api.h

    // containing any run metadata information accumulated so far and clears this
    // information.
    // If async mode is enabled, this call blocks till all currently pending ops are
    // done.
    TF_CAPI_EXPORT extern void TFE_ContextExportRunMetadata(TFE_Context* ctx,
                                                            TF_Buffer* buf,
                                                            TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api.cc

    TFE_TensorHandle* TFE_NewTensorHandle(const tensorflow::Tensor& t,
                                          TF_Status* status) {
      return tensorflow::wrap(tensorflow::TensorHandle::CreateLocalHandle(t));
    }
    
    void TFE_ContextExportRunMetadata(TFE_Context* ctx, TF_Buffer* buf,
                                      TF_Status* status) {
      auto* context = tensorflow::unwrap(ctx);
      status->status = context->AsyncWait();
      if (!status->status.ok()) return;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  3. tensorflow/c/eager/c_api_test.cc

      TFE_Execute(matmul, &retvals[0], &num_retvals, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteOp(matmul);
      TFE_DeleteTensorHandle(m);
      TF_Buffer* b = TF_NewBuffer();
      TFE_ContextExportRunMetadata(ctx, b, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      tensorflow::RunMetadata rm;
      EXPECT_TRUE(
          rm.ParseFromString({reinterpret_cast<const char*>(b->data), b->length}));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
Back to top