<spanclass="n">AddInput</span><spanclass="p">(</span><spanclass="s2">"X"</span><spanclass="p">,</span><spanclass="s2">"The first input of mul op"</span><spanclass="p">);</span>
<spanclass="n">AddInput</span><spanclass="p">(</span><spanclass="s2">"Y"</span><spanclass="p">,</span><spanclass="s2">"The second input of mul op"</span><spanclass="p">);</span>
<spanclass="n">AddOutput</span><spanclass="p">(</span><spanclass="s2">"Out"</span><spanclass="p">,</span><spanclass="s2">"The output of mul op"</span><spanclass="p">);</span>
<spanclass="n">AddInput</span><spanclass="p">(</span><spanclass="s">"X"</span><spanclass="p">,</span><spanclass="s">"The first input of mul op"</span><spanclass="p">);</span>
<spanclass="n">AddInput</span><spanclass="p">(</span><spanclass="s">"Y"</span><spanclass="p">,</span><spanclass="s">"The second input of mul op"</span><spanclass="p">);</span>
<spanclass="n">AddOutput</span><spanclass="p">(</span><spanclass="s">"Out"</span><spanclass="p">,</span><spanclass="s">"The output of mul op"</span><spanclass="p">);</span>
<spanclass="n">AddAttr</span><spanclass="o"><</span><spanclass="n">AttrType</span><spanclass="o">></span><spanclass="p">(</span><spanclass="s2">"scale"</span><spanclass="p">,</span><spanclass="s2">"scale of scale operator."</span><spanclass="p">)</span><spanclass="o">.</span><spanclass="n">SetDefault</span><spanclass="p">(</span><spanclass="mf">1.0</span><spanclass="p">);</span>
<spanclass="n">AddAttr</span><spanclass="o"><</span><spanclass="n">AttrType</span><spanclass="o">></span><spanclass="p">(</span><spanclass="s">"scale"</span><spanclass="p">,</span><spanclass="s">"scale of scale operator."</span><spanclass="p">).</span><spanclass="n">SetDefault</span><spanclass="p">(</span><spanclass="mf">1.0</span><spanclass="p">);</span>