Spelling (#342)
* spelling: accumulates Signed-off-by: Josh Soref <[email protected]> * spelling: across Signed-off-by: Josh Soref <[email protected]> * spelling: additional Signed-off-by: Josh Soref <[email protected]> * spelling: against Signed-off-by: Josh Soref <[email protected]> * spelling: among Signed-off-by: Josh Soref <[email protected]> * spelling: array Signed-off-by: Josh Soref <[email protected]> * spelling: at least Signed-off-by: Josh Soref <[email protected]> * spelling: available Signed-off-by: Josh Soref <[email protected]> * spelling: axes Signed-off-by: Josh Soref <[email protected]> * spelling: basically Signed-off-by: Josh Soref <[email protected]> * spelling: bfloat Signed-off-by: Josh Soref <[email protected]> * spelling: bounds Signed-off-by: Josh Soref <[email protected]> * spelling: broadcast Signed-off-by: Josh Soref <[email protected]> * spelling: buffer Signed-off-by: Josh Soref <[email protected]> * spelling: class Signed-off-by: Josh Soref <[email protected]> * spelling: coefficients Signed-off-by: Josh Soref <[email protected]> * spelling: collision Signed-off-by: Josh Soref <[email protected]> * spelling: combinations Signed-off-by: Josh Soref <[email protected]> * spelling: committing Signed-off-by: Josh Soref <[email protected]> * spelling: computation Signed-off-by: Josh Soref <[email protected]> * spelling: consider Signed-off-by: Josh Soref <[email protected]> * spelling: constructing Signed-off-by: Josh Soref <[email protected]> * spelling: conversions Signed-off-by: Josh Soref <[email protected]> * spelling: correctly Signed-off-by: Josh Soref <[email protected]> * spelling: corresponding Signed-off-by: Josh Soref <[email protected]> * spelling: declaration Signed-off-by: Josh Soref <[email protected]> * spelling: default Signed-off-by: Josh Soref <[email protected]> * spelling: dependency Signed-off-by: Josh Soref <[email protected]> * spelling: destination Signed-off-by: Josh Soref <[email protected]> * spelling: destructor Signed-off-by: Josh Soref <[email protected]> * spelling: dimensions Signed-off-by: Josh Soref <[email protected]> * spelling: divided Signed-off-by: Josh Soref <[email protected]> * spelling: element-wise Signed-off-by: Josh Soref <[email protected]> * spelling: elements Signed-off-by: Josh Soref <[email protected]> * spelling: endianness Signed-off-by: Josh Soref <[email protected]> * spelling: equivalent Signed-off-by: Josh Soref <[email protected]> * spelling: explicitly Signed-off-by: Josh Soref <[email protected]> * spelling: github Signed-off-by: Josh Soref <[email protected]> * spelling: indices Signed-off-by: Josh Soref <[email protected]> * spelling: irregularly Signed-off-by: Josh Soref <[email protected]> * spelling: memory Signed-off-by: Josh Soref <[email protected]> * spelling: metallib Signed-off-by: Josh Soref <[email protected]> * spelling: negative Signed-off-by: Josh Soref <[email protected]> * spelling: notable Signed-off-by: Josh Soref <[email protected]> * spelling: optional Signed-off-by: Josh Soref <[email protected]> * spelling: otherwise Signed-off-by: Josh Soref <[email protected]> * spelling: overridden Signed-off-by: Josh Soref <[email protected]> * spelling: partially Signed-off-by: Josh Soref <[email protected]> * spelling: partition Signed-off-by: Josh Soref <[email protected]> * spelling: perform Signed-off-by: Josh Soref <[email protected]> * spelling: perturbations Signed-off-by: Josh Soref <[email protected]> * spelling: positively Signed-off-by: Josh Soref <[email protected]> * spelling: primitive Signed-off-by: Josh Soref <[email protected]> * spelling: repeat Signed-off-by: Josh Soref <[email protected]> * spelling: repeats Signed-off-by: Josh Soref <[email protected]> * spelling: respect Signed-off-by: Josh Soref <[email protected]> * spelling: respectively Signed-off-by: Josh Soref <[email protected]> * spelling: result Signed-off-by: Josh Soref <[email protected]> * spelling: rounding Signed-off-by: Josh Soref <[email protected]> * spelling: separate Signed-off-by: Josh Soref <[email protected]> * spelling: skipping Signed-off-by: Josh Soref <[email protected]> * spelling: structure Signed-off-by: Josh Soref <[email protected]> * spelling: the Signed-off-by: Josh Soref <[email protected]> * spelling: transpose Signed-off-by: Josh Soref <[email protected]> * spelling: unnecessary Signed-off-by: Josh Soref <[email protected]> * spelling: unneeded Signed-off-by: Josh Soref <[email protected]> * spelling: unsupported Signed-off-by: Josh Soref <[email protected]> --------- Signed-off-by: Josh Soref <[email protected]>
This commit is contained in:
+3
-3
@@ -1411,7 +1411,7 @@ TEST_CASE("test broadcast") {
|
||||
x.eval();
|
||||
CHECK_EQ(x.strides(), std::vector<size_t>{0, 0, 1});
|
||||
|
||||
// Broadcast on transposed arrray works
|
||||
// Broadcast on transposed array works
|
||||
x = array({0, 1, 2, 3, 4, 5}, {2, 3});
|
||||
x = broadcast_to(transpose(x), {2, 3, 2});
|
||||
CHECK_EQ(x.shape(), std::vector<int>{2, 3, 2});
|
||||
@@ -1733,7 +1733,7 @@ TEST_CASE("test scatter") {
|
||||
out = scatter(in, inds, updates, 0);
|
||||
CHECK(array_equal(out, reshape(arange(16, float32), {4, 4})).item<bool>());
|
||||
|
||||
// Irregular strided index and reduce collison test
|
||||
// Irregular strided index and reduce collision test
|
||||
in = zeros({10}, float32);
|
||||
inds = broadcast_to(array(3), {10});
|
||||
updates = ones({10, 1}, float32);
|
||||
@@ -1750,7 +1750,7 @@ TEST_CASE("test scatter") {
|
||||
out = scatter_max(array(1), {}, array(2), std::vector<int>{});
|
||||
CHECK_EQ(out.item<int>(), 2);
|
||||
|
||||
// Irregularaly strided updates test
|
||||
// Irregularly strided updates test
|
||||
in = ones({3, 3});
|
||||
updates = broadcast_to(array({0, 0, 0}), {1, 3, 3});
|
||||
inds = array({0});
|
||||
|
||||
Reference in New Issue
Block a user