Merged
docs: update BlockMask and Generator API support #42807
docs: update BlockMask and Generator API support #42807
Merged
xinboshu-2026Add on Jul 26
Total: 8 files changed+60-4
@@ -49,4 +49,18 @@
49 49 
50</div>50</div>
51 51 
52+> <font size="3"><code><i>property</i></code> shape</font>
53+ 
54+<div style="margin-left: 2em">
55+ 
56+**原生文档**:[torch.nn.attention.flex_attention.BlockMask.shape](https://docs.pytorch.org/docs/2.11/nn.attention.flex_attention.html#torch.nn.attention.flex_attention.BlockMask.shape)
57+ 
58+**产品支持情况**:
59+ 
60+- <term>Atlas A2 训练系列产品</term>:支持
61+- <term>Atlas A3 训练系列产品</term>:支持
62+- <term>Ascend 950DT</term>:支持
63+ 
64+</div>
65+ 
52</div>66</div>
@@ -1545,7 +1545,7 @@
1545 1545 
1546- <term>Atlas A2 训练系列产品</term>:支持1546- <term>Atlas A2 训练系列产品</term>:支持
1547- <term>Atlas A3 训练系列产品</term>:支持1547- <term>Atlas A3 训练系列产品</term>:支持
1548-- <term>Ascend 950DT</term>:不支持1548+- <term>Ascend 950DT</term>:支持
1549 1549 
1550</div>1550</div>
1551 1551 
@@ -49,4 +49,18 @@
49 49 
50</div>50</div>
51 51 
52+> <font size="3"><code><i>property</i></code> shape</font>
53+ 
54+<div style="margin-left: 2em">
55+ 
56+**原生文档**:[torch.nn.attention.flex_attention.BlockMask.shape](https://docs.pytorch.org/docs/2.12/nn.attention.flex_attention.html#torch.nn.attention.flex_attention.BlockMask.shape)
57+ 
58+**产品支持情况**:
59+ 
60+- <term>Atlas A2 训练系列产品</term>:支持
61+- <term>Atlas A3 训练系列产品</term>:支持
62+- <term>Ascend 950DT</term>:支持
63+ 
64+</div>
65+ 
52</div>66</div>
@@ -1545,7 +1545,7 @@
1545 1545 
1546- <term>Atlas A2 训练系列产品</term>:支持1546- <term>Atlas A2 训练系列产品</term>:支持
1547- <term>Atlas A3 训练系列产品</term>:支持1547- <term>Atlas A3 训练系列产品</term>:支持
1548-- <term>Ascend 950DT</term>:不支持1548+- <term>Ascend 950DT</term>:支持
1549 1549 
1550</div>1550</div>
1551 1551 
@@ -49,4 +49,18 @@
49 49 
50</div>50</div>
51 51 
52+> <font size="3"><code><i>property</i></code> shape</font>
53+ 
54+<div style="margin-left: 2em">
55+ 
56+**原生文档**:[torch.nn.attention.flex_attention.BlockMask.shape](https://docs.pytorch.org/docs/2.13/nn.attention.flex_attention.html#torch.nn.attention.flex_attention.BlockMask.shape)
57+ 
58+**产品支持情况**:
59+ 
60+- <term>Atlas A2 训练系列产品</term>:支持
61+- <term>Atlas A3 训练系列产品</term>:支持
62+- <term>Ascend 950DT</term>:支持
63+ 
64+</div>
65+ 
52</div>66</div>
@@ -1545,7 +1545,7 @@
1545 1545 
1546- <term>Atlas A2 训练系列产品</term>:支持1546- <term>Atlas A2 训练系列产品</term>:支持
1547- <term>Atlas A3 训练系列产品</term>:支持1547- <term>Atlas A3 训练系列产品</term>:支持
1548-- <term>Ascend 950DT</term>:不支持1548+- <term>Ascend 950DT</term>:支持
1549 1549 
1550</div>1550</div>
1551 1551 
@@ -49,4 +49,18 @@
49 49 
50</div>50</div>
51 51 
52+> <font size="3"><code><i>property</i></code> shape</font>
53+ 
54+<div style="margin-left: 2em">
55+ 
56+**原生文档**:[torch.nn.attention.flex_attention.BlockMask.shape](https://docs.pytorch.org/docs/2.7/nn.attention.flex_attention.html#torch.nn.attention.flex_attention.BlockMask.shape)
57+ 
58+**产品支持情况**:
59+ 
60+- <term>Atlas A2 训练系列产品</term>:支持
61+- <term>Atlas A3 训练系列产品</term>:支持
62+- <term>Ascend 950DT</term>:支持
63+ 
64+</div>
65+ 
52</div>66</div>
@@ -1571,7 +1571,7 @@
1571 1571 
1572- <term>Atlas A2 训练系列产品</term>:支持1572- <term>Atlas A2 训练系列产品</term>:支持
1573- <term>Atlas A3 训练系列产品</term>:支持1573- <term>Atlas A3 训练系列产品</term>:支持
1574-- <term>Ascend 950DT</term>:不支持1574+- <term>Ascend 950DT</term>:支持
1575 1575 
1576</div>1576</div>
1577 1577