- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for nulla (0.12 sec)
-
tensorflow/c/c_api_function_test.cc
DefineFunction("MyGrad1", &grad_func1); DefineFunction("MyGrad2", &grad_func2); // func cannot be null TF_GraphCopyFunction(host_graph_, nullptr, func_, s_); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); EXPECT_EQ(string("'func' argument to TF_GraphCopyFunction cannot be null"), string(TF_Message(s_))); // Cannot change gradient
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/c_api_test.cc
TF_SessionOptions* opt = TF_NewSessionOptions(); TF_Status* s = TF_NewStatus(); const char* tags[] = {tensorflow::kSavedModelTagServe}; TF_Graph* graph = TF_NewGraph(); // NULL run_options and meta_graph_def should work. TF_Session* session = TF_LoadSessionFromSavedModel( opt, nullptr, saved_model_dir.c_str(), tags, 1, graph, nullptr, s); EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3)