Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TFE_DeleteContextOptions (0.14 sec)

  1. tensorflow/c/eager/c_api_test.cc

      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_Context* ctx = TFE_NewContext(opts, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
      TFE_TensorHandle* m = TestMatrixTensorHandle(ctx);
      for (auto s : state) {
        TFE_Op* matmul = MatMulOp(ctx, m, m);
        TFE_DeleteOp(matmul);
      }
      TFE_DeleteTensorHandle(m);
    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