Home
last modified time | relevance | path

Searched refs:network_ (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_shape_optimization_profiles_test.cc76 network_ = TrtUniquePtrType<nvinfer1::INetworkDefinition>( in SetUp()
82 network_ = TrtUniquePtrType<nvinfer1::INetworkDefinition>( in SetUp()
110 TrtUniquePtrType<nvinfer1::INetworkDefinition> network_; member in tensorflow::tensorrt::TrtShapeOptimizationProfileTest
128 DefineNetwork(network_.get(), dims); in TEST_F()
135 network_.get())); in TEST_F()
138 builder_->buildEngineWithConfig(*network_, *builder_config_)); in TEST_F()
141 builder_->buildCudaEngine(*network_)); in TEST_F()
159 DefineNetwork(network_.get(), dims); in TEST_F()
174 TF_CHECK_OK(GetNetworkInputShapes(network_.get(), &input_partial_shapes)); in TEST_F()
179 network_.get())); in TEST_F()
[all …]
/external/webrtc/pc/
Dchannel_manager_unittest.cc49 : network_(rtc::Thread::CreateWithSocketServer()), in ChannelManagerTest()
99 std::unique_ptr<rtc::Thread> network_; member in cricket::ChannelManagerTest
123 network_->Start(); in TEST_F()
127 EXPECT_TRUE(cm_->set_network_thread(network_.get())); in TEST_F()
128 EXPECT_EQ(network_.get(), cm_->network_thread()); in TEST_F()
186 network_->Start(); in TEST_F()
189 EXPECT_TRUE(cm_->set_network_thread(network_.get())); in TEST_F()
Dpeer_connection_bundle_unittest.cc155 rtc::FakeNetworkManager* network() { return network_; } in network()
157 void set_network(rtc::FakeNetworkManager* network) { network_ = network; } in set_network()
160 rtc::FakeNetworkManager* network_; member in webrtc::PeerConnectionWrapperForBundleTest
Dpeer_connection_ice_unittest.cc88 rtc::FakeNetworkManager* network() { return network_; } in network()
90 void set_network(rtc::FakeNetworkManager* network) { network_ = network; } in set_network()
96 rtc::FakeNetworkManager* network_; member in webrtc::PeerConnectionWrapperForIceTest
/external/webrtc/p2p/base/
Dport.cc127 network_(network), in Port()
155 network_(network), in Port()
181 network_->SignalTypeChanged.connect(this, &Port::OnNetworkTypeChanged); in Construct()
182 network_cost_ = network_->GetCost(); in Construct()
210 return network_; in Network()
275 type, generation_, foundation, network_->id(), network_cost_); in AddAddress()
277 c.GetPriority(type_preference, network_->preference(), relay_preference)); in AddAddress()
280 c.set_network_name(network_->name()); in AddAddress()
281 c.set_network_type(network_->type()); in AddAddress()
297 if (network_->GetMdnsResponder() == nullptr) { in MaybeObfuscateAddress()
[all …]
Dstun_server_unittest.cc36 StunServerTest() : ss_(new rtc::VirtualSocketServer()), network_(ss_.get()) {} in StunServerTest()
43 network_.Start(); in SetUp()
68 rtc::Thread network_; member in cricket::StunServerTest
Dstun_port_unittest.cc50 network_("unittest", "unittest", kLocalAddr.ipaddr(), 32), in StunPortTestBase()
60 network_.AddIP(kLocalAddr.ipaddr()); in StunPortTestBase()
69 network_.set_type(adapter_type); in SetNetworkType()
80 rtc::Thread::Current(), &socket_factory_, &network_, 0, 0, in CreateStunPort()
107 rtc::Thread::Current(), &socket_factory_, &network_, socket_.get(), in CreateSharedUdpPort()
167 rtc::Network network_; member in StunPortTestBase
Dport.h442 rtc::Network* network_; variable
/external/libtextclassifier/native/lang_id/common/flatbuffers/
Dembedding-network-params-from-flatbuffer.cc197 network_ = saft_fbs::GetEmbeddingNetwork(start); in EmbeddingNetworkParamsFromFlatbuffer()
198 if (network_ == nullptr) { in EmbeddingNetworkParamsFromFlatbuffer()
269 const auto *input_chunks = network_->input_chunks(); in SafeGetNumInputChunks()
282 const auto *input_chunks = network_->input_chunks(); in SafeGetInputChunk()
308 const auto *layers = network_->layers(); in SafeGetNumLayers()
321 const auto *layers = network_->layers(); in SafeGetLayer()
Dembedding-network-params-from-flatbuffer.h279 const saft_fbs::EmbeddingNetwork *network_ = nullptr; variable
/external/webrtc/p2p/client/
Dbasic_port_allocator.cc1227 network_(network), in AllocationSequence()
1238 rtc::SocketAddress(network_->GetBestIP(), 0), in Init()
1274 if (!((network == network_) && (previous_best_ip_ == network->GetBestIP()))) { in DisableEquivalentPhases()
1298 return !p.pruned() && p.port()->Network() == network_ && in DisableEquivalentPhases()
1308 return !p.pruned() && p.port()->Network() == network_ && in DisableEquivalentPhases()
1342 previous_best_ip_ = network_->GetBestIP(); in Start()
1360 RTC_LOG(LS_INFO) << network_->ToString() in OnMessage()
1408 session_->network_thread(), session_->socket_factory(), network_, in CreateUDPPorts()
1414 session_->network_thread(), session_->socket_factory(), network_, in CreateUDPPorts()
1450 session_->network_thread(), session_->socket_factory(), network_, in CreateTCPPorts()
[all …]
Dbasic_port_allocator.h347 rtc::Network* network() const { return network_; } in network()
397 rtc::Network* network_; variable
/external/libtextclassifier/native/lang_id/
Dlang-id.cc79 network_.reset(new EmbeddingNetwork(nn_params)); in LangIdImpl()
156 network_->ComputeFinalScores(features, &scores); in FindLanguages()
272 std::unique_ptr<EmbeddingNetwork> network_; member in libtextclassifier3::mobile::lang_id::LangIdImpl
/external/webrtc/test/network/
Dnetwork_emulation.h162 const rtc::Network& network() const { return *network_.get(); } in network()
181 std::unique_ptr<rtc::Network> network_; variable
Dnetwork_emulation.cc193 network_ = std::make_unique<rtc::Network>( in EmulatedEndpointImpl()
196 network_->AddIP(ip); in EmulatedEndpointImpl()
/external/webrtc/rtc_base/
Dvirtual_socket_server.cc954 sender->network_.push_back(entry); in AddPacketToNetwork()
984 while (!socket->network_.empty() && in PurgeNetworkPackets()
985 (socket->network_.front().done_time <= cur_time)) { in PurgeNetworkPackets()
986 RTC_DCHECK(socket->network_size_ >= socket->network_.front().size); in PurgeNetworkPackets()
987 socket->network_size_ -= socket->network_.front().size; in PurgeNetworkPackets()
988 socket->network_.pop_front(); in PurgeNetworkPackets()
Dvirtual_socket_server.h386 NetworkQueue network_; variable