- Sort Score
- Result 10 results
- Languages All
Results 21 - 24 of 24 for getInputs (0.07 sec)
-
tensorflow/c/c_test_util.cc
CSession::~CSession() { TF_Status* s = TF_NewStatus(); CloseAndDelete(s); EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_DeleteStatus(s); } void CSession::SetInputs( std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs) { DeleteInputValues(); inputs_.clear(); for (const auto& p : inputs) { inputs_.emplace_back(TF_Output{p.first, 0});
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
} case *matcher.Matcher_OnMatch_Matcher: ms, f := recurse(name, v.Matcher) if !f { return []string{"NONE"}, true } return ms, true } // TODO support list n := match.GetMatcherTree().GetInput().GetName() var m map[string]*matcher.Matcher_OnMatch equality := "=" switch v := match.GetMatcherTree().GetTreeType().(type) { case *matcher.Matcher_MatcherTree_ExactMatchMap: m = v.ExactMatchMap.Map
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 18.1K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
// Create a session for this graph. CSession csession(graph, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Run the graph. csession.SetInputs({{feed, Int32Tensor(3)}}); csession.SetOutputs({add}); csession.Run(s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_Tensor* out = csession.output_tensor(0); ASSERT_TRUE(out != nullptr);
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/c_api_function_test.cc
// Create a session for this graph CSession csession(host_graph_, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); // Run csession.SetInputs(inputs); csession.SetOutputs(outputs); csession.Run(s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); // Check results for (int i = 0; i < expected_results.size(); ++i) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0)