Skip to main content

broadcast_to

Function broadcast_to 

Source
pub fn broadcast_to(
    a: &NdArrowArray,
    target: &Dimensions,
) -> Result<NdArrowArray>
Expand description

Broadcast a onto target without a copy where possible.

Axes align by name. Each axis of a must be in target with the same size or size 1. The result has the axis order of target.