HomeSort by relevance Sort by last modified time
    Searched refs:load_state (Results 1 - 3 of 3) sorted by null

  /external/tensorflow/tensorflow/contrib/checkpoint/python/
python_state_test.py 52 load_state = python_state.NumpyState()
53 loader = util.Checkpoint(numpy=load_state)
55 self.assertAllEqual(numpy.ones([2, 2]), load_state.a)
56 self.assertAllEqual(numpy.zeros([2, 2]), load_state.b)
57 self.assertEqual(3, load_state.c)
58 load_state.a[0, 0] = 42.
59 self.assertAllEqual([[42., 1.], [1., 1.]], load_state.a)
61 self.assertAllEqual(numpy.ones([2, 2]), load_state.a)
63 self.assertAllEqual([[1., 1.], [1., 2.]], load_state.a)
64 self.assertAllEqual(numpy.zeros([2, 2]), load_state.b
    [all...]
  /external/tensorflow/tensorflow/python/training/tracking/
python_state_test.py 166 load_state = _NumpyState()
167 loader = util.Checkpoint(numpy=load_state)
169 self.assertAllEqual(numpy.ones([2, 2]), load_state.a)
170 self.assertAllEqual(numpy.zeros([2, 2]), load_state.b)
171 self.assertEqual(3, load_state.c)
172 load_state.a[0, 0] = 42.
173 self.assertAllEqual([[42., 1.], [1., 1.]], load_state.a)
175 self.assertAllEqual(numpy.ones([2, 2]), load_state.a)
177 self.assertAllEqual([[1., 1.], [1., 2.]], load_state.a)
178 self.assertAllEqual(numpy.zeros([2, 2]), load_state.b
    [all...]
  /external/elfutils/src/
elflint.c 1358 enum load_state enum
    [all...]

Completed in 300 milliseconds