- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_ExecutionContextGetTFEContext (0.33 sec)
-
tensorflow/c/eager/c_api_unified_experimental_eager.cc
StrCat("Not an eager tensor handle.", reinterpret_cast<uintptr_t>(at)); TF_SetStatus(s, TF_INVALID_ARGUMENT, msg.c_str()); return nullptr; } return wrap(handle); } TFE_Context* TF_ExecutionContextGetTFEContext(TF_ExecutionContext* ctx, TF_Status* s) { auto imm_ctx = dyn_cast<ImmediateExecutionContext>(unwrap(ctx)); if (!imm_ctx) { string msg =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jun 25 04:40:46 GMT 2020 - 3.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
TFE_DeleteContextOptions(opts); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); // Build an abstract input tensor. TFE_Context* eager_ctx = TF_ExecutionContextGetTFEContext(ctx, status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); TFE_TensorHandle* t = TestScalarTensorHandle(eager_ctx, 2.0f); TF_AbstractTensor* at =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 19 21:44:52 GMT 2023 - 39.1K bytes - Viewed (0)