Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ARM-software/ML-KWS-for-MCU
/ functions
Functions
1,261 in github.com/ARM-software/ML-KWS-for-MCU
⨍
Functions
1,261
◇
Types & classes
551
↓ 78 callers
Function
generate
Deployment/Examples/simple_test_k64f_gcc/mbed/platform/Callback.h:586
↓ 65 callers
Function
__DSB
\brief Data Synchronization Barrier \details Acts as a special kind of Data Memory Barrier. It completes when all explicit memory acces
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/cmsis_gcc.h:831
↓ 35 callers
Function
__ISB
\brief Instruction Synchronization Barrier \details Instruction Synchronization Barrier flushes the pipeline in the processor, so that
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/cmsis_gcc.h:820
↓ 17 callers
Function
__SSAT
\brief Signed Saturate \details Saturates a signed value. \param [in] value Value to be saturated \param [in] sat Bit position to satura
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/cmsis_gcc.h:1248
↓ 13 callers
Method
call
simple test function */
Deployment/Examples/simple_test_k64f_gcc/mbed/platform/CThunk.h:165
↓ 11 callers
Method
set_size
Calculates the number of samples in the dataset partition. Args: mode: Which partition, must be 'training', 'validation', or 'testing'.
input_data.py:387
↓ 9 callers
Function
callback
Deployment/Examples/simple_test_k64f_gcc/mbed/platform/Callback.h:3539
↓ 9 callers
Method
get_data
Gather samples from the data set, applying transformations as needed. When the mode is 'training', a random selection of samples will be returned
input_data.py:398
↓ 8 callers
Function
open
Deployment/Examples/simple_test_k64f_gcc/mbed/platform/FileSystemLike.h:63
↓ 7 callers
Function
call
Call the attached function */
Deployment/Examples/simple_test_k64f_gcc/mbed/platform/Callback.h:527
↓ 7 callers
Method
read
Return the current output duty-cycle setting, measured as a percentage (float) * * @returns * A floating-point value representin
Deployment/Examples/simple_test_k64f_gcc/mbed/drivers/PwmOut.h:96
↓ 6 callers
Function
lock
Deployment/Examples/simple_test_k64f_gcc/mbed/platform/CriticalSectionLock.h:77
↓ 6 callers
Function
unlock
Deployment/Examples/simple_test_k64f_gcc/mbed/platform/CriticalSectionLock.h:89
↓ 4 callers
Function
__CLZ
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/cmsis_iccarm.h:312
↓ 4 callers
Function
add_common
Deployment/Examples/simple_test_k64f_gcc/mbed/drivers/InterruptManager.h:173
↓ 4 callers
Method
write
Set the ouput duty-cycle, specified as a percentage (float) * * @param value A floating-point value representing the output duty-cycle,
Deployment/Examples/simple_test_k64f_gcc/mbed/drivers/PwmOut.h:79
↓ 3 callers
Function
CLOCK_DisableClock
! * @brief Disable the clock for specific IP. * * @param name Which clock to disable, see \ref clock_ip_name_t. */
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/drivers/fsl_clock.h:720
↓ 3 callers
Function
__QADD
* @brief C custom defined QADD for M3 and M0 processors */
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/arm_math.h:874
↓ 3 callers
Function
__QSUB
* @brief C custom defined QSUB for M3 and M0 processors */
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/arm_math.h:885
↓ 3 callers
Method
_norm
(self, inp, scope)
models.py:863
↓ 3 callers
Function
clip_q63_to_q31
* @brief Clips Q63 to Q31 values. */
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/arm_math.h:526
↓ 3 callers
Method
get_num_frames
Deployment/Source/NN/nn.cpp:36
↓ 3 callers
Method
get_wav_files
Return wav_file names and labels from train/val/test sets.
input_data.py:489
↓ 3 callers
Function
gpio_is_connected
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/TARGET_Freescale/TARGET_MCUXpresso_MCUS/api/gpio_object.h:27
↓ 3 callers
Function
orderedCpy
Memcopy with strictly ordered memory access, e.g. for register targets. * \param dst Destination data is copied to. * \param src Source data is copi
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/mpu_armv8.h:264
↓ 2 callers
Function
ARM_MPU_ClrRegionEx
Clear and disable the given MPU region of the given MPU. * \param mpu Pointer to MPU to be used. * \param rnr Region number to be cleared. */
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/mpu_armv8.h:200
↓ 2 callers
Function
ARM_MPU_LoadEx
Load the given number of MPU regions from a table to the given MPU. * \param mpu Pointer to the MPU registers to be used. * \param rnr First region
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/mpu_armv8.h:279
↓ 2 callers
Function
ARM_MPU_SetMemAttrEx
Set the memory attribute encoding to the given MPU. * \param mpu Pointer to the MPU to be configured. * \param idx The attribute index to be set [0-
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/mpu_armv8.h:163
↓ 2 callers
Function
ARM_MPU_SetRegionEx
Configure the given MPU region of the given MPU. * \param mpu Pointer to MPU to be used. * \param rnr Region number to be configured. * \param rbar
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/mpu_armv8.h:230
↓ 2 callers
Function
__disable_irq
\brief Disable IRQ Interrupts \details Disables IRQ interrupts by setting the I-bit in the CPSR. Can only be executed in Privileged mod
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/cmsis_gcc.h:137
↓ 2 callers
Method
_linear
(self, args, copy)
models.py:874
↓ 2 callers
Function
arm_sqrt_f32
* @brief Floating-point square root function. * @param[in] in input value. * @param[out] pOut square root of input value. * @return The
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/arm_math.h:5759
↓ 2 callers
Function
call
Deployment/Examples/simple_test_k64f_gcc/mbed/platform/FunctionPointer.h:52
↓ 2 callers
Method
classify
Deployment/Source/KWS/kws.cpp:70
↓ 2 callers
Function
debug
Output a debug message * * @param format printf-style format string, followed by variables */
Deployment/Examples/simple_test_k64f_gcc/mbed/platform/mbed_debug.h:40
↓ 2 callers
Function
debug_on
* Allows traces from modem to be turned on or off * * @param on set as 1 to turn on traces and vice versa. */
Deployment/Examples/simple_test_k64f_gcc/mbed/platform/ATCmdParser.h:171
↓ 2 callers
Method
extract_features
Deployment/Source/KWS/kws.cpp:56
↓ 2 callers
Method
get_top_class
Deployment/Source/KWS/kws.cpp:77
↓ 2 callers
Function
orderedCpy
Memcopy with strictly ordered memory access, e.g. for register targets. * \param dst Destination data is copied to. * \param src Source data is copi
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/mpu_armv7.h:167
↓ 2 callers
Function
run_kws
Deployment/Examples/realtime_test/main.cpp:105
↓ 2 callers
Function
set_delimiter
* Sets string of characters to use as line delimiters * * @param output_delimiter string of characters to use as line delimiters */
Deployment/Examples/simple_test_k64f_gcc/mbed/platform/ATCmdParser.h:145
↓ 2 callers
Function
set_timeout
* Allows timeout to be changed between commands * * @param timeout timeout of the connection */
Deployment/Examples/simple_test_k64f_gcc/mbed/platform/ATCmdParser.h:120
↓ 1 callers
Function
I2C_MasterClearStatusFlags
! * @brief Clears the I2C status flag state. * * The following status register flags can be cleared kI2C_ArbitrationLostFlag and kI2C_IntPending
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/drivers/fsl_i2c.h:435
↓ 1 callers
Function
NonCopyable
* Disallow construction of NonCopyable objects from outside of its hierarchy. */
Deployment/Examples/simple_test_k64f_gcc/mbed/platform/NonCopyable.h:155
↓ 1 callers
Function
SCB_CleanInvalidateDCache
\brief Clean & Invalidate D-Cache \details Cleans and Invalidates D-Cache */
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/core_cm7.h:2413
↓ 1 callers
Function
SCB_InvalidateICache
\brief Invalidate I-Cache \details Invalidates I-Cache */
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/core_cm7.h:2251
↓ 1 callers
Function
TZ_NVIC_SetPriority_NS
\brief Set Interrupt Priority (non-secure) \details Sets the priority of a non-secure device specific interrupt or a non-secure processor exceptio
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/core_armv8mbl.h:1706
↓ 1 callers
Function
TZ_NVIC_SetPriority_NS
\brief Set Interrupt Priority (non-secure) \details Sets the priority of a non-secure device specific interrupt or a non-secure processor exceptio
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/core_armv8mml.h:2680
↓ 1 callers
Function
TZ_NVIC_SetPriority_NS
\brief Set Interrupt Priority (non-secure) \details Sets the priority of a non-secure device specific interrupt or a non-secure processor exceptio
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/core_cm23.h:1706
↓ 1 callers
Function
TZ_NVIC_SetPriority_NS
\brief Set Interrupt Priority (non-secure) \details Sets the priority of a non-secure device specific interrupt or a non-secure processor exceptio
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/core_cm33.h:2680
↓ 1 callers
Function
__LDAEXB
\brief Load-Acquire Exclusive (8 bit) \details Executes a LDAB exclusive instruction for 8 bit value. \param [in] ptr Pointer to data \ret
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/cmsis_gcc.h:1376
↓ 1 callers
Function
__SMLALD
* @brief C custom defined SMLALD for M3 and M0 processors */
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/arm_math.h:938
↓ 1 callers
Function
__SMUAD
* @brief C custom defined SMUAD for M3 and M0 processors */
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/arm_math.h:968
↓ 1 callers
Function
__STL
\brief Store-Release (32 bit) \details Executes a STL instruction for 32 bit values. \param [in] value Value to store \param [in] ptr Po
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/cmsis_gcc.h:1364
↓ 1 callers
Function
__STLH
\brief Store-Release (16 bit) \details Executes a STLH instruction for 16 bit values. \param [in] value Value to store \param [in] ptr P
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/cmsis_gcc.h:1352
↓ 1 callers
Function
__enable_irq
\brief Enable IRQ Interrupts \details Enables IRQ interrupts by clearing the I-bit in the CPSR. Can only be executed in Privileged mode
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/cmsis_gcc.h:126
↓ 1 callers
Function
__get_PRIMASK
\brief Get Priority Mask \details Returns the current state of the priority mask bit from the Priority Mask Register. \return Prio
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/cmsis_gcc.h:379
↓ 1 callers
Function
__set_PRIMASK
\brief Set Priority Mask \details Assigns the given value to the Priority Mask Register. \param [in] priMask Priority Mask */
Deployment/Examples/simple_test_k64f_gcc/mbed/TARGET_K64F/cmsis_gcc.h:409
↓ 1 callers
Function
_depthwise_separable_conv
Helper function to build the depth-wise separable convolution layer.
models.py:1093
↓ 1 callers
Function
_depthwise_separable_conv
Helper function to build the depth-wise separable convolution layer.
quant_models.py:209
↓ 1 callers
Function
arm_avepool_q7_HWC_nonsquare
Deployment/Source/local_NN/arm_avepool_q7_HWC_nonsquare.c:5
↓ 1 callers
Function
attach_us
Attach a function to be called by the Ticker, specifying the interval in micro-seconds * * @param func pointer to the function to be call
Deployment/Examples/simple_test_k64f_gcc/mbed/drivers/Ticker.h:115
↓ 1 callers
Method
average_predictions
Deployment/Source/KWS/kws.cpp:90
↓ 1 callers
Function
calculate_rgb
Deployment/Examples/realtime_test/plot_utils.cpp:77
↓ 1 callers
Method
close
Deployment/Examples/simple_test_k64f_gcc/mbed/drivers/SerialWireOutput.h:65
↓ 1 callers
Function
create_basic_lstm_model
Builds a model with a basic lstm layer (without output projection and peep-hole connections) model_size_info: defines the number of memory c
models.py:757
↓ 1 callers
Function
create_cnn_model
Builds a model with 2 convolution layers followed by a linear layer and a hidden fully-connected layer. model_size_info: defines the first an
models.py:643
↓ 1 callers
Function
create_conv_model
Builds a standard convolutional model. This is roughly the network labeled as 'cnn-trad-fpool3' in the 'Convolutional Neural Networks for Small-f
models.py:202
↓ 1 callers
Function
create_crnn_model
Builds a model with convolutional recurrent networks with GRUs Based on the model definition in https://arxiv.org/abs/1703.05390 model_size_info:
models.py:963
↓ 1 callers
Function
create_dnn_model
Builds a model with multiple hidden fully-connected layers. model_size_info: length of the array defines the number of hidden-layers and
models.py:605
↓ 1 callers
Function
create_dnn_model
Builds a model with multiple hidden fully-connected layers. model_size_info: length of the array defines the number of hidden-layers and
quant_models.py:138
↓ 1 callers
Function
create_ds_cnn_model
Builds a model with depthwise separable convolutional neural network Model definition is based on https://arxiv.org/abs/1704.04861 and Tensorflow
models.py:1066
↓ 1 callers
Function
create_ds_cnn_model
Builds a model with depthwise separable convolutional neural network Model definition is based on https://arxiv.org/abs/1704.04861 and Tensorflow
quant_models.py:182
↓ 1 callers
Function
create_gru_model
Builds a model with multi-layer GRUs model_size_info: [number of GRU layers, number of GRU cells per layer] Optionally, the bi-directional GRUs an
models.py:905
↓ 1 callers
Function
create_inference_graph
Creates an audio model with the nodes needed for inference. Uses the supplied arguments to create a model, and inserts the input and output nodes
freeze.py:61
↓ 1 callers
Function
create_low_latency_conv_model
Builds a convolutional model with low compute requirements. This is roughly the network labeled as 'cnn-one-fstride4' in the 'Convolutional Neura
models.py:310
↓ 1 callers
Function
create_low_latency_svdf_model
Builds an SVDF model with low compute requirements. This is based in the topology presented in the 'Compressing Deep Neural Networks using a Rank
models.py:422
↓ 1 callers
Function
create_lstm_model
Builds a model with a lstm layer (with output projection layer and peep-hole connections) Based on model described in https://arxiv.org/abs/
models.py:796
↓ 1 callers
Function
create_single_fc_model
Builds a model with a single hidden fully-connected layer. This is a very simple model with just one matmul and bias layer. As you'd expect, it d
models.py:163
↓ 1 callers
Function
fold_batch_norm
Creates an audio model with the nodes needed for inference. Uses the supplied arguments to create a model, and inserts the input and output nodes
fold_batchnorm.py:34
↓ 1 callers
Method
get_frame_len
Deployment/Source/NN/nn.cpp:24
↓ 1 callers
Method
get_frame_shift
Deployment/Source/NN/nn.cpp:28
↓ 1 callers
Method
get_in_dec_bits
Deployment/Source/NN/nn.cpp:44
↓ 1 callers
Method
get_num_mfcc_features
Deployment/Source/NN/nn.cpp:32
↓ 1 callers
Method
get_num_out_classes
Deployment/Source/NN/nn.cpp:40
↓ 1 callers
Function
init_plot
Deployment/Examples/realtime_test/plot_utils.cpp:26
↓ 1 callers
Function
label_wav
Loads the model and labels, and runs the inference to print predictions.
label_wav.py:80
↓ 1 callers
Function
load_graph
Unpersists graph from file as default graph.
test_pb.py:35
↓ 1 callers
Function
load_graph
Unpersists graph from file as default graph.
label_wav.py:46
↓ 1 callers
Function
load_labels
Read in labels, one label per line.
label_wav.py:54
↓ 1 callers
Method
lock
Deployment/Examples/simple_test_k64f_gcc/mbed/drivers/AnalogIn.h:113
↓ 1 callers
Method
lock
Acquire exclusive access to this object. */
Deployment/Examples/simple_test_k64f_gcc/mbed/platform/Stream.h:77
↓ 1 callers
Method
maybe_download_and_extract_dataset
Download and extract data set tar file. If the data set we're using doesn't already exist, this function downloads it from the TensorFlow.org
input_data.py:165
↓ 1 callers
Method
mfcc_compute
Deployment/Source/MFCC/mfcc.cpp:143
↓ 1 callers
Function
plot_mfcc
Deployment/Examples/realtime_test/plot_utils.cpp:41
↓ 1 callers
Function
plot_waveform
Deployment/Examples/realtime_test/plot_utils.cpp:95
↓ 1 callers
Method
prepare_background_data
Searches a folder for background noise audio, and loads it into memory. It's expected that the background audio samples will be in a subdirectory
input_data.py:292
↓ 1 callers
Method
prepare_data_index
Prepares a list of the samples organized by set and label. The training loop needs a list of all the available data, organized by which parti
input_data.py:206
↓ 1 callers
Method
prepare_processing_graph
Builds a TensorFlow graph to apply the input distortions. Creates a graph that loads a WAVE file, decodes it, scales the volume, shifts it in
input_data.py:328
↓ 1 callers
Function
prepare_words_list
Prepends common tokens to the custom word list. Args: wanted_words: List of strings containing the custom words. Returns: List with the
input_data.py:49
next →
1–100 of 1,261, ranked by callers