Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/distribute/
Dvalues_test.py848 def _assert_unsaveable(f): function
858 _assert_unsaveable(lambda: v.assign(ops.convert_to_tensor([1., 1.])))
859 _assert_unsaveable(lambda: v.assign_add(ops.convert_to_tensor([1., 1.])))
860 _assert_unsaveable(lambda: v.assign_sub(ops.convert_to_tensor([1., 1.])))
861 _assert_unsaveable(lambda: v.scatter_add(_make_index_slices([1.], [0])))
862 _assert_unsaveable(lambda: v.scatter_sub(_make_index_slices([1.], [0])))
863 _assert_unsaveable(lambda: v.scatter_mul(_make_index_slices([1.], [0])))
864 _assert_unsaveable(lambda: v.scatter_div(_make_index_slices([1.], [0])))
865 _assert_unsaveable(lambda: v.scatter_min(_make_index_slices([1.], [0])))
866 _assert_unsaveable(lambda: v.scatter_max(_make_index_slices([1.], [0])))
[all …]