TinyTrainable
Loading...
Searching...
No Matches
main_functions.h
Go to the documentation of this file.
1
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
2
3
Licensed under the Apache License, Version 2.0 (the "License");
4
you may not use this file except in compliance with the License.
5
You may obtain a copy of the License at
6
7
http://www.apache.org/licenses/LICENSE-2.0
8
9
Unless required by applicable law or agreed to in writing, software
10
distributed under the License is distributed on an "AS IS" BASIS,
11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
See the License for the specific language governing permissions and
13
limitations under the License.
14
==============================================================================*/
15
16
#ifndef TENSORFLOW_LITE_MICRO_EXAMPLES_MICRO_SPEECH_MAIN_FUNCTIONS_H_
17
#define TENSORFLOW_LITE_MICRO_EXAMPLES_MICRO_SPEECH_MAIN_FUNCTIONS_H_
18
19
// Expose a C friendly interface for main functions.
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
24
// Initializes all data needed for the example. The name is important, and needs
25
// to be setup() for Arduino compatibility.
26
void
setup
();
27
28
// Runs one iteration of data gathering and inference. This should be called
29
// repeatedly from the application code. The name needs to be loop() for Arduino
30
// compatibility.
31
void
loop
();
32
33
#ifdef __cplusplus
34
}
35
#endif
36
37
#endif
// TENSORFLOW_LITE_MICRO_EXAMPLES_MICRO_SPEECH_MAIN_FUNCTIONS_H_
setup
void setup()
loop
void loop()
src
tensorflow_speech
main_functions.h
Generated by
1.9.6