| 666 | } |
| 667 | |
| 668 | af::dim4 tileRepeations(dim4 in, dim4 other) { |
| 669 | af::dim4 out; |
| 670 | for (int i = 0; i < AF_MAX_DIMS; i++) { |
| 671 | out[i] = std::max(dim_t(1), other[i] / in[i]); |
| 672 | } |
| 673 | return out; |
| 674 | } |
| 675 | |
| 676 | TEST_P(Broadcast, Addition) { |
| 677 | auto params = GetParam(); |