smaller than or equal to the dimensions of $X$.</p>
<p>There are two cases for this operator:
1. The shape of $Y$ is same with $X$;
2. The shape of $Y$ is a subset of $X$.</p>
<p>For case 2:
$Y$ will be broadcasted to match the shape of $X$ and axis should be
2. The shape of $Y$ is a congiguous subsequencet of $X$. The trailing dimensions</p>
<blockquote>
<div>of size 1 for $Y$ will be ignored for the consideration of subsequence.</div></blockquote>
<p>For case 2:</p>
<p>$Y$ will be broadcasted to match the shape of $X$ and axis should be
set to index of the start dimension to broadcast $Y$ onto $X$.</p>
<p>If axis is -1, it is treated as axis=rank(X)-rank(Y).</p>
<dlclass="docutils">
<dt>For example</dt>
<dd><divclass="first last highlight-python"><divclass="highlight"><pre><span></span><spanclass="n">shape</span><spanclass="p">(</span><spanclass="n">X</span><spanclass="p">)</span><spanclass="o">=</span><spanclass="p">(</span><spanclass="mi">2</span><spanclass="p">,</span><spanclass="mi">3</span><spanclass="p">,</span><spanclass="mi">4</span><spanclass="p">,</span><spanclass="mi">5</span><spanclass="p">),</span><spanclass="n">shape</span><spanclass="p">(</span><spanclass="n">Y</span><spanclass="p">)</span><spanclass="o">=</span><spanclass="p">(,)</span>
...
...
@@ -3389,6 +3392,7 @@ set to index of the start dimension to broadcast $Y$ onto $X$.</p>
smaller than or equal to the dimensions of $X$.</p>
<p>There are two cases for this operator:
1. The shape of $Y$ is same with $X$;
2. The shape of $Y$ is a subset of $X$.</p>
<p>For case 2:
$Y$ will be broadcasted to match the shape of $X$ and axis should be
2. The shape of $Y$ is a congiguous subsequencet of $X$. The trailing dimensions</p>
<blockquote>
<div>of size 1 for $Y$ will be ignored for the consideration of subsequence.</div></blockquote>
<p>For case 2:</p>
<p>$Y$ will be broadcasted to match the shape of $X$ and axis should be
set to index of the start dimension to broadcast $Y$ onto $X$.</p>
<p>If axis is -1, it is treated as axis=rank(X)-rank(Y).</p>
<dlclass="docutils">
<dt>For example</dt>
<dd><divclass="first last highlight-python"><divclass="highlight"><pre><span></span><spanclass="n">shape</span><spanclass="p">(</span><spanclass="n">X</span><spanclass="p">)</span><spanclass="o">=</span><spanclass="p">(</span><spanclass="mi">2</span><spanclass="p">,</span><spanclass="mi">3</span><spanclass="p">,</span><spanclass="mi">4</span><spanclass="p">,</span><spanclass="mi">5</span><spanclass="p">),</span><spanclass="n">shape</span><spanclass="p">(</span><spanclass="n">Y</span><spanclass="p">)</span><spanclass="o">=</span><spanclass="p">(,)</span>
...
...
@@ -3439,6 +3446,7 @@ set to index of the start dimension to broadcast $Y$ onto $X$.</p>
smaller than or equal to the dimensions of $X$.</p>
<p>There are two cases for this operator:
1. The shape of $Y$ is same with $X$;
2. The shape of $Y$ is a subset of $X$.</p>
<p>For case 2:
$Y$ will be broadcasted to match the shape of $X$ and axis should be
2. The shape of $Y$ is a congiguous subsequencet of $X$. The trailing dimensions</p>
<blockquote>
<div>of size 1 for $Y$ will be ignored for the consideration of subsequence.</div></blockquote>
<p>For case 2:</p>
<p>$Y$ will be broadcasted to match the shape of $X$ and axis should be
set to index of the start dimension to broadcast $Y$ onto $X$.</p>
<p>If axis is -1, it is treated as axis=rank(X)-rank(Y).</p>
<dlclass="docutils">
<dt>For example</dt>
<dd><divclass="first last highlight-python"><divclass="highlight"><pre><span></span><spanclass="n">shape</span><spanclass="p">(</span><spanclass="n">X</span><spanclass="p">)</span><spanclass="o">=</span><spanclass="p">(</span><spanclass="mi">2</span><spanclass="p">,</span><spanclass="mi">3</span><spanclass="p">,</span><spanclass="mi">4</span><spanclass="p">,</span><spanclass="mi">5</span><spanclass="p">),</span><spanclass="n">shape</span><spanclass="p">(</span><spanclass="n">Y</span><spanclass="p">)</span><spanclass="o">=</span><spanclass="p">(,)</span>
...
...
@@ -3489,6 +3500,7 @@ set to index of the start dimension to broadcast $Y$ onto $X$.</p>
smaller than or equal to the dimensions of $X$.</p>
<p>There are two cases for this operator:
1. The shape of $Y$ is same with $X$;
2. The shape of $Y$ is a subset of $X$.</p>
<p>For case 2:
$Y$ will be broadcasted to match the shape of $X$ and axis should be
2. The shape of $Y$ is a congiguous subsequencet of $X$. The trailing dimensions</p>
<blockquote>
<div>of size 1 for $Y$ will be ignored for the consideration of subsequence.</div></blockquote>
<p>For case 2:</p>
<p>$Y$ will be broadcasted to match the shape of $X$ and axis should be
set to index of the start dimension to broadcast $Y$ onto $X$.</p>
<p>If axis is -1, it is treated as axis=rank(X)-rank(Y).</p>
<dlclass="docutils">
<dt>For example</dt>
<dd><divclass="first last highlight-python"><divclass="highlight"><pre><span></span><spanclass="n">shape</span><spanclass="p">(</span><spanclass="n">X</span><spanclass="p">)</span><spanclass="o">=</span><spanclass="p">(</span><spanclass="mi">2</span><spanclass="p">,</span><spanclass="mi">3</span><spanclass="p">,</span><spanclass="mi">4</span><spanclass="p">,</span><spanclass="mi">5</span><spanclass="p">),</span><spanclass="n">shape</span><spanclass="p">(</span><spanclass="n">Y</span><spanclass="p">)</span><spanclass="o">=</span><spanclass="p">(,)</span>
...
...
@@ -3539,6 +3554,7 @@ set to index of the start dimension to broadcast $Y$ onto $X$.</p>
smaller than or equal to the dimensions of $X$.</p>
<p>There are two cases for this operator:
1. The shape of $Y$ is same with $X$;
2. The shape of $Y$ is a subset of $X$.</p>
<p>For case 2:
$Y$ will be broadcasted to match the shape of $X$ and axis should be
2. The shape of $Y$ is a congiguous subsequencet of $X$. The trailing dimensions</p>
<blockquote>
<div>of size 1 for $Y$ will be ignored for the consideration of subsequence.</div></blockquote>
<p>For case 2:</p>
<p>$Y$ will be broadcasted to match the shape of $X$ and axis should be
set to index of the start dimension to broadcast $Y$ onto $X$.</p>
<p>If axis is -1, it is treated as axis=rank(X)-rank(Y).</p>
<dlclass="docutils">
<dt>For example</dt>
<dd><divclass="first last highlight-python"><divclass="highlight"><pre><span></span><spanclass="n">shape</span><spanclass="p">(</span><spanclass="n">X</span><spanclass="p">)</span><spanclass="o">=</span><spanclass="p">(</span><spanclass="mi">2</span><spanclass="p">,</span><spanclass="mi">3</span><spanclass="p">,</span><spanclass="mi">4</span><spanclass="p">,</span><spanclass="mi">5</span><spanclass="p">),</span><spanclass="n">shape</span><spanclass="p">(</span><spanclass="n">Y</span><spanclass="p">)</span><spanclass="o">=</span><spanclass="p">(,)</span>
...
...
@@ -3589,6 +3608,7 @@ set to index of the start dimension to broadcast $Y$ onto $X$.</p>
smaller than or equal to the dimensions of $X$.</p>
<p>There are two cases for this operator:
1. The shape of $Y$ is same with $X$;
2. The shape of $Y$ is a subset of $X$.</p>
<p>For case 2:
$Y$ will be broadcasted to match the shape of $X$ and axis should be
2. The shape of $Y$ is a congiguous subsequencet of $X$. The trailing dimensions</p>
<blockquote>
<div>of size 1 for $Y$ will be ignored for the consideration of subsequence.</div></blockquote>
<p>For case 2:</p>
<p>$Y$ will be broadcasted to match the shape of $X$ and axis should be
set to index of the start dimension to broadcast $Y$ onto $X$.</p>
<p>If axis is -1, it is treated as axis=rank(X)-rank(Y).</p>
<dlclass="docutils">
<dt>For example</dt>
<dd><divclass="first last highlight-python"><divclass="highlight"><pre><span></span><spanclass="n">shape</span><spanclass="p">(</span><spanclass="n">X</span><spanclass="p">)</span><spanclass="o">=</span><spanclass="p">(</span><spanclass="mi">2</span><spanclass="p">,</span><spanclass="mi">3</span><spanclass="p">,</span><spanclass="mi">4</span><spanclass="p">,</span><spanclass="mi">5</span><spanclass="p">),</span><spanclass="n">shape</span><spanclass="p">(</span><spanclass="n">Y</span><spanclass="p">)</span><spanclass="o">=</span><spanclass="p">(,)</span>
...
...
@@ -3639,6 +3662,7 @@ set to index of the start dimension to broadcast $Y$ onto $X$.</p>
smaller than or equal to the dimensions of $X$.</p>
<p>There are two cases for this operator:
1. The shape of $Y$ is same with $X$;
2. The shape of $Y$ is a subset of $X$.</p>
<p>For case 2:
$Y$ will be broadcasted to match the shape of $X$ and axis should be
2. The shape of $Y$ is a congiguous subsequencet of $X$. The trailing dimensions</p>
<blockquote>
<div>of size 1 for $Y$ will be ignored for the consideration of subsequence.</div></blockquote>
<p>For case 2:</p>
<p>$Y$ will be broadcasted to match the shape of $X$ and axis should be
set to index of the start dimension to broadcast $Y$ onto $X$.</p>
<p>If axis is -1, it is treated as axis=rank(X)-rank(Y).</p>
<dlclass="docutils">
<dt>For example</dt>
<dd><divclass="first last highlight-python"><divclass="highlight"><pre><span></span><spanclass="n">shape</span><spanclass="p">(</span><spanclass="n">X</span><spanclass="p">)</span><spanclass="o">=</span><spanclass="p">(</span><spanclass="mi">2</span><spanclass="p">,</span><spanclass="mi">3</span><spanclass="p">,</span><spanclass="mi">4</span><spanclass="p">,</span><spanclass="mi">5</span><spanclass="p">),</span><spanclass="n">shape</span><spanclass="p">(</span><spanclass="n">Y</span><spanclass="p">)</span><spanclass="o">=</span><spanclass="p">(,)</span>
...
...
@@ -3689,6 +3716,7 @@ set to index of the start dimension to broadcast $Y$ onto $X$.</p>