MCPcopy Create free account

hub / github.com/athena-team/athena / types & classes

Types & classes359 in github.com/athena-team/athena

↓ 913 callersClasstensor
* @class tensor * @brief A TensorFlow eager tensor wrapper * */
runtime/core/cppflow/tensor.h:25
↓ 913 callersClasstensor
* @class tensor * @brief A TensorFlow eager tensor wrapper * */
runtime/server/x86/cppflow/tensor.h:25
↓ 25 callersClassPositionalEncoding
positional encoding can be used in transformer
athena/layers/commons.py:26
↓ 12 callersClassHParams
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 callersClassTransformerEncoder
TransformerEncoder is a stack of N encoder layers Args: encoder_layer: an instance of the TransformerEncoderLayer() class (required).
athena/layers/transformer.py:149
↓ 11 callersClassTransformerEncoderLayer
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 callersClassTextFeaturizer
The main text featurizer interface
athena/data/text_featurizer.py:217
↓ 8 callersClassMultiHeadAttention
Multi-head attention consists of four parts: * Linear layers and split into heads. * Scaled dot-product attention. * Concaten
athena/layers/attention.py:73
↓ 6 callersClassInstanceNormalization
Instance normalization layer. References - [Instance Normalization: The Missing Ingredient for Fast Stylization] (https://arxiv.or
athena/layers/commons.py:318
↓ 6 callersClassMultiHeadAttentionU2
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 callersClassSpecAugment
Implementation of specaugument from paper "SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognition" Args: pre
athena/data/datasets/preprocess.py:31
↓ 5 callersClassAudioFeaturizer
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 callersClassDataQueue
Queue for data prefetching
athena/utils/data_queue.py:24
↓ 5 callersClassTFReflectionPad1d
Tensorflow ReflectionPad1d module.
athena/models/vad/vad_marblenet.py:27
↓ 4 callersClassCMVN
Do CMVN on features. Args: config: contains four optional parameters. Shape: - output: :math:`(T, F)`. Examples::
athena/transform/feats/cmvn.py:26
↓ 4 callersClassConvModule
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 callersClassMetricChecker
Hold and save best metric checkpoint Args: name: MetricChecker name maximum: more greater more better
athena/utils/metric_check.py:22
↓ 4 callersClassScaledPositionalEncoding
scaled positional encoding, reference: https://arxiv.org/pdf/1809.08895.pdf
athena/layers/commons.py:44
↓ 4 callersClassSeq2SeqSparseCategoricalAccuracy
Seq2SeqSparseCategoricalAccuracy Inherits CharactorAccuracy and implements Attention accuracy calculation
athena/metrics.py:96
↓ 4 callersClassSeq2SeqSparseCategoricalCrossentropy
Seq2SeqSparseCategoricalCrossentropy LOSS CategoricalCrossentropy calculated at each character for each sequence in a batch
athena/loss.py:49
↓ 4 callersClassTransformer
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 callersClassCTCAccuracy
CTCAccuracy Inherits CharactorAccuracy and implements CTC accuracy calculation
athena/metrics.py:113
↓ 3 callersClassCTCLoss
CTC LOSS CTC LOSS implemented with Tensorflow
athena/loss.py:24
↓ 3 callersClassCharactorAccuracy
CharactorAccuracy Base class for Word Error Rate calculation
athena/metrics.py:66
↓ 3 callersClassConv2dSubsampling4
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 callersClassNumElementsBatchSampler
athena/utils/num_elements_batch_sampler.py:27
↓ 3 callersClassPositionalEncodingU2
positional encoding can be used in transformer U2
athena/layers/u2/embedding.py:23
↓ 3 callersClassVariantPredictor
athena/models/tts/fastspeech2.py:221
↓ 3 callersClassZoneOutCell
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 callersClassCheckpoint
A wrapper for Tensorflow checkpoint Args: checkpoint_directory: the directory for checkpoint summary_directory: the directory for
athena/utils/checkpoint.py:28
↓ 2 callersClassConformer
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 callersClassConformerEncoder
TransformerEncoder is a stack of N encoder layers Args: encoder_layer: an instance of the TransformerEncoderLayer() class (required).
athena/layers/conformer.py:139
↓ 2 callersClassConformerEncoderLayer
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 callersClassDurationCalculator
Calculate duration and outputs based on teacher model
athena/models/tts/fastspeech.py:428
↓ 2 callersClassFS2FeatureNormalizer
Fastspeech2 Feature Normalizer
athena/data/feature_normalizer.py:219
↓ 2 callersClassFbank
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 callersClassFeatureNormalizer
Feature Normalizer
athena/data/feature_normalizer.py:33
↓ 2 callersClassFeaturePipelineConfig
runtime/core/frontend/feature_pipeline.h:31
↓ 2 callersClassFeaturePipelineConfig
runtime/server/x86/frontend/feature_pipeline.h:31
↓ 2 callersClassGriffinLim
python implementation of griffinlim algorithm
athena/tools/vocoder.py:26
↓ 2 callersClassNbestToken
runtime/core/decoder/ctc_faster_decoder.h:102
↓ 2 callersClassNbestToken
runtime/server/x86/decoder/ctc_faster_decoder.h:102
↓ 2 callersClassSpectrum
Compute spectrum features of every frame in speech. Args: config: contains ten optional parameters. Shape: - output: :mat
athena/transform/feats/spectrum.py:27
↓ 2 callersClassTacotron2Loss
Tacotron2 Loss
athena/loss.py:108
↓ 1 callersClassASRTestSolver
athena/run_demo.py:76
↓ 1 callersClassBNResidualBlock
Tensorflow BN_Residual_Block module.
athena/models/vad/vad_marblenet.py:54
↓ 1 callersClassBNResidualBlocks
athena/models/vad/vad_marblenet.py:176
↓ 1 callersClassConditionalInstanceNormalisation
CIN Block.
athena/layers/commons.py:373
↓ 1 callersClassConformerCTC
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 callersClassConformerDecoder
TransformerDecoder is a stack of N decoder layers Args: decoder_layer: an instance of the TransformerDecoderLayer() class (required).
athena/layers/conformer.py:171
↓ 1 callersClassConformerDecoderLayer
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 callersClassConformerEncoder
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 callersClassConformerEncoderLayer
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 callersClassConformerU2
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 callersClassConformerU2Decoder
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 callersClassConformerU2DecoderLayer
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 callersClassConformerU2Encoder
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 callersClassConformerU2EncoderLayer
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 callersClassConvModuleU2
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 callersClassDurationCalculator
Calculate duration and outputs based on teacher model
athena/models/tts/fastspeech2.py:180
↓ 1 callersClassExponentialDecayLearningRateSchedule
ExponentialDecayLearningRateSchedule Example: >>> optimizer = tf.keras.optimizers.Adam(learning_rate = ExponentialDecayLearningRate(0.01
athena/utils/learning_rate.py:158
↓ 1 callersClassExtractFeatures
Refered https://github.com/TensorSpeech/TensorFlowTTS
examples/tts/data_baker/local/extract_feat.py:25
↓ 1 callersClassFastSpeech2Loss
used for training of fastspeech2
athena/loss.py:366
↓ 1 callersClassFastSpeechLoss
used for training of fastspeech
athena/loss.py:307
↓ 1 callersClassFramepow
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 callersClassGuidedAttentionLoss
GuidedAttention Loss to make attention alignments more monotonic
athena/loss.py:183
↓ 1 callersClassGuidedMultiHeadAttentionLoss
Guided multihead attention loss function module for multi head attention.
athena/loss.py:286
↓ 1 callersClassHashBucket
runtime/core/utils/hash_list.h:117
↓ 1 callersClassHashBucket
runtime/server/x86/utils/hash_list.h:117
↓ 1 callersClassLengthRegulator
Length regulator for Fastspeech.
athena/models/tts/fastspeech.py:329
↓ 1 callersClassLocationAttention
location-aware attention Reference: Attention-Based Models for Speech Recognition (https://arxiv.org/pdf/1506.07503.pdf)
athena/layers/attention.py:365
↓ 1 callersClassMPCLoss
MPC LOSS L1 loss for each masked acoustic features in a batch
athena/loss.py:83
↓ 1 callersClassNgramLM
athena/models/lm/kenlm.py:25
↓ 1 callersClassPitch
Compute pitch features of every frame in speech. Args: config: contains nineteen optional parameters. Shape: - output: :mat
athena/transform/feats/pitch.py:25
↓ 1 callersClassScaledDotProductAttention
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 callersClassScaledDotProductAttentionU2
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 callersClassSpeechSynthesisTestDatasetBuilder
SpeechSynthesisDatasetBuilder
athena/data/datasets/tts/speech_synthesis_test.py:27
↓ 1 callersClassSpeechWakeupDatasetKaldiIOBuilder
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 callersClassSpeechWakeupFramewiseDatasetKaldiIOBuilder
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 callersClassStepwiseMonotonicAttention
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 callersClassTTSTestSolver
athena/run_demo.py:30
↓ 1 callersClassTextTokenizer
TextTokenizer
athena/data/text_featurizer.py:170
↓ 1 callersClassTransformerDecoder
TransformerDecoder is a stack of N decoder layers Args: decoder_layer: an instance of the TransformerDecoderLayer() class (required).
athena/layers/transformer.py:188
↓ 1 callersClassTransformerDecoderLayer
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 callersClassTransformerU2
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 callersClassTransformerU2Decoder
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 callersClassTransformerU2DecoderLayer
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 callersClassTransformerU2Encoder
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 callersClassTransformerU2EncoderLayer
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 callersClassVocabulary
Vocabulary
athena/data/text_featurizer.py:30
↓ 1 callersClassWarmUpLearningSchedule
WarmUp Learning rate schedule for Adam Example: >>> optimizer = tf.keras.optimizers.Adam(learning_rate = WarmUpLearningSchedule(512),
athena/utils/learning_rate.py:24
↓ 1 callersClassWarmUpLearningSchedule1
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
ClassAAMSoftmaxLoss
Additive Angular Margin Softmax Loss Reference to paper "ArcFace: Additive Angular Margin Loss for Deep Face Recognition"
athena/loss.py:473
ClassABCFrontend
abstract of Frontend
athena/transform/feats/base_frontend.py:22
ClassAMData
runtime/core/inference/tensor_model.h:42
ClassAMData
runtime/server/x86/inference/tensor_model.h:42
ClassAMSoftmaxLoss
Additive Margin Softmax Loss Reference to paper "CosFace: Large Margin Cosine Loss for Deep Face Recognition" and
athena/loss.py:440
ClassAVDecoderSolver
DecoderSolver
athena/solver.py:829
ClassAVHorovodSolver
A multi-processer solver based on Horovod
athena/solver.py:698
ClassAVSolver
Base Solver.
athena/solver.py:562
next →1–100 of 359, ranked by callers