thunder.clang.maybe_broadcast

thunder.clang.maybe_broadcast(*args, treat_cpu_scalar_tensors_as_numbers=True, expand_fn)[source]

Returns tensors with the same shape, possibly broadcasting inputs to the result shape.

Parameters:

expand_fn (Callable) –