pypto.Tensor.index_add_#
产品支持情况#
产品 |
是否支持 |
|---|---|
Atlas A3 训练系列产品/Atlas A3 推理系列产品 |
√ |
Atlas A2 训练系列产品/Atlas A2 推理系列产品 |
√ |
函数原型#
index_add_(self, dim: int, index: 'Tensor', source: 'Tensor', *, alpha: Optional[List[Union[int, float]]] = 1) -> 'Tensor'
详细说明#
请参见pypto.index_add_。