| 4359 | } |
| 4360 | |
| 4361 | void StrictReduceIntArrayAxisInferMeta(const MetaTensor& x, |
| 4362 | const IntArray& axis, |
| 4363 | bool keep_dim, |
| 4364 | MetaTensor* out, |
| 4365 | MetaConfig config) { |
| 4366 | bool reduce_all = false; |
| 4367 | if (axis.size() == 0) { |
| 4368 | reduce_all = true; |
| 4369 | } |
| 4370 | StrictReduceIntArrayAxisInferMetaBase( |
| 4371 | x, axis, keep_dim, reduce_all, out, config); |
| 4372 | } |
| 4373 | |
| 4374 | void ReduceScatterInferMeta(const MetaTensor& x, int nranks, MetaTensor* out) { |
| 4375 | auto dim = x.dims(); |
nothing calls this directly
no test coverage detected