Infer shape broadcast