Function tc_tensor::broadcast

source ·
pub fn broadcast<L, R>(
    left: L,
    right: R
) -> TCResult<(L::Broadcast, R::Broadcast)>where
    L: TensorAccess + TensorTransform,
    R: TensorAccess + TensorTransform,
Expand description

Broadcast the given left and right tensors into their broadcast_shape.