- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for from (0.2 sec)
-
tensorflow/c/c_api_test.cc
TF_Graph* g1 = TF_NewGraph(); TF_Graph* g2 = TF_NewGraph(); TF_Operation* feed = Placeholder(g1, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Attempt to create node in g2 with input from g1 Neg(feed, g2, s); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)); EXPECT_STREQ("foo", TF_Message(s)); TF_DeleteGraph(g1); TF_DeleteGraph(g2); TF_DeleteStatus(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) -
tensorflow/c/eager/c_api_test.cc
TFE_TensorHandleCopyToDevice(hcpu, ctx, name.c_str(), status.get()); if (TF_GetCode(status.get()) != TF_OK) { ADD_FAILURE() << tag << " -- " << TF_Message(status.get()); continue; } // Copy from device to the same device. TFE_TensorHandle* hdevice2 = TFE_TensorHandleCopyToDevice(hdevice, ctx, name.c_str(), status.get()); if (TF_GetCode(status.get()) != TF_OK) {
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) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
// Loads a shared object implementing filesystem functionality. static bool LoadDSO(const std::string& dso) { tensorflow::Status status = RegisterFilesystemPlugin(dso); if (!status.ok()) VLOG(0) << "Filesystems from '" << dso << "' could not be registered: " << status; return status.ok(); } // Tests whether a URI scheme results in a filesystem that is supported. //
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
const std::vector<EdgeSpec>& c_edges, // expected ctrl edges bool is_exact_edges = true) { // Build a set of edges from fdef std::set<EdgeSpec> a_edges; // actual edges // Get edges from inputs to body nodes and between body nodes for (const NodeDef& node_def : fdef.node_def()) { for (int i = 0; i < node_def.input_size(); ++i) {
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)