ClikaRT::ops::broadcast_to
function
broadcast_to()
Tensor broadcast_to(Tensor x, ClikaRT::Span<const ScalarOrTensor> shape)
Alias of expand under the NumPy name; same broadcasting rules, same view semantics.
Throws
ClikaRT::Error: (INVALID_ARGUMENT) when a non-1 input dim mismatches its target (code_name()carries the reason).
Returns: a view of x with the requested shape.
Declared in ClikaRT/compute/ops.h, line 3172