Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Z-yq/TensorflowASR
/ functions
Functions
1,065 in github.com/Z-yq/TensorflowASR
⨍
Functions
1,065
◇
Types & classes
251
↳
Endpoints
6
↓ 1 callers
Method
_train_batches
Train model one epoch.
punc_recover/trainer/punc_trainer.py:143
↓ 1 callers
Function
audio_request_generator
(wav_file)
vad/online_vad.py:172
↓ 1 callers
Function
audio_request_generator
(wav_file)
Inference/PythonInference/stream_asr_session.py:462
↓ 1 callers
Method
augment
(self, wav)
augmentations/augments.py:35
↓ 1 callers
Function
backward_dp
:return: backward variable beta with shape batch_size x input_max_len x target_max_len
asr/losses/rnnt_losses.py:92
↓ 1 callers
Method
bert_decode
(self, x, x2=None)
punc_recover/dataloaders/punc_dataloader.py:121
↓ 1 callers
Method
build
(self, input_shape)
asr/models/layers/time_frequency.py:35
↓ 1 callers
Method
build
(self, input_shape)
asr/models/layers/multihead_attention.py:63
↓ 1 callers
Method
call
(self, x)
asr/models/layers/time_frequency.py:71
↓ 1 callers
Method
chunk_length_check
(self)
Inference/PythonInference/stream_asr_session.py:428
↓ 1 callers
Method
chunk_train
(self)
train_asr.py:91
↓ 1 callers
Method
classes_acc
(self, real, pred)
punc_recover/tester/punc_tester.py:40
↓ 1 callers
Method
compile
(self)
test_punc.py:23
↓ 1 callers
Method
compile
(self)
test_chunk_asr.py:35
↓ 1 callers
Method
compile
(self)
vad/run-test.py:20
↓ 1 callers
Method
compile
(self)
Inference/PythonInference/vad/src/vad.py:16
↓ 1 callers
Method
compile
(self)
Inference/PythonInference/punc_recover/src/punc_recover.py:42
↓ 1 callers
Function
compute_rnnt_loss_and_grad
Compute RNN-T loss and gradients.
asr/losses/rnnt_losses.py:224
↓ 1 callers
Function
compute_rnnt_loss_and_grad_helper
(logits, labels, label_length, logit_length)
asr/losses/rnnt_losses.py:131
↓ 1 callers
Function
compute_value
Compute the value. When current unit is larger than previous unit, current unit * all previous units will be used as all previous uni
augmentations/tts_for_asr/utils/normalize.py:280
↓ 1 callers
Function
conv_output_length
Determines output length of a convolution given input length. # Arguments input_length: integer. filter_size: integer. pad
asr/models/layers/time_frequency.py:204
↓ 1 callers
Method
convert_to_onnx
(self)
test_punc.py:37
↓ 1 callers
Method
convert_to_onnx
(self)
test_asr.py:226
↓ 1 callers
Method
convert_to_onnx
(self, outdir='')
test_chunk_asr.py:141
↓ 1 callers
Function
correct_symbols
一百八 to 一百八十 一亿一千三百万 to 一亿 一千万 三百万
augmentations/tts_for_asr/utils/normalize.py:246
↓ 1 callers
Method
creat_mask
(self, seq)
test_punc.py:19
↓ 1 callers
Method
creat_mask
(self, seq)
punc_recover/tester/punc_tester.py:36
↓ 1 callers
Method
creat_mask
(self,seq)
Inference/PythonInference/punc_recover/src/punc_recover.py:38
↓ 1 callers
Function
create_look_ahead_mask
(size)
punc_recover/models/punc_transformer.py:35
↓ 1 callers
Function
ctc_greedy_decoder
Inference/CppInference/onnx/src/core/ctc_greedy_decoder.h:5
↓ 1 callers
Method
date2chntext
(self)
augmentations/tts_for_asr/utils/normalize.py:528
↓ 1 callers
Method
decoder_onnx_convert
(self)
asr/models/chunk_conformer_blocks.py:897
↓ 1 callers
Method
decoder_part
(self, enc_output, mask,training=False)
punc_recover/models/punc_transformer.py:285
↓ 1 callers
Method
decoder_stream_predict
(self, valid_enc_out, caches)
asr/models/chunk_conformer_blocks.py:841
↓ 1 callers
Function
ds2_rnn_batch_norm
(x_i, x_f, x_c, x_o, beta=None, gamma=None)
asr/models/layers/frame_wise_batch_norm_lstm_cell.py:19
↓ 1 callers
Method
eval_generate
(self)
punc_recover/dataloaders/punc_dataloader.py:254
↓ 1 callers
Method
extract
(self, tokens)
utils/text_featurizers.py:80
↓ 1 callers
Method
extract
(self, tokens)
Inference/PythonInference/utils/text_featurizers.py:71
↓ 1 callers
Function
fft_conv1d
FFT based convolution in 1D. We round the input length to the closest upper power of 2 before FFT. Args: inputs: a tf.Tensor<float>[bat
leaf_audio/convolution.py:34
↓ 1 callers
Method
final_parse
(self)
vad/offline_vad.py:127
↓ 1 callers
Method
final_parse
(self)
vad/online_vad.py:164
↓ 1 callers
Method
final_parse
(self)
Inference/PythonInference/stream_asr_session.py:435
↓ 1 callers
Method
final_parse
(self)
Inference/PythonInference/offline_asr_session.py:170
↓ 1 callers
Method
finished
(self)
asr/tester/base_tester.py:93
↓ 1 callers
Method
finished
(self)
vad/tester/base_tester.py:90
↓ 1 callers
Method
finished
(self)
punc_recover/tester/base_tester.py:90
↓ 1 callers
Function
forward_dp
:return: forward variable alpha with shape batch_size x input_max_len x target_max_len
asr/losses/rnnt_losses.py:63
↓ 1 callers
Method
fraction2chntext
(self)
augmentations/tts_for_asr/utils/normalize.py:490
↓ 1 callers
Method
gabor_filters
Generates gabor filters that match the corresponding mel-filters.
leaf_audio/melfilters.py:99
↓ 1 callers
Function
gabor_impulse_response
Computes the gabor impulse response.
leaf_audio/impulse_responses.py:26
↓ 1 callers
Method
generate
(self, train)
vad/dataloaders/vad_dataloader.py:69
↓ 1 callers
Method
generate
(self,train)
punc_recover/dataloaders/punc_dataloader.py:206
↓ 1 callers
Method
generator
(self, train=True)
asr/dataloaders/am_dataloader.py:418
↓ 1 callers
Method
generator
(self, train=True)
asr/dataloaders/chunk_dataloader.py:428
↓ 1 callers
Method
getBitDepth
Inference/CppInference/onnx/ext/AudioFile.hpp:315
↓ 1 callers
Method
getNumChannels
Inference/CppInference/onnx/ext/AudioFile.hpp:294
↓ 1 callers
Method
getNumSamplesPerChannel
Inference/CppInference/onnx/ext/AudioFile.hpp:322
↓ 1 callers
Function
get_angles
(pos, i, d_model)
punc_recover/models/punc_transformer.py:5
↓ 1 callers
Method
get_angles
(self,pos, i, d_model)
Inference/PythonInference/punc_recover/src/punc_recover.py:19
↓ 1 callers
Method
get_bert_feature
(self, bert_t, bert_s)
punc_recover/dataloaders/punc_dataloader.py:157
↓ 1 callers
Method
get_config
(self)
asr/models/layers/utils.py:49
↓ 1 callers
Method
get_config
(self)
asr/models/layers/time_frequency.py:89
↓ 1 callers
Method
get_config
(self)
asr/models/layers/multihead_attention.py:218
↓ 1 callers
Method
get_per_epoch_steps
(self)
asr/dataloaders/chunk_dataloader.py:56
↓ 1 callers
Method
get_pos_encoding
(self)
Inference/PythonInference/punc_recover/src/punc_recover.py:22
↓ 1 callers
Method
get_scales
(self, num)
asr/models/wav_model.py:132
↓ 1 callers
Method
get_sentence
(self, training)
punc_recover/dataloaders/punc_dataloader.py:86
↓ 1 callers
Function
get_value
(value_string, use_zeros=True)
augmentations/tts_for_asr/utils/normalize.py:315
↓ 1 callers
Method
greedy_decode
(self,y, blank=1331)
Inference/PythonInference/asr/src/asr.py:56
↓ 1 callers
Function
hamming
(n: int)
leaf_audio/utils.py:76
↓ 1 callers
Method
iextract
Args: feat: tf.Tensor with dim [B, None] Returns: transcripts: tf.Tensor of dtype tf.string with dim [B]
Inference/PythonInference/utils/text_featurizers.py:76
↓ 1 callers
Method
inference
(self, inputs,mask)
punc_recover/models/punc_transformer.py:302
↓ 1 callers
Method
init_all
(self, config)
punc_recover/dataloaders/punc_dataloader.py:76
↓ 1 callers
Method
init_bert
(self, config, checkpoint)
punc_recover/dataloaders/punc_dataloader.py:22
↓ 1 callers
Method
init_params
(self)
vad/online_vad.py:39
↓ 1 callers
Method
init_text_to_vocab
(self)
asr/dataloaders/am_dataloader.py:57
↓ 1 callers
Method
init_text_to_vocab
(self)
asr/dataloaders/chunk_dataloader.py:65
↓ 1 callers
Method
is_silence
(self, chunk)
vad/offline_vad.py:12
↓ 1 callers
Method
load_checkpoint
Load checkpoint.
test_punc.py:44
↓ 1 callers
Method
load_checkpoint
Load checkpoint.
test_asr.py:95
↓ 1 callers
Method
load_checkpoint
Load checkpoint.
asr/tester/am_tester.py:163
↓ 1 callers
Method
load_checkpoint
Load checkpoint.
asr/trainer/ctc_runners.py:304
↓ 1 callers
Method
load_checkpoint
Load checkpoint.
vad/run-test.py:30
↓ 1 callers
Method
load_checkpoint
Load checkpoint.
vad/tester/vad_tester.py:53
↓ 1 callers
Method
load_checkpoint
Load checkpoint.
vad/trainer/base_trainer.py:135
↓ 1 callers
Method
load_checkpoint
Load checkpoint.
punc_recover/tester/punc_tester.py:70
↓ 1 callers
Method
load_checkpoint
Load checkpoint.
punc_recover/trainer/base_trainers.py:135
↓ 1 callers
Method
localEnergy
(self, chunk)
vad/offline_vad.py:24
↓ 1 callers
Method
localEnergy
(self, chunk)
vad/online_vad.py:22
↓ 1 callers
Method
make_file_list
(self, training=True)
asr/dataloaders/am_dataloader.py:83
↓ 1 callers
Method
make_file_list
(self, training=True)
asr/dataloaders/chunk_dataloader.py:99
↓ 1 callers
Method
make_file_list
(self, training=True)
vad/dataloaders/vad_dataloader.py:44
↓ 1 callers
Function
mel
[np] create a filterbank matrix to combine stft bins into mel-frequency bins use Slaney (said Librosa) n_mels: numbre of mel bands fmin :
asr/models/layers/backend.py:13
↓ 1 callers
Method
money2chntext
(self)
augmentations/tts_for_asr/utils/normalize.py:565
↓ 1 callers
Method
offline_stt
(self, wav_path)
test_asr.py:186
↓ 1 callers
Method
ohters_train
(self)
train_asr.py:114
↓ 1 callers
Method
on_inter_break
(self, message)
Inference/PythonInference/stream_asr_session.py:66
↓ 1 callers
Method
on_sentence_begin
(self, message)
Inference/PythonInference/stream_asr_session.py:43
↓ 1 callers
Method
onnx_stream_call
(self, wav_path, model_dir='')
test_chunk_asr.py:180
↓ 1 callers
Method
parse
(self, config)
augmentations/augments.py:196
← previous
next →
201–300 of 1,065, ranked by callers