---
title: IndexByTensorStaticFusionPass
description: "在PyTorch图模式场景中，静态shape时，将IndexByTensor转换为Index算子，用于保证图下沉不被破坏。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/maintenref/graphubfusionref/atlasrr_30_0072.html
sourcePath: /source/zh/canncommercial/900/maintenref/graphubfusionref/atlasrr_30_0072.html
indexId: 96bf57cbf0a85ac3893187e3347d13bb08f2dc4de5db1f6fe1665386d52eea4a78
---
# IndexByTensorStaticFusionPass

#### 融合模式

在PyTorch图模式场景中，静态shape时，将IndexByTensor转换为Index算子，用于保证图下沉不被破坏。


#### 使用约束

仅支持静态shape。


#### 支持的型号

Atlas A2 训练系列产品 / Atlas A2 推理系列产品

Atlas A3 训练系列产品 / Atlas A3 推理系列产品

Atlas 350 加速卡
