You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

pooling.cpp 834 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * \file dnn/test/armv7/pooling.cpp
  3. * MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
  4. *
  5. * Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
  6. *
  7. * Unless required by applicable law or agreed to in writing,
  8. * software distributed under the License is distributed on an
  9. * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. */
  11. #include "test/armv7/fixture.h"
  12. #include "test/common/checker.h"
  13. #include "test/common/pooling.h"
  14. namespace megdnn {
  15. namespace test {
  16. TEST_F(ARMV7, POOLING) {
  17. auto args = pooling::get_args();
  18. for (auto&& arg : args) {
  19. Checker<Pooling> checker(handle());
  20. checker.set_param(arg.param).exec(TensorShapeArray{arg.ishape, {}});
  21. }
  22. }
  23. } // namespace test
  24. } // namespace megdnn
  25. // vim: syntax=cpp.doxygen