MCPcopy Create free account

hub / github.com/athena-team/athena / functions

Functions3,518 in github.com/athena-team/athena

Method__getitem__
get a sample Args: index (int): index of the entries Returns: dict: sample:: {
athena/data/datasets/mpc/mpc_speech_set.py:69
Method__getitem__
get a sample Args: index (int): index of the entries Returns: dict: sample:: {
athena/data/datasets/vad/vad_set_kaldiio.py:111
Method__getitem__
(self, index)
athena/data/datasets/tts/speech_fastspeech2.py:135
Method__getitem__
(self, index)
athena/data/datasets/tts/speech_synthesis.py:96
Method__getitem__
(self, index)
athena/data/datasets/tts/speech_synthesis_test.py:87
Method__getitem__
(self, index)
athena/data/datasets/kws/speech_wakeup_kaldiio.py:66
Method__getitem__
(self, index)
athena/data/datasets/kws/speech_wakeup_kaldiio_av.py:80
Method__getitem__
(self, index)
athena/data/datasets/kws/speech_wakeup_framewise_kaldiio.py:61
Method__init__
(self, num_classes, eos=-1, by_token=False, by_sequence=True, from_logits=True, label_smoothi
athena/loss.py:54
Method__init__
(self, name="MPCLoss")
athena/loss.py:88
Method__init__
(self, model, guided_attn_loss_function, regularization_weight=0.0, l1_loss_weight=0.0, mask_
athena/loss.py:112
Method__init__
(self, guided_attn_weight, reduction_factor, attn_sigma=0.4, name='GuidedAttentionLoss')
athena/loss.py:187
Method__init__
(self, guided_attn_weight, reduction_factor, attn_sigma=0.4, num_heads=2, num_layers=2, name=
athena/loss.py:289
Method__init__
(self, duration_predictor_loss_weight, eps=1.0, use_mask=True, teacher_guide=False)
athena/loss.py:310
Method__init__
(self, variant_predictor_loss_weight, eps=1.0, use_mask=True)
athena/loss.py:369
Method__init__
(self, embedding_size, num_classes, name="SoftmaxLoss")
athena/loss.py:421
Method__init__
(self, embedding_size, num_classes, m=0.3, s=15, name="AMSoftmaxLoss")
athena/loss.py:446
Method__init__
(self, embedding_size, num_classes, m=0.3, s=15, easy_margin=False, name="AAMSoftmaxLoss")
athena/loss.py:479
Method__init__
(self, name="ProtoLoss")
athena/loss.py:525
Method__init__
(self, init_w=10.0, init_b=-5.0, name="AngleProtoLoss")
athena/loss.py:554
Method__init__
(self, init_w=10.0, init_b=-5.0, name="GE2ELoss")
athena/loss.py:588
Method__init__
(self, model, optimizer, sample_signature, eval_sample_signature=None, config=None, **kwargs)
athena/solver.py:49
Method__init__
(self, model, data_descriptions=None, config=None)
athena/solver.py:288
Method__init__
(self, model, optimizer=None, sample_signature=None, eval_sample_signature=None, config=None,
athena/solver.py:435
Method__init__
(self, model, optimizer=None, sample_signature=None, eval_sample_signature=None, data_descriptions=None, confi
athena/solver.py:523
Method__init__
(self, model, data_descriptions=None, config=None)
athena/solver.py:855
Method__init__
(self, name="CharactorAccuracy", rank_size=1)
athena/metrics.py:70
Method__init__
(self, eos, name="Seq2SeqSparseCategoricalAccuracy")
athena/metrics.py:101
Method__init__
(self, name="CTCAccuracy")
athena/metrics.py:118
Method__init__
(self, name="ClassificationAccuracy", rank_size=1)
athena/metrics.py:144
Method__init__
(self, name="EqualErrorRate")
athena/metrics.py:168
Method__init__
(self, data_csv, saved_model_dir)
athena/run_demo.py:42
Method__init__
(self,saved_model_dir)
athena/run_demo.py:86
Method__init__
Construct CTC prefix scorer :param torch.Tensor x: input label posterior sequences (B, T, O) B: batch*beam -> batch; O:V_class :param
athena/tools/ctc_scorer.py:178
Method__init__
Reference: to paper "Multiband Excitation Vocoder"
athena/tools/vocoder.py:29
Method__init__
(self, optimizer)
athena/utils/metric_check.py:30
Method__init__
(self, checkpoint_directory=None, use_dev_loss=True, model=None, **kwargs)
athena/utils/checkpoint.py:48
Method__init__
Args: generator(generator): instance of generator which feed data capacity(int): maximum data to prefetch
athena/utils/data_queue.py:27
Method__init__
Create an instance of `HParams` from keyword arguments. The keyword arguments specify name-values pairs for the hyperparameters. The
athena/utils/hparam.py:375
Method__init__
( self, batch_bins: int, shape_files: Union[Tuple[str, ...], List[str]], utt2s
athena/utils/num_elements_batch_sampler.py:28
Method__init__
parameters for warmup learning rate schedule Args: model_dim (int, optional): usually dim of self-attention vector of transformer
athena/utils/learning_rate.py:35
Method__init__
parameters for warmup learning rate schedule Args: model_dim (int, optional): usually dim of self-attention vector of transformer
athena/utils/learning_rate.py:99
Method__init__
(self, config=None, beta_1=0.9, beta_2=0.999, epsilon=1e-7, amsgrad=False, name="WarmUpAdam",
athena/utils/learning_rate.py:139
Method__init__
(self, initial_lr=0.005, decay_steps=10000, decay_rate=0.5, start_decay_steps=30000, final_lr
athena/utils/learning_rate.py:172
Method__init__
(self, config=None, beta_1=0.9, beta_2=0.999, epsilon=1e-6, amsgrad=False, name="WarmUpAdam",
athena/utils/learning_rate.py:199
Method__init__
(self, cmvn_file=None)
athena/data/feature_normalizer.py:222
Method__init__
(self, vocab_file)
athena/data/text_featurizer.py:117
Method__init__
(self, spm_file)
athena/data/text_featurizer.py:139
Method__init__
(self, text=None)
athena/data/text_featurizer.py:173
Method__init__
(self, config=None)
athena/data/text_featurizer.py:231
Method__init__
(self, config=None)
athena/data/datasets/speech_set.py:36
Method__init__
(self, config=None)
athena/data/datasets/base.py:223
Method__init__
(self, config=None)
athena/data/datasets/language_set.py:34
Method__init__
(self, preprocess_config)
athena/data/datasets/preprocess.py:59
Method__init__
(self, config=None)
athena/data/datasets/asr/speech_recognition_kaldiio.py:54
Method__init__
(self, config=None)
athena/data/datasets/asr/speech_recognition_batch_bins_kaldiio.py:105
Method__init__
(self, config=None)
athena/data/datasets/asr/audio_video_recognition_batch_bins.py:120
Method__init__
(self, config=None)
athena/data/datasets/asr/speech_recognition_batch_bins.py:103
Method__init__
(self, config=None)
athena/data/datasets/asr/speech_recognition.py:53
Method__init__
(self, config=None)
athena/data/datasets/asr/audio_video_recognition.py:54
Method__init__
(self, config=None)
athena/data/datasets/mpc/mpc_speech_set_kaldiio.py:39
Method__init__
(self, config=None)
athena/data/datasets/mpc/mpc_speech_set.py:37
Method__init__
(self, config=None)
athena/data/datasets/vad/vad_set_kaldiio.py:46
Method__init__
(self, config=None)
athena/data/datasets/tts/speech_fastspeech2.py:61
Method__init__
(self, config=None)
athena/data/datasets/tts/speech_synthesis.py:40
Method__init__
(self, data_csv, config=None)
athena/data/datasets/tts/speech_synthesis_test.py:40
Method__init__
(self, config=None)
athena/data/datasets/kws/speech_wakeup_kaldiio.py:46
Method__init__
(self, config=None)
athena/data/datasets/kws/speech_wakeup_kaldiio_av.py:46
Method__init__
(self, config=None)
athena/data/datasets/kws/speech_wakeup_framewise_kaldiio.py:46
Method__init__
(self, num_filter, stride=1)
athena/layers/resnet_block.py:28
Method__init__
(self, d_model, kernel_size=32, depth_multiplier=1,
athena/layers/conv_module.py:42
Method__init__
(self, encoder_layers)
athena/layers/conformer.py:153
Method__init__
(self, decoder_layers)
athena/layers/conformer.py:186
Method__init__
( self, d_model, nhead, cnn_module_kernel=15, dim_feedforward=2048, dropout=0.1, activation="gelu"
athena/layers/conformer.py:233
Method__init__
( self, d_model, nhead, dim_feedforward=2048, dropout=0.1, activation="gelu" )
athena/layers/conformer.py:328
Method__init__
(self, encoder_layers)
athena/layers/conformer_ctc.py:120
Method__init__
( self, d_model, nhead, cnn_module_kernel=15, dim_feedforward=2048, dropout=0.1, activation="gelu"
athena/layers/conformer_ctc.py:155
Method__init__
(self, unidirectional=False, look_ahead=0)
athena/layers/attention.py:42
Method__init__
initialization of multihead attention block Args: d_model: dimension of multi-head attention num_heads: number of att
athena/layers/attention.py:98
Method__init__
(self, units, input_dim=1024)
athena/layers/attention.py:177
Method__init__
(self, config, **kwargs)
athena/layers/attention.py:335
Method__init__
(self, attn_dim, conv_channel, aconv_filts, scaling=1.0)
athena/layers/attention.py:372
Method__init__
(self, attn_dim, conv_channel, aconv_filts, sigmoid_noise=2.0, score_bias_init=0.0, mode='sof
athena/layers/attention.py:463
Method__init__
(self, encoder_layers)
athena/layers/transformer.py:165
Method__init__
(self, decoder_layers)
athena/layers/transformer.py:205
Method__init__
( self, d_model, nhead, dim_feedforward=2048, dropout=0.1, activation="gelu", unidirection
athena/layers/transformer.py:253
Method__init__
( self, d_model, nhead, dim_feedforward=2048, dropout=0.1, activation="gelu" )
athena/layers/transformer.py:338
Method__init__
(self, d_model, max_position=800, scale=False)
athena/layers/commons.py:29
Method__init__
(self, d_model, max_position=800)
athena/layers/commons.py:47
Method__init__
(self, context, output_dim, use_bias=False, **kwargs)
athena/layers/commons.py:92
Method__init__
( self, groups: int = 2, axis: int = -1, epsilon: float = 1e-3, center
athena/layers/commons.py:111
Method__init__
(self, **kwargs)
athena/layers/commons.py:325
Method__init__
(self, filters, kernel_size, strides)
athena/layers/commons.py:334
Method__init__
(self, filters, kernel_size, strides)
athena/layers/commons.py:356
Method__init__
(self, in_channel)
athena/layers/commons.py:375
Method__init__
(self, out_channel)
athena/layers/commons.py:401
Method__init__
(self, filters , kernel_size, stride)
athena/layers/commons.py:414
Method__init__
(self, filters , kernel_size, stride)
athena/layers/commons.py:424
Method__init__
(self, zoneout_rate=0., **kwargs)
athena/layers/commons.py:459
Method__init__
(self, unidirectional=False, look_ahead=0)
athena/layers/u2/attention_u2.py:41
← previousnext →1,001–1,100 of 3,518, ranked by callers