broadcastable

dnois.torch.broadcastable(*tensors_or_shapes: Sequence[int] | Tensor) bool

Check whether some tensors or some tensor shapes are broadcastable.

Parameters:

tensors_or_shapes – Some tensors or some tensor shapes.

Returns:

Whether they are broadcastable.

Return type:

bool