Searched refs:pad_args (Results 1 – 1 of 1) sorted by relevance
/third_party/mindspore/mindspore/numpy/ |
D | array_creations.py | 2233 def _add_pads_before(arr, pad_args, mode): argument 2235 idx, array_length, times_to_pad_before, additional_pad_before, reflect_type = pad_args 2259 def _add_pads_after(arr, pad_args, mode): argument 2261 idx, array_length, times_to_pad_after, additional_pad_after, reflect_type = pad_args 2299 pad_args = (i, array_length, times_to_pad_before, additional_pad_before, reflect_type) 2300 arr = _add_pads_before(arr, pad_args, "symmetric") 2303 pad_args = (i, array_length, times_to_pad_after, additional_pad_after, reflect_type) 2304 arr = _add_pads_after(arr, pad_args, "symmetric") 2329 … pad_args = (i, array_length, times_to_pad_before, additional_pad_before, reflect_type) 2330 arr = _add_pads_before(arr, pad_args, "reflect") [all …]
|