pypto.Tensor.where#
产品支持情况#
产品 |
是否支持 |
|---|---|
Atlas A3 训练系列产品/Atlas A3 推理系列产品 |
√ |
Atlas A2 训练系列产品/Atlas A2 推理系列产品 |
√ |
函数原型#
where(self, condition: 'Tensor', y: Union['Tensor', float]) -> 'Tensor'
接口说明#
请参见pypto.where
产品 |
是否支持 |
|---|---|
Atlas A3 训练系列产品/Atlas A3 推理系列产品 |
√ |
Atlas A2 训练系列产品/Atlas A2 推理系列产品 |
√ |
where(self, condition: 'Tensor', y: Union['Tensor', float]) -> 'Tensor'
请参见pypto.where