Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/training/tracking/
Dpython_state_test.py152 save_state = _NumpyState()
153 saver = util.Checkpoint(numpy=save_state)
154 save_state.a = numpy.ones([2, 2])
155 save_state.b = numpy.ones([2, 2])
156 save_state.b = numpy.zeros([2, 2])
157 save_state.c = numpy.int64(3)
158 self.assertAllEqual(numpy.ones([2, 2]), save_state.a)
159 self.assertAllEqual(numpy.zeros([2, 2]), save_state.b)
160 self.assertEqual(3, save_state.c)
162 save_state.a[1, 1] = 2.
[all …]
/external/autotest/server/cros/
Ddebugd_dev_tools.py194 self.save_state()
220 def save_state(self): member in DevTool
373 def save_state(self): member in BootFromUsbTool
414 def save_state(self): member in SshServerTool
455 def save_state(self): member in SystemPasswordTool
/external/autotest/client/site_tests/power_CPUFreq/
Dpower_CPUFreq.py29 cpu.save_state()
167 def save_state(self): member in cpufreq
/external/toolchain-utils/afdo_tools/bisection/
Dafdo_prof_analysis.py127 def save_state(self): member in DeciderState
140 self.save_state()
162 self.save_state()
/external/tensorflow/tensorflow/python/ops/
Drnn.py1489 save_state = [
1490 state_saver.save_state(name, substate)
1494 save_state = [state_saver.save_state(state_name, state)]
1496 with ops.control_dependencies(save_state):
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_context.c202 nvc0->screen->save_state = nvc0->state; in nvc0_destroy()
203 nvc0->screen->save_state.tfb = NULL; in nvc0_destroy()
452 nvc0->state = screen->save_state; in nvc0_create()
Dnvc0_screen.h73 struct nvc0_graph_state save_state; member
Dnvc0_screen.c1476 screen->save_state.patch_vertices = 3; in nvc0_screen_create()
Dnvc0_state_validate.c877 ctx_to->state = ctx_to->screen->save_state; in nvc0_switch_pipe_context()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.h69 struct save_state struct
358 struct save_state Save[MAX_META_OPS_DEPTH];
Dmeta.c463 struct save_state *save; in _mesa_meta_begin()
853 struct save_state *save = &ctx->Meta->Save[ctx->Meta->SaveStackDepth - 1]; in _mesa_meta_end()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_screen.h64 struct nv50_graph_state save_state; member
Dnv50_context.c172 nv50->screen->save_state = nv50->state; in nv50_destroy()
330 nv50->state = screen->save_state; in nv50_create()
Dnv50_state_validate.c456 ctx_to->state = ctx_to->screen->save_state; in nv50_switch_pipe_context()
/external/libcxx/src/
Dlocale.cpp1546 mbstate_t save_state = st; in do_out() local
1554 n = __libcpp_wcrtomb_l(to_nxt, *frm, &save_state, __l); in do_out()
1603 mbstate_t save_state = st; in do_in() local
1612 &save_state, __l); in do_in()
/external/llvm-project/libcxx/src/
Dlocale.cpp1559 mbstate_t save_state = st; in do_out() local
1567 n = __libcpp_wcrtomb_l(to_nxt, *frm, &save_state, __l); in do_out()
1616 mbstate_t save_state = st; in do_in() local
1625 &save_state, __l); in do_in()
/external/tensorflow/tensorflow/python/kernel_tests/
Drnn_cell_test.py151 def save_state(self, name, state): member in TestStateSaver
184 def save_state(self, name, state): member in TestStateSaverWithCounters
187 return super(TestStateSaverWithCounters, self).save_state(name, state)