def broadcast_to

stelliferous@0.0.2.0 · tensor_f32.bend:360

import stelliferous@0.0.2.0/tensor_f32.bend as TensorF32
import Base
import stelliferous@0.0.2.0/tensor_layout.bend as Layout

360# The tensor repeated to shape under NumPy broadcasting; add, sub, mul, max
361# and min broadcast their operands in the same way.
362def broadcast_to(tensor: Tensor(),+shape: List<&2,U32>) -> Tensor():
363  Layout.broadcast_to(~F32,tensor,shape)

Uses (5)

Used by (0)

No other definition uses this definition.