an><span class="pun">[</span><span class="pln">i</span><span class="pun">] = </span><span class="lit">3.0f </span><span class="pun">* </span><span class="pln">xdata</span><span class="pun">[</span><span class="pln">i</span><span class="pun">] + </span><span class="lit">2.0f</span><span class="pun">;
}

</span><span class="com">//Create the model
</span><span class="kwd">auto </span><span class="pln">x </span><span class="pun">= </span><span class="pln">float32</span><span class="pun">([]);
</span><span clas