Home
last modified time | relevance | path

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

/third_party/mindspore/tests/ut/python/ops/
Dtest_tensor_slice.py264 class TensorSetItemByMixedTensors_1(Cell): class
266 super(TensorSetItemByMixedTensors_1, self).__init__()
909 'block': TensorSetItemByMixedTensors_1(value=88.0),
915 'block': TensorSetItemByMixedTensors_1(value=Tensor(np.ones((5, 2, 6), np.float32))),
921 'block': TensorSetItemByMixedTensors_1(value=(1.0, 2.0, 3.0, 4.0, 5.0, 6.0)),
927 'block': TensorSetItemByMixedTensors_1(value=(Tensor(np.ones((5, 2, 6), np.float32)),
1154 'block': (TensorSetItemByMixedTensors_1(value=88), {'exception': TypeError}),
1160 'block': (TensorSetItemByMixedTensors_1(value=88.0), {'exception': IndexError}),
1166 'block': (TensorSetItemByMixedTensors_1(value=Tensor(np.ones((5, 2, 6), np.int32))),
1173 'block': (TensorSetItemByMixedTensors_1(value=Tensor(np.ones((3, 2, 6), np.float32))),
[all …]
/third_party/mindspore/tests/st/pynative/
Dtest_tensor_getitem.py388 class TensorSetItemByMixedTensors_1(Cell): class
390 super(TensorSetItemByMixedTensors_1, self).__init__()
409 net = TensorSetItemByMixedTensors_1(value)