Skip to content

Commit

Permalink
fix the position of var (#1030)
Browse files Browse the repository at this point in the history
Co-authored-by: hejunchao <hejunchao@canaan-creative.com>
  • Loading branch information
HeJunchao100813 and hejunchao authored Aug 1, 2023
1 parent 3535d30 commit b375636
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/Native/include/nncase/runtime/simple_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ using dims_t = itlib::small_vector<size_t, 8>;
using axes_t = itlib::small_vector<int64_t, 8>;
using strides_t = itlib::small_vector<size_t, 8>;
using paddings_t = itlib::small_vector<padding, 4>;
using slope_t = itlib::small_vector<float_t, 4>;

template <class... Ints>
auto fixed_dims(Ints &&...values) -> std::array<size_t, sizeof...(Ints)> {
Expand Down
1 change: 1 addition & 0 deletions tests/kernels/test_prelu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
using namespace nncase;
using namespace nncase::runtime;
using namespace ortki;
using slope_t = itlib::small_vector<float_t, 4>;

class PreluTest : public KernelTest,
public ::testing::TestWithParam<
Expand Down

0 comments on commit b375636

Please sign in to comment.