- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for from (0.15 sec)
-
tensorflow/c/c_api.cc
->set_disable_optimize_for_static_graph(true); } void TF_TensorFromProto(const TF_Buffer* from, TF_Tensor* to, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); tensorflow::TensorProto from_tensor_proto; status->status = BufferToMessage(from, &from_tensor_proto); if (!status->status.ok()) { return; } status->status =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
opts->opts.validate_colocation_constraints = enable; } // Load a Pluggable Device library. // On success, returns the handle to library in result and return OK from the // function. Otherwise return nullptr in result and error Status from the // function. // // If `library_filename` has already been loaded, we return a cached handle. // Device and Kernels/Ops are registered as globals when a library is loaded
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/c_api_function.cc
tensorflow::FunctionDef fdef; status->status = tensorflow::GraphToFunctionDef( fn_body->graph, fn_name, append_hash_to_fn_name != 0, /*set_stateful_from_nodes=*/true, /*copy_placeholder_attrs_from_nodes=*/true, body_nodes, input_tensors, output_tensors, output_names_vec, control_output_nodes, control_output_names_vec, description, &fdef); if (TF_GetCode(status) != TF_OK) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 13.6K bytes - Viewed (2) -
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_experimental.cc
TF_Status* status, const char* description) { auto* result = new TFE_MonitoringCounter0({name, description}); tsl::Set_TF_Status_from_Status(status, result->counter->GetStatus()); if (!result->counter->GetStatus().ok()) { delete result; return nullptr; } return result; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3)