| 528 | for (int64_t i1 = 0; i1 < tensor->ne[1]; ++i1) { |
| 529 | for (int64_t i0 = 0; i0 < tensor->ne[0]; ++i0) { |
| 530 | const char * ptr = base |
| 531 | + i0 * tensor->nb[0] |
| 532 | + i1 * tensor->nb[1] |
| 533 | + i2 * tensor->nb[2] |
| 534 | + i3 * tensor->nb[3]; |
| 535 | std::memcpy(&values[out_index++], ptr, sizeof(T)); |
no outgoing calls
no test coverage detected