入门
Python API
advance()
Gluon
Triton MLIR 方言
编程指南
推进块指针(block pointer)
base – 要推进的块指针
offsets – 要推进的偏移量,按维度组成的元组
此函数也可以作为 tensor 的成员函数调用,即使用 x.advance(...) 而不是 advance(x, ...)。
tensor
x.advance(...)
advance(x, ...)