Searched refs:inplace_update (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | inplace_ops_test.py | 41 x = inplace_ops.inplace_update(x, [3], array_ops.ones([1, 3], dtype)) 44 x = inplace_ops.inplace_update(x, [-1], 48 x = inplace_ops.inplace_update(x, 5, array_ops.ones([3], dtype) * 7) 58 x = inplace_ops.inplace_update(x, [3], array_ops.ones([1, 3], 62 x = inplace_ops.inplace_update(x, [-1], 66 x = inplace_ops.inplace_update(x, 5, array_ops.zeros([3], dtypes.bool)) 121 x = inplace_ops.inplace_update(x, idx, val) 142 x = inplace_ops.inplace_update(x, idx, val) 165 _ = inplace_ops.inplace_update([[1.]], [[0]], [[10]]).eval() 168 _ = inplace_ops.inplace_update([[1.]], [0], [10]).eval() [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | inplace_ops.py | 85 return _inplace_helper(x, i, v, gen_array_ops.inplace_update) 151 def inplace_update(x, i, v): function
|