Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TFE_ContextExportRunMetadata (0.55 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);
    
    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

    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;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  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}));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
Back to top