(self, tensor: Expr, indices: List[Expr])
| 408 | """Tensor access expression (e.g., a[i,j])""" |
| 409 | |
| 410 | def __init__(self, tensor: Expr, indices: List[Expr]): |
| 411 | super().__init__(tensor.type.element_type) |
| 412 | self.tensor = tensor # Tensor expression |
| 413 | self.indices = indices # List of index expressions |
| 414 | |
| 415 | |
| 416 | # Struct Access |