Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/distribute/
Dvalues_test.py729 w.scatter_add(_make_index_slices(values=[1., 2.], indices=[0, 2])),
733 w.scatter_div(_make_index_slices(values=[4., 2.], indices=[0, 2])),
737 w.scatter_max(_make_index_slices(values=[1., 0.5], indices=[1, 2])),
741 w.scatter_min(_make_index_slices(values=[1., 0.5], indices=[0, 1])),
745 w.scatter_mul(_make_index_slices(values=[2., 0.5], indices=[0, 1])),
750 w.scatter_sub(_make_index_slices(values=[2., 0.5], indices=[0, 1])),
755 _make_index_slices(values=[2., 0.5], indices=[0, 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])))
[all …]