Skip to content

Commit f8295bf

Browse files
committed
Trailing spaces and missing override fixed.
1 parent e50711f commit f8295bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test-backend-ops.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3739,7 +3739,7 @@ struct test_conv_2d : public test_case {
37393739
: ne_input(ne_input), ne_kernel(ne_kernel), stride0(stride0), stride1(stride1), padding0(padding0), padding1(padding1), dilation0(dilation0), dilation1(dilation1), cwhn(cwhn) {
37403740
}
37413741

3742-
ggml_tensor * build_graph(ggml_context * ctx) {
3742+
ggml_tensor * build_graph(ggml_context * ctx) override {
37433743
ggml_tensor * input = ggml_new_tensor(ctx, GGML_TYPE_F32, 4, ne_input.data());
37443744
ggml_set_name(input, "input");
37453745

@@ -5078,7 +5078,7 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_eval() {
50785078
uint32_t kwh_idx = 1;
50795079
uint32_t Cout_idx = 2;
50805080
uint32_t Cin_idx = 3;
5081-
uint32_t B_idx = 4;
5081+
uint32_t B_idx = 4;
50825082

50835083
std::vector<std::array<int, 5>> cases = {
50845084
//{IWH, KWH, Cout, Cin, B}
@@ -5103,10 +5103,10 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_eval() {
51035103
// A deep layer of a ConvNet, several images in the batch
51045104
{16, 3, 256, 128, 8}
51055105
};
5106-
5106+
51075107
for(auto act_case : cases){
51085108
test_cases.emplace_back(new test_conv_2d({act_case[iwh_idx], act_case[iwh_idx], act_case[Cin_idx], act_case[B_idx]}, {act_case[kwh_idx], act_case[kwh_idx], act_case[Cin_idx], act_case[Cout_idx]}, 1, 1, 0, 0, 1, 1, false));
5109-
}
5109+
}
51105110
#endif
51115111

51125112
// CONV_2D:

0 commit comments

Comments
 (0)