Skip to content

Commit ab63281

Browse files
committed
更改了文件组成方式
1 parent e3a3480 commit ab63281

8 files changed

Lines changed: 3 additions & 35 deletions

File tree

tensorflow/lite/micro/SConscript

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,45 +4,13 @@ import os
44
if GetDepend(['PKG_USING_TENSORFLOWLITEMICRO_REFERENCE']):
55
src = Glob('kernels/*.cc') + Glob('*.c') + Glob('*.cc') + Glob('benchmarks/*.cc') \
66
+ Glob('examples/micro_speech/*.cc') + Glob('examples/micro_speech/micro_features/*.cc') \
7-
+ Glob('memory_planner/*.cc') + Glob('testing/*.cc')
7+
+ Glob('memory_planner/*.cc') + Glob('testing/*.cc') + Glob('kernels/reference/*.cc')
88

99
if GetDepend(['PKG_USING_TENSORFLOWLITEMICRO_CMSISNN']):
10-
src = Split('''
11-
kernels/activations.cc
12-
kernels/arg_min_max.cc
13-
kernels/ceil.cc
14-
kernels/circular_buffer.cc
15-
kernels/comparisons.cc
16-
kernels/concatenation.cc
17-
kernels/dequantize.cc
18-
kernels/elementwise.cc
19-
kernels/ethosu.cc
20-
kernels/floor.cc
21-
kernels/hard_swish.cc
22-
kernels/kernel_runner.cc
23-
kernels/kernel_util.cc
24-
kernels/l2norm.cc
25-
kernels/logical.cc
26-
kernels/logistic.cc
27-
kernels/maximum_minimum.cc
28-
kernels/neg.cc
29-
kernels/pack.cc
30-
kernels/pad.cc
31-
kernels/prelu.cc
32-
kernels/quantize.cc
33-
kernels/reduce.cc
34-
kernels/reshape.cc
35-
kernels/resize_nearest_neighbor.cc
36-
kernels/round.cc
37-
kernels/split.cc
38-
kernels/strided_slice.cc
39-
kernels/sub.cc
40-
kernels/svdf.cc
41-
kernels/tanh.cc
42-
kernels/unpack.cc
43-
''') + Glob('*.c') + Glob('*.cc') + Glob('benchmarks/*.cc') \
10+
src = Glob('kernels/*.cc') + Glob('*.c') + Glob('*.cc') + Glob('benchmarks/*.cc') \
4411
+ Glob('examples/micro_speech/*.cc') + Glob('examples/micro_speech/micro_features/*.cc') \
4512
+ Glob('memory_planner/*.cc') + Glob('testing/*.cc') + Glob('kernels/cmsis-nn/*.cc')
13+
4614
src += Glob('tools/make/downloads/cmsis/CMSIS/NN/Source/ActivationFunctions/*.c')
4715
src += Glob('tools/make/downloads/cmsis/CMSIS/NN/Source/BasicMathFunctions/*.c')
4816
src += Glob('tools/make/downloads/cmsis/CMSIS/NN/Source/ConcatenationFunctions/*.c')
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)