MCPcopy Create free account
hub / github.com/ByteDance-Seed/Triton-distributed / __init__

Method __init__

python/little_kernel/core/expr.py:410–413  ·  view source on GitHub ↗
(self, tensor: Expr, indices: List[Expr])

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected