Searched refs:_tuple_setitem (Results 1 – 5 of 5) sorted by relevance
/third_party/mindspore/mindspore/numpy/ |
D | utils.py | 23 _tuple_setitem, _callable_const, _check_is_float, _get_device 180 index_start = _tuple_setitem(index_start, axis, slice_start) 181 index_end = _tuple_setitem(index_end, axis, slice_size)
|
D | array_creations.py | 37 _tuple_setitem 2135 pad_before += (empty(_tuple_setitem(shape, i, pad_width[i][0]), dtype=dtype),) 2137 pad_after += (empty(_tuple_setitem(shape, i, pad_width[i][1]), dtype=dtype),) 2154 … pad_before += (full(_tuple_setitem(shape, i, pad_width[i][0]), value[i][0], dtype=dtype),) 2156 … pad_after += (full(_tuple_setitem(shape, i, pad_width[i][1]), value[i][1], dtype=dtype),) 2176 pad_before = (F.tile(pad_before, _tuple_setitem((1,)*ndim, i, pad_width[i][0])),) 2178 pad_after = (F.tile(pad_after, _tuple_setitem((1,)*ndim, i, pad_width[i][1])),) 2203 tensor_with_pad += (F.tile(arr, _tuple_setitem((1,)*ndim, i, total_repeats)),) 2317 arr = F.tile(arr, _tuple_setitem((1,)*arr.ndim, i, total_repeats))
|
D | array_ops.py | 32 _tuple_slice, _expanded_shape, _seq_prod, _tuple_setitem, _iota, \ 1435 size1 = _tuple_setitem(arr_shape, axis, length1) 1436 start2 = _tuple_setitem(start1, axis, length1) 1437 size2 = _tuple_setitem(arr_shape, axis, length2)
|
D | math_ops.py | 42 _check_dtype, _list_comprehensions, _tuple_setitem, _add_unit_axes, _seq_prod, \ 1884 additional_shape = _tuple_setitem(additional_shape, axis, 1) 2065 y_slice_size = _tuple_setitem(shape, axis, shape[axis] - 1) 3912 index_start = _tuple_setitem(index_start, axis, slice_start) 3913 index_end = _tuple_setitem(index_end, axis, slice_size) 5353 slice0 = _tuple_setitem(slice_all, axis, F.make_slice(0, 1, None)) 5354 slice1 = _tuple_setitem(slice_all, axis, F.make_slice(1, None, None))
|
D | utils_const.py | 432 def _tuple_setitem(tup, idx, value): function
|