Merge pull request #28593 from csukuangfj:fix-typos

PiperOrigin-RevId: 255334051
This commit is contained in:
TensorFlower Gardener 2019-06-26 23:53:15 -07:00
commit 51b4b90060
6 changed files with 6 additions and 10 deletions

View File

@ -5,7 +5,7 @@
* **hanning.cc**: Precomputed
[Hann window](https://en.wikipedia.org/wiki/Hann_function) for use in the
preprocessor. This file is created in ../create_constants.py
* **hanning.h**: Header file fro hanning.cc
* **hanning.h**: Header file for hanning.cc
* **preprocessor.cc**: CMSIS version of the preprocessor
* **sin_1k.cc**: A 1 kHZ sinusoid used for comparing the CMSIS preprocessor
with the Micro-Lite fixed_point preprocessor

View File

@ -48,7 +48,7 @@ def to_h(_, varname, directory=''):
xstr += '#include <cstdint>\n\n'
xstr += 'extern const int g_{}_size;\n'.format(varname)
xstr += 'extern const int16_t g_{}[];\n\n'.format(varname)
xstr += '#endif'
xstr += '#endif // {}{}_H_'.format(tf_prepend, varname.upper())
with open(directory + varname + '.h', 'w') as f:
f.write(xstr)

View File

@ -251,7 +251,7 @@ tensorflow/examples/speech_commands:train -- \
--wanted_words="yes,no" --silence_percentage=25 --unknown_percentage=25 --quantize=1
```
After build is over follow the rest of the instrucitons from this tutorial. And
After build is over follow the rest of the instructions from this tutorial. And
finally do not forget to remove the instance when training is done:
```

View File

@ -36,7 +36,7 @@ TfLiteStatus GetAudioSamples(tflite::ErrorReporter* error_reporter,
// Returns the time that audio data was last captured in milliseconds. There's
// no contract about what time zero represents, the accuracy, or the granularity
// of the result. Subsequent calls will generally not return a lower value, but
// even that's not guaranteed if there's an overflow wraparound.
// even that's not guaranteed if there's an overflow wraparound.
// The reference implementation of this function just returns a constantly
// incrementing value for each call, since it would need a non-portable platform
// call to access time information. For real applications, you'll need to write

View File

@ -150,17 +150,13 @@ ARDUINO_PROJECT_FILES := \
ALL_PROJECT_TARGETS :=
KEIL_PROJECT_FILES := \
README_KEIL.md \
keil_project.uvprojx
include $(MAKEFILE_DIR)/third_party_downloads.inc
THIRD_PARTY_DOWNLOADS :=
$(eval $(call add_third_party_download,$(GEMMLOWP_URL),$(GEMMLOWP_MD5),gemmlowp,))
$(eval $(call add_third_party_download,$(FLATBUFFERS_URL),$(FLATBUFFERS_MD5),flatbuffers,))
# These target-specific makefiles should modify or replace options like
# CXXFLAGS or LIBS to work for a specific targetted architecture. All logic
# CXXFLAGS or LIBS to work for a specific targeted architecture. All logic
# based on platforms or architectures should happen within these files, to
# keep this main makefile focused on the sources and dependencies.
include $(wildcard $(MAKEFILE_DIR)/targets/*_makefile.inc)

View File

@ -37,7 +37,7 @@ def flatbuffer_library_public(
flatc_args: Optional, list of additional arguments to pass to flatc.
reflection_name: Optional, if set this will generate the flatbuffer
reflection binaries for the schemas.
reflection_visiblity: The visibility of the generated reflection Fileset.
reflection_visibility: The visibility of the generated reflection Fileset.
output_to_bindir: Passed to genrule for output to bin directory.
"""
include_paths_cmd = ["-I %s" % (s) for s in include_paths]