Home
last modified time | relevance | path

Searched refs:load_state (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/python/trackable/
Dpython_state_test.py161 load_state = _NumpyState()
162 loader = util.Checkpoint(numpy=load_state)
164 self.assertAllEqual(numpy.ones([2, 2]), load_state.a)
165 self.assertAllEqual(numpy.zeros([2, 2]), load_state.b)
166 self.assertEqual(3, load_state.c)
167 load_state.a[0, 0] = 42.
168 self.assertAllEqual([[42., 1.], [1., 1.]], load_state.a)
170 self.assertAllEqual(numpy.ones([2, 2]), load_state.a)
172 self.assertAllEqual([[1., 1.], [1., 2.]], load_state.a)
173 self.assertAllEqual(numpy.zeros([2, 2]), load_state.b)
[all …]
/external/cronet/net/proxy_resolution/
Dconfigured_proxy_resolution_request.cc125 LoadState load_state = LOAD_STATE_IDLE; in GetLoadState() local
126 if (service_ && service_->GetLoadStateIfAvailable(&load_state)) in GetLoadState()
127 return load_state; in GetLoadState()
Dconfigured_proxy_resolution_service.h267 bool GetLoadStateIfAvailable(LoadState* load_state) const;
Dconfigured_proxy_resolution_service.cc1270 LoadState* load_state) const { in GetLoadStateIfAvailable()
1272 *load_state = init_proxy_resolver_->GetLoadState(); in GetLoadStateIfAvailable()
/external/cronet/net/socket/
Dtransport_connect_job.cc154 LoadState load_state = LOAD_STATE_IDLE; in GetLoadState() local
156 load_state = ipv6_job_->GetLoadState(); in GetLoadState()
162 load_state != LOAD_STATE_CONNECTING) { in GetLoadState()
163 load_state = ipv4_job_->GetLoadState(); in GetLoadState()
165 return load_state; in GetLoadState()
Dclient_socket_pool_base_unittest.cc264 void SetJobLoadState(size_t job, LoadState load_state);
329 void set_load_state(LoadState load_state) { load_state_ = load_state; } in set_load_state() argument
595 LoadState load_state) { in SetJobLoadState() argument
597 waiting_jobs_[job]->set_load_state(load_state); in SetJobLoadState()
/external/cronet/net/url_request/
Durl_request.cc298 LoadStateWithParam load_state = GetLoadState(); in GetStateAsValue() local
299 dict.Set("load_state", load_state.state); in GetStateAsValue()
300 if (!load_state.param.empty()) in GetStateAsValue()
301 dict.Set("load_state_param", load_state.param); in GetStateAsValue()
Durl_request_unittest.cc5084 LoadStateWithParam load_state = url_request_->GetLoadState(); in Start() local
5085 EXPECT_EQ(expected_first_load_state_, load_state.state); in Start()
5086 EXPECT_NE(kFirstDelegateInfo16, load_state.param); in Start()
5094 LoadStateWithParam load_state = url_request_->GetLoadState(); in LogSecondDelegate() local
5095 EXPECT_EQ(expected_second_load_state_, load_state.state); in LogSecondDelegate()
5097 EXPECT_EQ(kSecondDelegateInfo16, load_state.param); in LogSecondDelegate()
5099 EXPECT_NE(kSecondDelegateInfo16, load_state.param); in LogSecondDelegate()
5107 LoadStateWithParam load_state = url_request_->GetLoadState(); in LogComplete() local
5108 EXPECT_EQ(expected_third_load_state_, load_state.state); in LogComplete()
5110 EXPECT_EQ(std::u16string(), load_state.param); in LogComplete()
[all …]
/external/toolchain-utils/afdo_tools/bisection/
Dafdo_prof_analysis.py103 def load_state(self): member in DeciderState
450 decider.load_state()
/external/mesa3d/src/freedreno/vulkan/
Dtu_private.h1093 struct tu_draw_state load_state, rast_state, blend_state; member
Dtu_cmd_buffer.c3340 tu_cs_emit_draw_state(cs, TU_DRAW_STATE_DESC_SETS_LOAD, pipeline->load_state); in tu6_draw_common()
3384 tu_cs_emit_draw_state(cs, TU_DRAW_STATE_DESC_SETS_LOAD, pipeline->load_state); in tu6_draw_common()
3813 tu_cs_emit_state_ib(cs, pipeline->load_state); in tu_dispatch()
Dtu_pipeline.c241 pipeline->load_state = tu_cs_end_draw_state(&pipeline->cs, &cs); in tu6_emit_load_state()
/external/elfutils/src/
Delflint.c1361 enum load_state enum
1375 struct loaded_segment *loaded, enum load_state *statep) in check_one_reloc()
1513 enum load_state state = state_undecided; in check_rela()
1564 enum load_state state = state_undecided; in check_rel()