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