config_data.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright (C) 2010-2021 Arm Limited or its affiliates.
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Licensed under the Apache License, Version 2.0 (the License); you may
  7. * not use this file except in compliance with the License.
  8. * You may obtain a copy of the License at
  9. *
  10. * www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  14. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. */
  18. // Generated by generate_test_data.py using TFL version 2.6.0 as reference.
  19. #pragma once
  20. #define BASIC_OUT_CH 1
  21. #define BASIC_IN_CH 1
  22. #define BASIC_INPUT_W 5
  23. #define BASIC_INPUT_H 8
  24. #define BASIC_DST_SIZE 20
  25. #define BASIC_INPUT_SIZE 40
  26. #define BASIC_OUT_ACTIVATION_MIN -128
  27. #define BASIC_OUT_ACTIVATION_MAX 127
  28. #define BASIC_INPUT_BATCHES 1
  29. #define BASIC_INPUT_OFFSET 128
  30. #define BASIC_OUTPUT_OFFSET 127
  31. #define BASIC_FILTER_X 2
  32. #define BASIC_FILTER_Y 4
  33. #define BASIC_STRIDE_X 1
  34. #define BASIC_STRIDE_Y 1
  35. #define BASIC_PAD_X 0
  36. #define BASIC_PAD_Y 0
  37. #define BASIC_OUTPUT_W 4
  38. #define BASIC_OUTPUT_H 5