keras/src/ops/numpy.py/BroadcastTo/compute_output_spec
class BroadcastTo:    def compute_output_spec(self, x):
        # Catch broadcasting errors for clear error messages.
        broadcast_shapes(x.shape, self.shape)
        return KerasTensor(self.shape, dtype=x.dtype)