- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Content (0.3 sec)
-
tensorflow/c/c_api_experimental_test.cc
protected: ShapeInferenceTest() : status_(TF_NewStatus()), tfe_context_options_(TFE_NewContextOptions()) { tfe_context_ = TFE_NewContext(tfe_context_options_, status_); CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); } ~ShapeInferenceTest() override { TFE_DeleteContextOptions(tfe_context_options_); TFE_DeleteContext(tfe_context_); TF_DeleteStatus(status_); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Viewed (1) -
tensorflow/c/eager/c_api_experimental_test.cc
TFE_CancelCallback callback2; bool callback2_invoked = false; callback2.context = &callback2_invoked; callback2.callback = [](void* context) { *reinterpret_cast<bool*>(context) = true; }; TFE_CancellationToken token2 = TFE_CancellationManagerGetToken(c_mgr); EXPECT_TRUE(TFE_CancellationManagerRegisterCallback(c_mgr, token2, &callback2,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1)