- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Resource (0.17 sec)
-
tensorflow/c/c_api_test.cc
TF_TString_Init(&data[i]); // The following input string length is large enough to make sure that // copy to tstring in large mode. std::string source = "This is the " + std::to_string(i + 1) + "th. data element\n"; TF_TString_Copy(&data[i], source.c_str(), source.length()); } TF_DeleteTensor(t); } } // namespace } // namespace tensorflow // TODO(josh11b): Test:
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) -
tensorflow/c/c_api_function_test.cc
EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); Define(1, {add}, {feed1, feed2}, {add}, {}, true); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); EXPECT_EQ(string("The source of control edge [id=3 scalar:-1 -> add:-1] " "is not in the body. Encountered while creating " "function 'MyFunc'"), string(TF_Message(s_))); }
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/eager/c_api_test.cc
EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status); } BENCHMARK(BM_ExecuteFunction)->Arg(0)->Arg(1); TEST(CAPI, Variables) { // Variables use resource handles, so this is really a test for resource // tensor handling. TF_Status* status = TF_NewStatus(); TFE_ContextOptions* opts = TFE_NewContextOptions(); TFE_Context* ctx = TFE_NewContext(opts, status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1)