config_data.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Copyright (C) 2010-2021 Arm Limited or its affiliates. All rights reserved.
  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.4.1 as reference.
  19. #pragma once
  20. #define SVDF_INPUT_OFFSET 0
  21. #define SVDF_OUTPUT_OFFSET 0
  22. #define SVDF_MULTIPLIER_IN 1347440720
  23. #define SVDF_MULTIPLIER_OUT 1073741824
  24. #define SVDF_SHIFT_1 -4
  25. #define SVDF_SHIFT_2 1
  26. #define SVDF_IN_ACTIVATION_MIN -32767
  27. #define SVDF_IN_ACTIVATION_MAX 32767
  28. #define SVDF_RANK 8
  29. #define SVDF_FEATURE_BATCHES 24
  30. #define SVDF_TIME_BATCHES 8
  31. #define SVDF_INPUT_SIZE 3
  32. #define SVDF_DST_SIZE 6
  33. #define SVDF_OUT_ACTIVATION_MIN -128
  34. #define SVDF_OUT_ACTIVATION_MAX 127
  35. #define SVDF_INPUT_BATCHES 2