Home
last modified time | relevance | path

Searched refs:FLAGS (Results 1 – 25 of 32) sorted by relevance

12

/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/train/speech_commands/
A Dgenerate_streaming_test_wav.py52 FLAGS = None variable
89 len(words_list), FLAGS.sample_rate, FLAGS.clip_duration_ms,
90 FLAGS.window_size_ms, FLAGS.window_stride_ms, FLAGS.feature_bin_count,
93 '', FLAGS.data_dir, FLAGS.silence_percentage, 10,
94 FLAGS.wanted_words.split(','), FLAGS.validation_percentage,
95 FLAGS.testing_percentage, model_settings, FLAGS.data_dir)
97 output_audio_sample_count = FLAGS.sample_rate * FLAGS.test_duration_seconds
107 (FLAGS.clip_duration_ms * FLAGS.sample_rate) / 1000)
128 word_stride_ms = FLAGS.clip_duration_ms + FLAGS.word_gap_ms
131 (FLAGS.clip_duration_ms * FLAGS.sample_rate) / 1000)
[all …]
A Dtrain.py85 FLAGS = None variable
100 FLAGS.sample_rate, FLAGS.clip_duration_ms, FLAGS.window_size_ms,
101 FLAGS.window_stride_ms, FLAGS.feature_bin_count, FLAGS.preprocess)
103 FLAGS.data_url, FLAGS.data_dir,
104 FLAGS.silence_percentage, FLAGS.unknown_percentage,
105 FLAGS.wanted_words.split(','), FLAGS.validation_percentage,
106 FLAGS.testing_percentage, model_settings, FLAGS.summaries_dir)
127 if FLAGS.quantize:
148 if FLAGS.check_nans:
157 if FLAGS.quantize:
[all …]
A Dfreeze.py60 FLAGS = None variable
212 if FLAGS.quantize:
226 FLAGS.wanted_words, FLAGS.sample_rate, FLAGS.clip_duration_ms,
227 FLAGS.clip_stride_ms, FLAGS.window_size_ms, FLAGS.window_stride_ms,
228 FLAGS.feature_bin_count, FLAGS.model_architecture, FLAGS.preprocess)
229 if FLAGS.quantize:
237 if FLAGS.save_format == 'graph_def':
238 save_graph_def(FLAGS.output_file, frozen_graph_def)
239 elif FLAGS.save_format == 'saved_model':
243 ' "saved_model")' % (FLAGS.save_format))
[all …]
A Dtest_streaming_accuracy.py77 FLAGS = None variable
112 label_list = read_label_file(FLAGS.labels)
113 sample_rate, data = read_wav_file(FLAGS.wav)
117 average_window_duration_ms=FLAGS.average_window_duration_ms,
118 detection_threshold=FLAGS.detection_threshold,
119 suppression_ms=FLAGS.suppression_ms,
124 stats.read_ground_truth_file(FLAGS.ground_truth)
133 recognize_graph = load_graph(FLAGS.model)
166 if FLAGS.verbose:
168 FLAGS.time_tolerance_ms)
[all …]
A Dwav_to_features.py44 FLAGS = None variable
128 wav_to_features(FLAGS.sample_rate, FLAGS.clip_duration_ms,
129 FLAGS.window_size_ms, FLAGS.window_stride_ms,
130 FLAGS.feature_bin_count, FLAGS.quantize, FLAGS.preprocess,
131 FLAGS.input_wav, FLAGS.output_c_file)
132 tf.compat.v1.logging.info('Wrote to "%s"' % (FLAGS.output_c_file))
185 FLAGS, unparsed = parser.parse_known_args() variable
A Dlabel_wav.py40 FLAGS = None variable
100 label_wav(FLAGS.wav, FLAGS.labels, FLAGS.graph, FLAGS.input_name,
101 FLAGS.output_name, FLAGS.how_many_labels)
128 FLAGS, unparsed = parser.parse_known_args() variable
A Dlabel_wav_dir.py41 FLAGS = None variable
103 label_wav(FLAGS.wav_dir, FLAGS.labels, FLAGS.graph, FLAGS.input_name,
104 FLAGS.output_name, FLAGS.how_many_labels)
131 FLAGS, unparsed = parser.parse_known_args() variable
A Dtrain_test.py121 train.FLAGS = self._getDefaultFlags()
125 os.path.join(train.FLAGS.train_dir,
126 train.FLAGS.model_architecture + '.pbtxt')))
129 os.path.join(train.FLAGS.train_dir,
130 train.FLAGS.model_architecture + '_labels.txt')))
133 os.path.join(train.FLAGS.train_dir,
134 train.FLAGS.model_architecture + '.ckpt-1.meta')))
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/mlir/testing/
A Dgenerate_examples.py149 options.output_path = FLAGS.output_path
150 options.zip_to_output = FLAGS.zip_to_output
151 options.known_bugs_are_errors = FLAGS.known_bugs_are_errors
152 options.ignore_converter_errors = FLAGS.ignore_converter_errors
153 options.save_graphdefs = FLAGS.save_graphdefs
154 options.run_with_flex = FLAGS.run_with_flex
155 options.make_edgetpu_tests = FLAGS.make_edgetpu_tests
160 options.mlir_quantizer = FLAGS.mlir_quantizer
162 if FLAGS.test_sets:
163 test_sets = FLAGS.test_sets.split(",")
[all …]
/AliOS-Things-master/components/SDL2/acinclude/
A Dax_check_compiler_flags.m47 # AX_CHECK_COMPILER_FLAGS(FLAGS, [ACTION-SUCCESS], [ACTION-FAILURE])
11 # Check whether the given compiler FLAGS work with the current language's
57 ax_save_FLAGS=$[]_AC_LANG_PREFIX[]FLAGS
58 _AC_LANG_PREFIX[]FLAGS="$1"
62 _AC_LANG_PREFIX[]FLAGS=$ax_save_FLAGS])],
63 [ax_save_FLAGS=$[]_AC_LANG_PREFIX[]FLAGS
64 _AC_LANG_PREFIX[]FLAGS="$1"
68 _AC_LANG_PREFIX[]FLAGS=$ax_save_FLAGS])
A Dlibtool.m41503 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1515 # Insert the option either (1) after the last *FLAGS variable, or
1521 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1554 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1989 # Insert the option either (1) after the last *FLAGS variable, or
1994 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/
A Dinflate.h22 FLAGS, /* i: waiting for method and flags (gzip) */ enumerator
A Dinflate.c670 state->mode = FLAGS;
706 case FLAGS:
/AliOS-Things-master/components/py_engine/external/unzip/internal/
A Dinflate.h22 FLAGS, /* i: waiting for method and flags (gzip) */ enumerator
/AliOS-Things-master/components/py_engine/external/unzip/src/
A Dinflate.c635 state->mode = FLAGS;
671 case FLAGS:
/AliOS-Things-master/components/SDL2/src/image/autom4te.cache/
A Dtraces.2200 # Insert the option either (1) after the last *FLAGS variable, or
206 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2050 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
2718 m4trace:configure.in:45: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
A Dtraces.01001 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1684 # Insert the option either (1) after the last *FLAGS variable, or
1690 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2830 m4trace:configure.in:45: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
A Dtraces.1406 m4trace:configure.in:45: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
/AliOS-Things-master/components/SDL2/src/image/acinclude/
A Dlibtool.m41403 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1415 # Insert the option either (1) after the last *FLAGS variable, or
1421 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1454 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1875 # Insert the option either (1) after the last *FLAGS variable, or
1880 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
/AliOS-Things-master/components/SDL2/src/gfx/Test/
A Daclocal.m41512 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1524 # Insert the option either (1) after the last *FLAGS variable, or
1530 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1563 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1998 # Insert the option either (1) after the last *FLAGS variable, or
2003 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9036 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
/AliOS-Things-master/components/SDL2/src/gfx/
A Daclocal.m41512 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1524 # Insert the option either (1) after the last *FLAGS variable, or
1530 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1563 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1998 # Insert the option either (1) after the last *FLAGS variable, or
2003 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9036 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/m4/
A Dlibtool.m41574 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1586 # Insert the option either (1) after the last *FLAGS variable, or
1592 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1625 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2069 # Insert the option either (1) after the last *FLAGS variable, or
2074 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/scripts/
A Dlibtool.m41574 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1586 # Insert the option either (1) after the last *FLAGS variable, or
1592 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1625 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2069 # Insert the option either (1) after the last *FLAGS variable, or
2074 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/m4/
A Dlibtool.m41574 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1586 # Insert the option either (1) after the last *FLAGS variable, or
1592 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1625 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2069 # Insert the option either (1) after the last *FLAGS variable, or
2074 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Daclocal.m41588 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1600 # Insert the option either (1) after the last *FLAGS variable, or
1606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1639 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2083 # Insert the option either (1) after the last *FLAGS variable, or
2088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9530 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl

Completed in 80 milliseconds

12