(args, exclude)
| 1121 | |
| 1122 | |
| 1123 | def _get_broadcast_dims_map_common_coords(args, exclude): |
| 1124 | common_coords = {} |
| 1125 | dims_map = {} |
| 1126 | for arg in args: |
| 1127 | for dim in arg.dims: |
| 1128 | if dim not in common_coords and dim not in exclude: |
| 1129 | dims_map[dim] = arg.sizes[dim] |
| 1130 | if dim in arg._indexes: |
| 1131 | common_coords.update(arg.xindexes.get_all_coords(dim)) |
| 1132 | |
| 1133 | return dims_map, common_coords |
| 1134 | |
| 1135 | |
| 1136 | def _broadcast_helper( |
no test coverage detected
searching dependent graphs…