/* * Copyright (c) 2020 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef MODULES_AUDIO_PROCESSING_AGC2_RNN_VAD_RNN_FC_H_ #define MODULES_AUDIO_PROCESSING_AGC2_RNN_VAD_RNN_FC_H_ #include <array> #include <vector> #include "absl/strings/string_view.h" #include "api/array_view.h" #include "api/function_view.h" #include "modules/audio_processing/agc2/cpu_features.h" #include "modules/audio_processing/agc2/rnn_vad/vector_math.h" namespace webrtc { namespace rnn_vad { // Activation function for a neural network cell. enum class ActivationFunction { … }; // Maximum number of units for an FC layer. constexpr int kFullyConnectedLayerMaxUnits = …; // Fully-connected layer with a custom activation function which owns the output // buffer. class FullyConnectedLayer { … }; } // namespace rnn_vad } // namespace webrtc #endif // MODULES_AUDIO_PROCESSING_AGC2_RNN_VAD_RNN_FC_H_