- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_NewEagerExecutionContext (0.2 sec)
-
tensorflow/c/eager/c_api_unified_experimental_test.cc
TF_NewStatus(), TF_DeleteStatus); TFE_ContextOptions* opts = TFE_NewContextOptions(); TFE_ContextOptionsSetTfrt(opts, std::get<1>(GetParam())); TF_ExecutionContext* ctx = TF_NewEagerExecutionContext(opts, status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); TFE_DeleteContextOptions(opts); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 39.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_eager.cc
using tensorflow::ImmediateExecutionTensorHandle; using tensorflow::string; using tensorflow::unwrap; using tensorflow::wrap; using tensorflow::strings::StrCat; TF_ExecutionContext* TF_NewEagerExecutionContext(TFE_ContextOptions* options, TF_Status* s) { TFE_Context* c_ctx = TFE_NewContext(options, s); if (TF_GetCode(s) != TF_OK) { return nullptr; }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jun 25 04:40:46 UTC 2020 - 3.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
// tracing, a function can be obtained by TF_FinalizeFunction. TF_ExecutionContext* TF_CreateFunction(const char* fn_name, TF_Status* status); // Creates a context for eager execution of operations. TF_ExecutionContext* TF_NewEagerExecutionContext(TFE_ContextOptions*, TF_Status* s); void TF_DeleteExecutionContext(TF_ExecutionContext*); // Represents a (partially-defined) shape. typedef struct TF_Shape {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sun Oct 24 11:27:00 UTC 2021 - 7K bytes - Viewed (0)