Searched refs:value_np_1 (Results 1 – 3 of 3) sorted by relevance
/third_party/mindspore/tests/st/pynative/ |
D | test_tensor_setitem.py | 252 value_np_1, value_np_2 = 1, 2.0 254 output_1d_ms_1 = net(input_1d_ms, value_np_1) 257 input_1d_np.itemset(value_np_1) 263 net(input_3d_ms, value_np_1) 304 value_np_1, value_np_2 = 1, 2.0 306 output_1d_ms_1 = net(input_1d_ms, index_np_1, value_np_1) 308 output_3d_ms_1 = net(input_3d_ms, index_np_1, value_np_1) 310 output_3d_ms_3 = net(output_3d_ms_2, index_np_2, value_np_1) 313 input_1d_np.itemset(index_np_1, value_np_1) 317 input_3d_np.itemset(index_np_1, value_np_1) [all …]
|
D | test_tensor_augassign.py | 86 value_np_1 = np.array([1]) 89 value_tensor_1 = Tensor(value_np_1) 108 input_np_3d[...] *= value_np_1 150 value_np_1 = np.array([1], np.float32) 154 value_tensor_1 = Tensor(value_np_1, mstype.float32) 170 input_np_3d[index_bool_1] -= value_np_1 342 value_np_1 = np.array([1]) 346 value_tensor_1 = Tensor(value_np_1) 378 input_np_3d[index_np_1d] -= value_np_1 414 input_np_3d[index_np_3d] /= value_np_1
|
/third_party/mindspore/tests/ut/python/ops/ |
D | test_tensor_slice.py | 663 value_np_1, value_np_2 = 1, 2.0 variable 963 'desc_inputs': [input_1d_ms, value_np_1] 971 'desc_inputs': [input_1d_ms, index_np_1, value_np_1] 979 'desc_inputs': [input_3d_ms, index_np_1, value_np_1] 987 'desc_inputs': [input_3d_ms, index_np_2, value_np_1] 995 'desc_inputs': [input_1d_ms, tuple_index_np_1, value_np_1] 1003 'desc_inputs': [input_3d_ms, tuple_index_np_3, value_np_1] 1215 'desc_inputs': [input_3d_ms, value_np_1] 1223 'desc_inputs': [input_1d_ms, index_np_2, value_np_1] 1231 'desc_inputs': [input_1d_ms, index_np_4, value_np_1] [all …]
|