You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`strided_dim<>` is another alias for `dim<>` where the min and extent are unknown, and the stride may be a compile-time constant.
177
-
[`image.h`](image.h) is a small helper library of typical image shape and object types defined using arrays, including `chunky_image_shape`.
177
+
[`image.h`](include/array/image.h) is a small helper library of typical image shape and object types defined using arrays, including `chunky_image_shape`.
178
178
179
179
Another common example is matrices indexed `(row, column)` with the column dimension stored densely:
[`matrix.h`](matrix.h) is a small helper library of typical matrix shape and object types defined using arrays, including the examples above.
206
+
[`matrix.h`](include/array/matrix.h) is a small helper library of typical matrix shape and object types defined using arrays, including the examples above.
207
207
208
208
### Slicing, cropping, and splitting
209
209
@@ -250,7 +250,7 @@ This allows potentially significant optimizations to be expressed relatively eas
250
250
251
251
### Einstein reductions
252
252
253
-
The [`ein_reduce.h`](ein_reduce.h) header provides [Einstein notation](https://en.wikipedia.org/wiki/Einstein_notation) reductions and summation helpers, similar to [np.einsum](https://numpy.org/doc/stable/reference/generated/numpy.einsum.html) or [tf.einsum](https://www.tensorflow.org/api_docs/python/tf/einsum).
253
+
The [`ein_reduce.h`](include/array/ein_reduce.h) header provides [Einstein notation](https://en.wikipedia.org/wiki/Einstein_notation) reductions and summation helpers, similar to [np.einsum](https://numpy.org/doc/stable/reference/generated/numpy.einsum.html) or [tf.einsum](https://www.tensorflow.org/api_docs/python/tf/einsum).
254
254
These are zero-cost abstractions for describing loops that allow expressing a wide variety of array operations.
255
255
Einstein notation expression operands are constructed using the `ein<i, j, ...>(x)` helper function, where `x` can be any callable object, including an `array<>` or `array_ref<>`.
256
256
`i, j, ...` are `constexpr` integers indicating which dimensions of the reduction operation are used to evaluate `x`.
0 commit comments