D | test_tensor_slice.py | 164 def construct(self, x, index_0, index_1): argument 165 ret = x[index_0, index_1] + self.const 174 def construct(self, x, index_0, index_1, index_2): argument 175 ret = x[index_0, index_1, index_2] + self.const 184 def construct(self, tensor, index_0, index_1): argument 185 ret = tensor[index_0, index_1, 0:3, ..., 0:5, 3] + self.const 194 def construct(self, tensor, index_0, index_1): argument 195 ret = tensor[0:3, index_0, ..., index_1, 3, 0:5] + self.const 204 def construct(self, tensor, index_0, index_1): argument 205 ret = tensor[0, index_0, index_1, ..., 3] + self.const [all …]
|