Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/athena-team/athena
/ types & classes
Types & classes
359 in github.com/athena-team/athena
⨍
Functions
3,518
◇
Types & classes
359
↳
Endpoints
1
↓ 913 callers
Class
tensor
* @class tensor * @brief A TensorFlow eager tensor wrapper * */
runtime/core/cppflow/tensor.h:25
↓ 913 callers
Class
tensor
* @class tensor * @brief A TensorFlow eager tensor wrapper * */
runtime/server/x86/cppflow/tensor.h:25
↓ 25 callers
Class
PositionalEncoding
positional encoding can be used in transformer
athena/layers/commons.py:26
↓ 12 callers
Class
HParams
Class to hold a set of hyperparameters as name-value pairs. A `HParams` object holds hyperparameters used to build and train a model, such as
athena/utils/hparam.py:305
↓ 11 callers
Class
TransformerEncoder
TransformerEncoder is a stack of N encoder layers Args: encoder_layer: an instance of the TransformerEncoderLayer() class (required).
athena/layers/transformer.py:149
↓ 11 callers
Class
TransformerEncoderLayer
TransformerEncoderLayer is made up of self-attn and feedforward network. Args: d_model: the number of expected features in the input (req
athena/layers/transformer.py:237
↓ 9 callers
Class
TextFeaturizer
The main text featurizer interface
athena/data/text_featurizer.py:217
↓ 8 callers
Class
MultiHeadAttention
Multi-head attention consists of four parts: * Linear layers and split into heads. * Scaled dot-product attention. * Concaten
athena/layers/attention.py:73
↓ 6 callers
Class
InstanceNormalization
Instance normalization layer. References - [Instance Normalization: The Missing Ingredient for Fast Stylization] (https://arxiv.or
athena/layers/commons.py:318
↓ 6 callers
Class
MultiHeadAttentionU2
Multi-head attention consists of four parts: * Linear layers and split into heads. * Scaled dot-product attention. * Concaten
athena/layers/u2/attention_u2.py:72
↓ 6 callers
Class
SpecAugment
Implementation of specaugument from paper "SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognition" Args: pre
athena/data/datasets/preprocess.py:31
↓ 5 callers
Class
AudioFeaturizer
Interface of audio features extractions. The kernels of features are based on Kaldi (Povey D, Ghoshal A, Boulianne G, et al. The Kaldi speech reco
athena/transform/audio_featurizer.py:22
↓ 5 callers
Class
DataQueue
Queue for data prefetching
athena/utils/data_queue.py:24
↓ 5 callers
Class
TFReflectionPad1d
Tensorflow ReflectionPad1d module.
athena/models/vad/vad_marblenet.py:27
↓ 4 callers
Class
CMVN
Do CMVN on features. Args: config: contains four optional parameters. Shape: - output: :math:`(T, F)`. Examples::
athena/transform/feats/cmvn.py:26
↓ 4 callers
Class
ConvModule
Convolution Module. See section 2.2 of this paper for a description of this technique: Conformer: Convolution-augmented Transformer for Speec
athena/layers/conv_module.py:26
↓ 4 callers
Class
MetricChecker
Hold and save best metric checkpoint Args: name: MetricChecker name maximum: more greater more better
athena/utils/metric_check.py:22
↓ 4 callers
Class
ScaledPositionalEncoding
scaled positional encoding, reference: https://arxiv.org/pdf/1809.08895.pdf
athena/layers/commons.py:44
↓ 4 callers
Class
Seq2SeqSparseCategoricalAccuracy
Seq2SeqSparseCategoricalAccuracy Inherits CharactorAccuracy and implements Attention accuracy calculation
athena/metrics.py:96
↓ 4 callers
Class
Seq2SeqSparseCategoricalCrossentropy
Seq2SeqSparseCategoricalCrossentropy LOSS CategoricalCrossentropy calculated at each character for each sequence in a batch
athena/loss.py:49
↓ 4 callers
Class
Transformer
A transformer model. User is able to modify the attributes as needed. Args: d_model: the number of expected features in the encoder/decod
athena/layers/transformer.py:27
↓ 3 callers
Class
CTCAccuracy
CTCAccuracy Inherits CharactorAccuracy and implements CTC accuracy calculation
athena/metrics.py:113
↓ 3 callers
Class
CTCLoss
CTC LOSS CTC LOSS implemented with Tensorflow
athena/loss.py:24
↓ 3 callers
Class
CharactorAccuracy
CharactorAccuracy Base class for Word Error Rate calculation
athena/metrics.py:66
↓ 3 callers
Class
Conv2dSubsampling4
Convolutional 2D subsampling (to 1/4 length). Args: idim (int): Input dimension. odim (int): Output dimension. dropout_ra
athena/layers/u2/subsampling.py:38
↓ 3 callers
Class
NumElementsBatchSampler
athena/utils/num_elements_batch_sampler.py:27
↓ 3 callers
Class
PositionalEncodingU2
positional encoding can be used in transformer U2
athena/layers/u2/embedding.py:23
↓ 3 callers
Class
VariantPredictor
athena/models/tts/fastspeech2.py:221
↓ 3 callers
Class
ZoneOutCell
Wrapper for LSTM cell to create ZoneOut Cell inspired by: https://github.com/teganmaharaj/zoneout/blob/master/zoneout_tensorflow.py Publi
athena/layers/commons.py:451
↓ 2 callers
Class
Checkpoint
A wrapper for Tensorflow checkpoint Args: checkpoint_directory: the directory for checkpoint summary_directory: the directory for
athena/utils/checkpoint.py:28
↓ 2 callers
Class
Conformer
A conformer model. User is able to modify the attributes as needed. The architecture is based on the paper "Attention Is All You Need". Ashish Vas
athena/layers/conformer.py:26
↓ 2 callers
Class
ConformerEncoder
TransformerEncoder is a stack of N encoder layers Args: encoder_layer: an instance of the TransformerEncoderLayer() class (required).
athena/layers/conformer.py:139
↓ 2 callers
Class
ConformerEncoderLayer
TransformerEncoderLayer is made up of self-attn and feedforward network. This standard encoder layer is based on the paper "Attention Is All You N
athena/layers/conformer.py:214
↓ 2 callers
Class
DurationCalculator
Calculate duration and outputs based on teacher model
athena/models/tts/fastspeech.py:428
↓ 2 callers
Class
FS2FeatureNormalizer
Fastspeech2 Feature Normalizer
athena/data/feature_normalizer.py:219
↓ 2 callers
Class
Fbank
Computing filter banks is applying triangular filters on a Mel-scale to the power spectrum to extract frequency bands. Args: confi
athena/transform/feats/fbank.py:26
↓ 2 callers
Class
FeatureNormalizer
Feature Normalizer
athena/data/feature_normalizer.py:33
↓ 2 callers
Class
FeaturePipelineConfig
runtime/core/frontend/feature_pipeline.h:31
↓ 2 callers
Class
FeaturePipelineConfig
runtime/server/x86/frontend/feature_pipeline.h:31
↓ 2 callers
Class
GriffinLim
python implementation of griffinlim algorithm
athena/tools/vocoder.py:26
↓ 2 callers
Class
NbestToken
runtime/core/decoder/ctc_faster_decoder.h:102
↓ 2 callers
Class
NbestToken
runtime/server/x86/decoder/ctc_faster_decoder.h:102
↓ 2 callers
Class
Spectrum
Compute spectrum features of every frame in speech. Args: config: contains ten optional parameters. Shape: - output: :mat
athena/transform/feats/spectrum.py:27
↓ 2 callers
Class
Tacotron2Loss
Tacotron2 Loss
athena/loss.py:108
↓ 1 callers
Class
ASRTestSolver
athena/run_demo.py:76
↓ 1 callers
Class
BNResidualBlock
Tensorflow BN_Residual_Block module.
athena/models/vad/vad_marblenet.py:54
↓ 1 callers
Class
BNResidualBlocks
athena/models/vad/vad_marblenet.py:176
↓ 1 callers
Class
ConditionalInstanceNormalisation
CIN Block.
athena/layers/commons.py:373
↓ 1 callers
Class
ConformerCTC
A conformer CTC model. User is able to modify the attributes as needed. The architecture is based on the paper "Attention Is All You Need". Ashish
athena/layers/conformer_ctc.py:26
↓ 1 callers
Class
ConformerDecoder
TransformerDecoder is a stack of N decoder layers Args: decoder_layer: an instance of the TransformerDecoderLayer() class (required).
athena/layers/conformer.py:171
↓ 1 callers
Class
ConformerDecoderLayer
ConformerDecoderLayer is made up of self-attn, multi-head-attn and feedforward network. This standard decoder layer is based on the paper "Attenti
athena/layers/conformer.py:308
↓ 1 callers
Class
ConformerEncoder
ConformerEncoder is a stack of N encoder layers Args: encoder_layer: an instance of the TransformerEncoderLayer() class (required).
athena/layers/conformer_ctc.py:106
↓ 1 callers
Class
ConformerEncoderLayer
ConformerEncoderLayer is made up of self-attn and feedforward network. This standard encoder layer is based on the paper "Attention Is All You Nee
athena/layers/conformer_ctc.py:138
↓ 1 callers
Class
ConformerU2
A transformer model. User is able to modify the attributes as needed. Args: d_model: the number of expected features in the encoder/decod
athena/layers/u2/conformer_u2.py:31
↓ 1 callers
Class
ConformerU2Decoder
TransformerDecoder is a stack of N decoder layers Args: decoder_layer: an instance of the TransformerDecoderLayer() class (required).
athena/layers/u2/conformer_u2.py:348
↓ 1 callers
Class
ConformerU2DecoderLayer
ConformerDecoderLayer is made up of self-attn, multi-head-attn and feedforward network. This standard decoder layer is based on the paper "Attenti
athena/layers/u2/conformer_u2_layer.py:158
↓ 1 callers
Class
ConformerU2Encoder
TransformerEncoder is a stack of N encoder layers Args: encoder_layer: an instance of the TransformerEncoderLayer() class (required).
athena/layers/u2/conformer_u2.py:158
↓ 1 callers
Class
ConformerU2EncoderLayer
TransformerEncoderLayer is made up of self-attn and feedforward network. This standard encoder layer is based on the paper "Attention Is All You N
athena/layers/u2/conformer_u2_layer.py:30
↓ 1 callers
Class
ConvModuleU2
Convolution Module. See section 2.2 of this paper for a description of this technique: Conformer: Convolution-augmented Transformer for Speec
athena/layers/u2/conv_module_u2.py:27
↓ 1 callers
Class
DurationCalculator
Calculate duration and outputs based on teacher model
athena/models/tts/fastspeech2.py:180
↓ 1 callers
Class
ExponentialDecayLearningRateSchedule
ExponentialDecayLearningRateSchedule Example: >>> optimizer = tf.keras.optimizers.Adam(learning_rate = ExponentialDecayLearningRate(0.01
athena/utils/learning_rate.py:158
↓ 1 callers
Class
ExtractFeatures
Refered https://github.com/TensorSpeech/TensorFlowTTS
examples/tts/data_baker/local/extract_feat.py:25
↓ 1 callers
Class
FastSpeech2Loss
used for training of fastspeech2
athena/loss.py:366
↓ 1 callers
Class
FastSpeechLoss
used for training of fastspeech
athena/loss.py:307
↓ 1 callers
Class
Framepow
Compute power of every frame in speech. Args: config: contains four optional parameters. Shape: - output: :math:`(T, 1)`.
athena/transform/feats/framepow.py:24
↓ 1 callers
Class
GuidedAttentionLoss
GuidedAttention Loss to make attention alignments more monotonic
athena/loss.py:183
↓ 1 callers
Class
GuidedMultiHeadAttentionLoss
Guided multihead attention loss function module for multi head attention.
athena/loss.py:286
↓ 1 callers
Class
HashBucket
runtime/core/utils/hash_list.h:117
↓ 1 callers
Class
HashBucket
runtime/server/x86/utils/hash_list.h:117
↓ 1 callers
Class
LengthRegulator
Length regulator for Fastspeech.
athena/models/tts/fastspeech.py:329
↓ 1 callers
Class
LocationAttention
location-aware attention Reference: Attention-Based Models for Speech Recognition (https://arxiv.org/pdf/1506.07503.pdf)
athena/layers/attention.py:365
↓ 1 callers
Class
MPCLoss
MPC LOSS L1 loss for each masked acoustic features in a batch
athena/loss.py:83
↓ 1 callers
Class
NgramLM
athena/models/lm/kenlm.py:25
↓ 1 callers
Class
Pitch
Compute pitch features of every frame in speech. Args: config: contains nineteen optional parameters. Shape: - output: :mat
athena/transform/feats/pitch.py:25
↓ 1 callers
Class
ScaledDotProductAttention
Calculate the attention weights. q, k, v must have matching leading dimensions. k, v must have matching penultimate dimension, i.e.: seq_len_k
athena/layers/attention.py:25
↓ 1 callers
Class
ScaledDotProductAttentionU2
Calculate the attention weights. q, k, v must have matching leading dimensions. k, v must have matching penultimate dimension, i.e.: seq_len_k
athena/layers/u2/attention_u2.py:24
↓ 1 callers
Class
SpeechSynthesisTestDatasetBuilder
SpeechSynthesisDatasetBuilder
athena/data/datasets/tts/speech_synthesis_test.py:27
↓ 1 callers
Class
SpeechWakeupDatasetKaldiIOBuilder
Dataset builder for RNN model. The builder mix the spliced frame in one dim For example (1, 1323) The input data format is (batch, t, dim
athena/data/datasets/kws/speech_wakeup_kaldiio.py:29
↓ 1 callers
Class
SpeechWakeupFramewiseDatasetKaldiIOBuilder
Dataset builder for CNN model. The builder treat every spliced frame as one image. For example (21, 63) The input data format is (batch,
athena/data/datasets/kws/speech_wakeup_framewise_kaldiio.py:28
↓ 1 callers
Class
StepwiseMonotonicAttention
Stepwise monotonic attention Reference: Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS (https://a
athena/layers/attention.py:456
↓ 1 callers
Class
TTSTestSolver
athena/run_demo.py:30
↓ 1 callers
Class
TextTokenizer
TextTokenizer
athena/data/text_featurizer.py:170
↓ 1 callers
Class
TransformerDecoder
TransformerDecoder is a stack of N decoder layers Args: decoder_layer: an instance of the TransformerDecoderLayer() class (required).
athena/layers/transformer.py:188
↓ 1 callers
Class
TransformerDecoderLayer
TransformerDecoderLayer is made up of self-attn, multi-head-attn and feedforward network. Reference: "Attention Is All You Need".
athena/layers/transformer.py:318
↓ 1 callers
Class
TransformerU2
A transformer model. User is able to modify the attributes as needed. Args: d_model: the number of expected features in the encoder/decod
athena/layers/u2/transformer_u2.py:30
↓ 1 callers
Class
TransformerU2Decoder
TransformerDecoder is a stack of N decoder layers Args: decoder_layer: an instance of the TransformerDecoderLayer() class (required).
athena/layers/u2/transformer_u2.py:206
↓ 1 callers
Class
TransformerU2DecoderLayer
TransformerDecoderLayer is made up of self-attn, multi-head-attn and feedforward network. Reference: "Attention Is All You Need". Ar
athena/layers/u2/transformer_u2_layer.py:140
↓ 1 callers
Class
TransformerU2Encoder
TransformerEncoder is a stack of N encoder layers Args: encoder_layer: an instance of the TransformerEncoderLayer() class (required).
athena/layers/u2/transformer_u2.py:159
↓ 1 callers
Class
TransformerU2EncoderLayer
TransformerEncoderLayer is made up of self-attn and feedforward network. Args: d_model: the number of expected features in the input (req
athena/layers/u2/transformer_u2_layer.py:29
↓ 1 callers
Class
Vocabulary
Vocabulary
athena/data/text_featurizer.py:30
↓ 1 callers
Class
WarmUpLearningSchedule
WarmUp Learning rate schedule for Adam Example: >>> optimizer = tf.keras.optimizers.Adam(learning_rate = WarmUpLearningSchedule(512),
athena/utils/learning_rate.py:24
↓ 1 callers
Class
WarmUpLearningSchedule1
WarmUp Learning rate schedule for Adam and can initialize a learning rate Example: >>> optimizer = tf.keras.optimizers.Adam(learning_rat
athena/utils/learning_rate.py:88
Class
AAMSoftmaxLoss
Additive Angular Margin Softmax Loss Reference to paper "ArcFace: Additive Angular Margin Loss for Deep Face Recognition"
athena/loss.py:473
Class
ABCFrontend
abstract of Frontend
athena/transform/feats/base_frontend.py:22
Class
AMData
runtime/core/inference/tensor_model.h:42
Class
AMData
runtime/server/x86/inference/tensor_model.h:42
Class
AMSoftmaxLoss
Additive Margin Softmax Loss Reference to paper "CosFace: Large Margin Cosine Loss for Deep Face Recognition" and
athena/loss.py:440
Class
AVDecoderSolver
DecoderSolver
athena/solver.py:829
Class
AVHorovodSolver
A multi-processer solver based on Horovod
athena/solver.py:698
Class
AVSolver
Base Solver.
athena/solver.py:562
next →
1–100 of 359, ranked by callers