- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TF_DeleteGraph (0.07 sec)
-
tensorflow/c/c_api_test.cc
std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); TF_Status* s = status.get(); std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> graph(TF_NewGraph(), TF_DeleteGraph); TF_SessionOptions* opts = TF_NewSessionOptions(); TF_Session* sess = TF_NewSession(graph.get(), opts, s); TF_DeleteSessionOptions(opts);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
class GraphContext : public TracingContext { public: explicit GraphContext(const char* name) : TracingContext(kGraph), graph_(new TF_Graph(), TF_DeleteGraph), name_(name) {} void Release() override { delete this; } TracingOperation* CreateOperation() override { return new GraphOperation(graph_.get()); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
const char* function_name, int group_size, TF_Status* status) { std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> body(TF_NewGraph(), TF_DeleteGraph); TF_OperationDescription* placeholder_desc = TF_NewOperation(body.get(), "Placeholder", "Placeholder"); TF_SetAttrType(placeholder_desc, "dtype", TF_FLOAT);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Aug 06 23:56:17 UTC 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/c_api.cc
return false; } return true; } #endif // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD) void FreeWhileResources(const TF_WhileParams* params) { TF_DeleteGraph(params->cond_graph); TF_DeleteGraph(params->body_graph); delete[] params->cond_inputs; delete[] params->body_inputs; delete[] params->body_outputs; } TF_WhileParams EmptyWhileParams() {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0)