Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/athena-team/athena
/ functions
Functions
3,518 in github.com/athena-team/athena
⨍
Functions
3,518
◇
Types & classes
359
↳
Endpoints
1
↓ 1 callers
Method
freeze_ctc_prefix_beam_search
( self, samples, ctc_final_layer, hparams=None,beam_size=None )
athena/models/asr/speech_conformer.py:200
↓ 1 callers
Method
freeze_ctc_probs
( self, samples, ctc_final_layer, hparams=None,beam_size=None )
athena/models/asr/speech_conformer.py:224
↓ 1 callers
Function
freezed_inference
(x)
athena/freeze.py:51
↓ 1 callers
Function
gelu
Gaussian Error Linear Unit. This is a smoother version of the RELU. Original paper: https://arxiv.org/abs/1606.08415 Args: x:
athena/layers/functional.py:101
↓ 1 callers
Function
gen_window
generate window */
athena/transform/feats/ops/kernels/support_functions.cc:86
↓ 1 callers
Function
generate_features_csv
Extract features (mel, energy, f0) and return feat dict feat_dict = {utt_id:{[feat_file, wav_length]}}
examples/tts/data_baker/local/prepare_data.py:348
↓ 1 callers
Method
generate_mpc_mask
generate mask for pretraining Args: acoustic features: i.e F-bank Return:: mask tensor
athena/models/masked_pc.py:160
↓ 1 callers
Method
get
(self)
athena/utils/data_queue.py:57
↓ 1 callers
Function
get_angles
(pos, i, d_model)
athena/layers/functional.py:28
↓ 1 callers
Method
get_context
runtime/core/cppflow/context.h:56
↓ 1 callers
Method
get_eng
athena/transform/feats/ops/kernels/framepow.cc:99
↓ 1 callers
Method
get_spc
athena/transform/feats/ops/kernels/spectrum.cc:193
↓ 1 callers
Function
image_normalizer
Image Normalization http://dev.ipol.im/~nmonzon/Normalization.pdf
athena/data/datasets/asr/audio_video_recognition_batch_bins.py:86
↓ 1 callers
Method
image_normalizer
(self, image)
athena/data/datasets/asr/audio_video_recognition.py:79
↓ 1 callers
Function
inference
entry point for model inference, do some preparation work
athena/inference.py:32
↓ 1 callers
Method
inference
decode the model
athena/solver.py:532
↓ 1 callers
Method
inference
Calculate replicated sequences based on duration sequences Args: phoneme_sequences: sequences of phoneme features, shape: [batch,
athena/models/tts/fastspeech.py:336
↓ 1 callers
Method
inference_saved_model
decode the model
athena/solver.py:366
↓ 1 callers
Method
init_eng
athena/transform/feats/ops/kernels/framepow.cc:51
↓ 1 callers
Method
init_spc
athena/transform/feats/ops/kernels/spectrum.cc:76
↓ 1 callers
Method
initialize_weights
Args: value_length: the length of value, shape: [batch] max_len: the maximun length Returns: init
athena/layers/attention.py:415
↓ 1 callers
Function
insert_blank
Insert blank token between every two label token.
athena/alignment.py:31
↓ 1 callers
Function
is_all_eng
(words)
examples/tts/data_baker/local/prepare_data.py:162
↓ 1 callers
Function
is_within_directory
(directory, target)
examples/asr/librispeech/local/prepare_data.py:77
↓ 1 callers
Function
is_within_directory
(directory, target)
examples/tts/ljspeech/local/prepare_data.py:207
↓ 1 callers
Method
load_audio_feature
(self, audio_feature_file)
athena/data/datasets/tts/speech_fastspeech2.py:127
↓ 1 callers
Method
load_cmvn
load mean and var
athena/data/feature_normalizer.py:185
↓ 1 callers
Method
load_cmvn
load mel_mean, mel_var, f0_mean, f0_var and energy_mean, energy_var
athena/data/feature_normalizer.py:281
↓ 1 callers
Method
load_csv
(self, csv_file)
athena/data/text_featurizer.py:191
↓ 1 callers
Method
load_duration
(self, duration)
athena/data/datasets/tts/speech_fastspeech2.py:74
↓ 1 callers
Function
make_bitrev
runtime/core/frontend/fft.cc:36
↓ 1 callers
Function
make_bitrev
runtime/server/x86/frontend/fft.cc:36
↓ 1 callers
Method
make_downsample_layer
perform downsampling using conv layer with stride != 1
athena/layers/resnet_block.py:61
↓ 1 callers
Function
make_sintbl
runtime/core/frontend/fft.cc:10
↓ 1 callers
Function
make_sintbl
runtime/server/x86/frontend/fft.cc:10
↓ 1 callers
Method
merge_ctc_sequence
(self, seqs, blank=-1)
athena/models/asr/speech_conformer_ctc.py:246
↓ 1 callers
Function
mfcc
runtime/core/cppflow/raw_ops.h:13347
↓ 1 callers
Function
mul
runtime/core/cppflow/raw_ops.h:13555
↓ 1 callers
Function
mul
runtime/server/x86/cppflow/raw_ops.h:13555
↓ 1 callers
Function
naive_dft
naive DFT */
athena/transform/feats/ops/kernels/support_functions.cc:353
↓ 1 callers
Method
nextTask
Retrieves the next task from the queue
runtime/core/utils/thread_pool.h:104
↓ 1 callers
Method
nextTask
Retrieves the next task from the queue
runtime/server/x86/utils/thread_pool.h:104
↓ 1 callers
Function
normalize_hkust_trans
normalize HKUST transcripts delete unuseful symbols and keep space between English words Args: trans: original transcripts
examples/asr/hkust/local/prepare_data.py:42
↓ 1 callers
Function
normalize_numbers
normalize numbers in text
examples/tts/ljspeech/local/prepare_data.py:96
↓ 1 callers
Method
num_sample
runtime/core/frontend/wav.h:121
↓ 1 callers
Method
num_sample
runtime/core/frontend/audio_pack_sim.h:57
↓ 1 callers
Method
num_sample
runtime/server/x86/frontend/audio_pack_sim.h:57
↓ 1 callers
Function
parse_values
Parses hyperparameter values from a string into a python map. `values` is a string containing comma-separated `name=value` pairs. For each pa
athena/utils/hparam.py:190
↓ 1 callers
Function
pinyin_2_phoneme
(pinyin_line, words)
examples/tts/data_baker/local/prepare_data.py:170
↓ 1 callers
Function
prepare_data
(data_dir='', subset='XL')
examples/asr/gigaspeech/local/prepare_data.py:95
↓ 1 callers
Function
preprocess
Custom pipeline for English text, including number and abbreviation expansion.
examples/tts/ljspeech/local/prepare_data.py:169
↓ 1 callers
Method
preprocess_data
generate a list of tuples (wav_filename, wav_length_ms, speaker).
athena/data/datasets/speech_set.py:41
↓ 1 callers
Method
preprocess_data
loading data
athena/data/datasets/base.py:138
↓ 1 callers
Method
preprocess_data
load csv file
athena/data/datasets/language_set.py:41
↓ 1 callers
Method
preprocess_data
generate a list of tuples (wav_filename, wav_length_ms, transcript, speaker).
athena/data/datasets/asr/speech_recognition.py:65
↓ 1 callers
Method
preprocess_data
generate a list of tuples (wav_filename, wav_length_ms, transcript, speaker).
athena/data/datasets/asr/audio_video_recognition.py:83
↓ 1 callers
Method
preprocess_data
generate a list of tuples (feat_key, speaker).
athena/data/datasets/mpc/mpc_speech_set_kaldiio.py:44
↓ 1 callers
Method
preprocess_data
generate a list of tuples (wav_filename, wav_length_ms, speaker).
athena/data/datasets/mpc/mpc_speech_set.py:42
↓ 1 callers
Method
preprocess_data
generate a list of tuples (wav_filename, wav_offset, wav_length_ms, transcript, label).
athena/data/datasets/vad/vad_set_kaldiio.py:64
↓ 1 callers
Method
preprocess_data
generate a list of tuples (audio_feature, wav_length_ms, transcript, duration, speaker).
athena/data/datasets/tts/speech_fastspeech2.py:81
↓ 1 callers
Method
preprocess_data
generate a list of tuples (wav_filename, wav_length_ms, transcript, speaker).
athena/data/datasets/tts/speech_synthesis.py:53
↓ 1 callers
Method
preprocess_data
generate a list of tuples (utt_id, transcript).
athena/data/datasets/tts/speech_synthesis_test.py:48
↓ 1 callers
Method
preprocess_data
(self, data_dir="")
athena/data/datasets/kws/speech_wakeup_kaldiio.py:53
↓ 1 callers
Method
preprocess_data
(self, data_dir="")
athena/data/datasets/kws/speech_wakeup_kaldiio_av.py:53
↓ 1 callers
Method
preprocess_data
(self, data_dir="")
athena/data/datasets/kws/speech_wakeup_framewise_kaldiio.py:50
↓ 1 callers
Method
preprocess_kaldi_data
Generate a list of tuples (feat_key, speaker).
athena/data/datasets/asr/speech_recognition_kaldiio.py:69
↓ 1 callers
Method
proc_eng
athena/transform/feats/ops/kernels/framepow.cc:65
↓ 1 callers
Method
proc_spc
athena/transform/feats/ops/kernels/spectrum.cc:92
↓ 1 callers
Function
process_data
(speech_dataset_dir, background_dataset_dir, out_dir)
examples/vad/google_dataset_v2/local/prepare_data.py:154
↓ 1 callers
Function
process_files
process decode log, generate label file and results files
athena/tools/process_decode_result.py:22
↓ 1 callers
Function
process_phonelabeling
Convert phonelabeling to phone_dur dict Args: dataset_dir Returns: phone_dur_dict: {utt_id:[phone_str, interval_str]}
examples/tts/data_baker/local/prepare_data.py:270
↓ 1 callers
Function
process_prosody
Convert phonelabeling to phone dict Args: dataset_dir Returns: phone_dict: {sent_id:[phone_str]}
examples/tts/data_baker/local/prepare_data.py:247
↓ 1 callers
Function
process_wav
Downsampling wav and return wav dict
examples/tts/data_baker/local/prepare_data.py:308
↓ 1 callers
Function
processor
download and process
examples/asr/librispeech/local/prepare_data.py:161
↓ 1 callers
Function
processor
download and process
examples/asr/aishell/local/prepare_data.py:93
↓ 1 callers
Function
processor
download and process
examples/asr/hkust/local/prepare_data.py:187
↓ 1 callers
Function
processor
download and process
examples/tts/ljspeech/local/prepare_data.py:307
↓ 1 callers
Function
processor
download and process
examples/tts/data_baker/local/prepare_data.py:391
↓ 1 callers
Function
rebalance_data
(feat_dict_1, label_dict_1, feat_dict_2, label_dict_2)
examples/vad/google_dataset_v2/local/prepare_data.py:106
↓ 1 callers
Function
remove_unnecessary_symbols
remove unnecessary symbols in text
examples/tts/ljspeech/local/prepare_data.py:152
↓ 1 callers
Method
restore_from_pretrained_model
restore from pretrained model
athena/models/base.py:66
↓ 1 callers
Method
run
runtime/core/utils/thread_pool.h:147
↓ 1 callers
Method
run
runtime/server/x86/utils/thread_pool.h:147
↓ 1 callers
Function
safe_extract
(tar, path=".", members=None, *, numeric_owner=False)
examples/asr/librispeech/local/prepare_data.py:86
↓ 1 callers
Function
safe_extract
(tar, path=".", members=None, *, numeric_owner=False)
examples/tts/ljspeech/local/prepare_data.py:216
↓ 1 callers
Method
sample_rate
runtime/core/frontend/wav.h:117
↓ 1 callers
Method
sample_rate
runtime/core/frontend/audio_pack_sim.h:55
↓ 1 callers
Method
sample_rate
runtime/server/x86/frontend/audio_pack_sim.h:55
↓ 1 callers
Method
save_vocab
(self, vocab_file)
athena/data/text_featurizer.py:184
↓ 1 callers
Method
score
text_list: list of char
athena/models/lm/kenlm.py:45
↓ 1 callers
Function
seg_word2file
(vocab_path, text_path, file_out_path)
examples/asr/misp/local/segment_word.py:36
↓ 1 callers
Function
seg_word2file
(vocab_path, text_path, file_out_path)
examples/asr/aishell/local/segment_word.py:36
↓ 1 callers
Function
seg_word2stdio
(vocab_path, text_path)
examples/asr/misp/local/segment_word.py:27
↓ 1 callers
Function
seg_word2stdio
(vocab_path, text_path)
examples/asr/aishell/local/segment_word.py:27
↓ 1 callers
Function
segment_trans
segment transcripts according to vocab using Maximum Matching Algorithm Args: vocab_file: vocab file text_file: transcripts f
examples/asr/hkust/local/segment_word.py:26
↓ 1 callers
Method
set_cepstral_lifter
athena/transform/feats/ops/kernels/mfcc_dct.cc:77
↓ 1 callers
Method
set_coefficient_count
athena/transform/feats/ops/kernels/mfcc_dct.cc:73
↓ 1 callers
Function
set_default_summary_writer
(summary_directory=None)
athena/utils/misc.py:480
↓ 1 callers
Method
set_delta_pitch
athena/transform/feats/ops/kernels/pitch.h:99
↓ 1 callers
Method
set_dither
athena/transform/feats/ops/kernels/spectrum.cc:70
← previous
next →
501–600 of 3,518, ranked by callers