MCPcopy Create free account

hub / github.com/ASLP-lab/OSUM / types & classes

Types & classes348 in github.com/ASLP-lab/OSUM

↓ 21 callersClassProcessor
OSUM/wenet/dataset/dataset.py:26
↓ 20 callersClassProcessor
OSUM-EChat/wenet/dataset/dataset.py:27
↓ 9 callersClassPositionwiseFeedForward
Positionwise feed forward layer. FeedForward are appied on each position of the sequence. The output dim is same with the input dim. Arg
OSUM-EChat/tts/cosyvoice/transformer/positionwise_feed_forward.py:20
↓ 8 callersClassBPULinear
Refactor torch.nn.Linear or pointwise_conv
OSUM/wenet/bin/export_onnx_bpu.py:162
↓ 7 callersClassDecodeResult
OSUM/wenet/transformer/search.py:30
↓ 7 callersClassProcessor
OSUM-EChat/common_utils/fake_data/combine/dataset/dataset_no_wav.py:22
↓ 6 callersClassConv1d
OSUM/wenet/finetune/lora/layers.py:340
↓ 6 callersClassCosyVoice
OSUM-EChat/tts/cosyvoice/cli/cosyvoice.py:27
↓ 5 callersClassBPULayerNorm
Refactor torch.nn.LayerNorm to meet 4-D dataflow.
OSUM/wenet/bin/export_onnx_bpu.py:66
↓ 4 callersClassDecodeResult
OSUM-EChat/wenet/transformer/search.py:30
↓ 3 callersClassCausalBlock1D
OSUM-EChat/tts/cosyvoice/flow/decoder.py:35
↓ 3 callersClassCausalConv1d
OSUM-EChat/tts/cosyvoice/flow/decoder.py:58
↓ 3 callersClassCausalResnetBlock1D
OSUM-EChat/tts/cosyvoice/flow/decoder.py:51
↓ 3 callersClassConformerEncoderLayer
Encoder layer module. Args: size (int): Input dimension. self_attn (torch.nn.Module): Self-attention module instance.
OSUM-EChat/tts/cosyvoice/transformer/encoder_layer.py:109
↓ 3 callersClassConstantLR
The ConstantLR scheduler This scheduler keeps a constant lr
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:719
↓ 3 callersClassContextGraph
The ContextGraph is modified from Aho-Corasick which is mainly a Trie with a fail arc for each node. See https://en.wikipedia.org/wiki/Aho%E2%
OSUM/wenet/utils/context_graph.py:103
↓ 3 callersClassConvolutionModule
ConvolutionModule in Conformer model.
OSUM-EChat/tts/cosyvoice/transformer/convolution.py:24
↓ 3 callersClassNoamHoldAnnealing
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:623
↓ 3 callersClassParaformerTokenizer
OSUM/wenet/text/paraformer_tokenizer.py:18
↓ 3 callersClassPositionwiseFeedForward
Positionwise feed forward layer. FeedForward are appied on each position of the sequence. The output dim is same with the input dim. Arg
OSUM/wenet/transformer/positionwise_feed_forward.py:20
↓ 3 callersClassSequence
OSUM/wenet/transducer/search/prefix_beam_search.py:7
↓ 3 callersClassWarmupLR
The WarmupLR scheduler This scheduler is almost same as NoamLR Scheduler except for following difference: NoamLR: lr = optimizer
OSUM-EChat/tts/cosyvoice/utils/scheduler.py:27
↓ 2 callersClassAliParaformerEncoderLayer
OSUM/wenet/paraformer/layers.py:125
↓ 2 callersClassBPUFFN
Refactor wenet/transformer/positionwise_feed_forward.py::PositionwiseFeedForward
OSUM/wenet/bin/export_onnx_bpu.py:516
↓ 2 callersClassBPUIdentity
Refactor torch.nn.Identity(). For inserting BPU node whose input == output.
OSUM/wenet/bin/export_onnx_bpu.py:126
↓ 2 callersClassConformerEncoderLayer
Encoder layer module. Args: size (int): Input dimension. self_attn (torch.nn.Module): Self-attention module instance.
OSUM/wenet/transformer/encoder_layer.py:130
↓ 2 callersClassContextState
The state in ContextGraph
OSUM-EChat/wenet/utils/context_graph.py:60
↓ 2 callersClassContextState
The state in ContextGraph
OSUM/wenet/utils/context_graph.py:60
↓ 2 callersClassConv2dValid
Conv2d operator for VALID mode padding.
OSUM/wenet/squeezeformer/conv2d.py:20
↓ 2 callersClassCosyVoice2
OSUM-EChat/tts/cosyvoice/cli/cosyvoice.py:151
↓ 2 callersClassCosyVoiceFrontEnd
OSUM-EChat/tts/cosyvoice/cli/frontend.py:44
↓ 2 callersClassCosyVoiceModel
OSUM-EChat/tts/cosyvoice/cli/model.py:32
↓ 2 callersClassGlobalCMVN
OSUM/wenet/transformer/cmvn.py:18
↓ 2 callersClassLabelSmoothingLoss
Label-smoothing loss. In a standard CE loss, the label's data distribution is: [0,1,2] -> [ [1.0, 0.0, 0.0], [0.0, 1.0, 0
OSUM-EChat/tts/cosyvoice/transformer/label_smoothing_loss.py:21
↓ 2 callersClassLabelSmoothingLoss
Label-smoothing loss. In a standard CE loss, the label's data distribution is: [0,1,2] -> [ [1.0, 0.0, 0.0], [0.0, 1.0, 0
OSUM/wenet/transformer/label_smoothing_loss.py:21
↓ 2 callersClassLayerDropModuleList
A LayerDrop implementation based on :class:`torch.nn.ModuleList`. We refresh the choice of which layers to drop every time we iterate ov
OSUM/wenet/branchformer/encoder.py:139
↓ 2 callersClassMaxTokenStopper
OSUM-EChat/patches/cumstom_stop_criteria.py:65
↓ 2 callersClassNew_gelu4npu
Construct an Swish object.
OSUM-EChat/wenet/transformer/swish.py:29
↓ 2 callersClassNew_gelu4npu
Construct an Swish object.
OSUM/wenet/transformer/swish.py:29
↓ 2 callersClassPositionwiseFeedForwardDecoderSANM
Positionwise feed forward layer. Args: idim (int): Input dimenstion. hidden_units (int): The number of hidden units. drop
OSUM/wenet/paraformer/layers.py:94
↓ 2 callersClassPrefixScore
For CTC prefix beam search
OSUM-EChat/wenet/transformer/search.py:62
↓ 2 callersClassPrefixScore
For CTC prefix beam search
OSUM/wenet/transformer/search.py:62
↓ 2 callersClassProcessor
OSUM-EChat/tts/cosyvoice/dataset/dataset.py:27
↓ 2 callersClassResBlock
Residual block module in HiFiGAN/BigVGAN.
OSUM-EChat/tts/cosyvoice/hifigan/generator.py:44
↓ 2 callersClassSnake
Implementation of a sine-based periodic activation function Shape: - Input: (B, C, T) - Output: (B, C, T), same shape as the
OSUM-EChat/tts/cosyvoice/transformer/activation.py:34
↓ 2 callersClassStepTimer
Utility class for measuring steps/second.
OSUM-EChat/wenet/utils/common.py:340
↓ 2 callersClassStepTimer
Utility class for measuring steps/second.
OSUM/wenet/utils/common.py:340
↓ 2 callersClassTextLineDataPipe
Streamming Text line
OSUM/wenet/dataset/datapipes.py:347
↓ 2 callersClassTransformerDecoder
Base class of Transfomer decoder module. Args: vocab_size: output dim encoder_output_size: dimension of attention attentio
OSUM-EChat/tts/cosyvoice/transformer/decoder.py:33
↓ 2 callersClassTransformerDecoder
Base class of Transfomer decoder module. Args: vocab_size: output dim encoder_output_size: dimension of attention attentio
OSUM-EChat/wenet/transformer/decoder.py:36
↓ 2 callersClassTransformerDecoder
Base class of Transfomer decoder module. Args: vocab_size: output dim encoder_output_size: dimension of attention attentio
OSUM/wenet/transformer/decoder.py:36
↓ 2 callersClassTransformerEncoderLayer
Encoder layer module. Args: size (int): Input dimension. self_attn (torch.nn.Module): Self-attention module instance.
OSUM-EChat/wenet/transformer/encoder_layer.py:28
↓ 2 callersClassTransformerEncoderLayer
Encoder layer module. Args: size (int): Input dimension. self_attn (torch.nn.Module): Self-attention module instance.
OSUM/wenet/transformer/encoder_layer.py:28
↓ 2 callersClassTranspose
OSUM-EChat/tts/cosyvoice/flow/decoder.py:24
↓ 2 callersClassUnsupportedDataType
OSUM/wenet/dataset/kaldi_io.py:26
↓ 2 callersClassUpsample1D
A 1D upsampling layer with an optional convolution. Parameters: channels (`int`): number of channels in the inputs and output
OSUM-EChat/tts/cosyvoice/transformer/upsample_encoder.py:37
↓ 2 callersClassWav2vecGumbelVectorQuantizer
OSUM/wenet/ssl/wav2vec2/quantizer.py:26
↓ 1 callersClassAudioDataset
OSUM/tools/compute_cmvn_stats.py:64
↓ 1 callersClassAudioIterableDataset
OSUM/tools/compute_shard_cmvn_stats.py:79
↓ 1 callersClassAudioIterableDataset
OSUM/tools/extract_shard_data.py:32
↓ 1 callersClassBPUCTC
Refactor wenet/transformer/ctc.py::CTC
OSUM/wenet/bin/export_onnx_bpu.py:799
↓ 1 callersClassBPUConformerEncoder
Refactor wenet/transformer/encoder.py::ConformerEncoder
OSUM/wenet/bin/export_onnx_bpu.py:670
↓ 1 callersClassBPUConformerEncoderLayer
Refactor wenet/transformer/encoder_layer.py::ConformerEncoderLayer
OSUM/wenet/bin/export_onnx_bpu.py:554
↓ 1 callersClassBPUConv2dSubsampling8
Refactor wenet/transformer/subsampling.py::Conv2dSubsampling8 NOTE(xcsong): Only support pos_enc_class == NoPositionalEncoding
OSUM/wenet/bin/export_onnx_bpu.py:238
↓ 1 callersClassBPUConvolution
Refactor wenet/transformer/convolution.py::ConvolutionModule NOTE(xcsong): Only suport use_layer_norm == False
OSUM/wenet/bin/export_onnx_bpu.py:423
↓ 1 callersClassBPUGlobalCMVN
Refactor wenet/transformer/cmvn.py::GlobalCMVN
OSUM/wenet/bin/export_onnx_bpu.py:213
↓ 1 callersClassBPUMultiHeadedAttention
Refactor wenet/transformer/attention.py::MultiHeadedAttention NOTE(xcsong): Only support attention_class == MultiHeadedAttention, we do n
OSUM/wenet/bin/export_onnx_bpu.py:317
↓ 1 callersClassBadSymbolFormat
OSUM-EChat/wenet/utils/file_utils.py:49
↓ 1 callersClassBadSymbolFormat
OSUM/wenet/utils/file_utils.py:49
↓ 1 callersClassBigDataList
OSUM-EChat/wenet/dataset/dataset.py:181
↓ 1 callersClassBpeTokenizer
OSUM-EChat/wenet/text/bpe_tokenizer.py:7
↓ 1 callersClassBpeTokenizer
OSUM/wenet/text/bpe_tokenizer.py:7
↓ 1 callersClassBranchformerEncoderLayer
Branchformer encoder layer module. Args: size (int): model dimension attn: standard self-attention or efficient attention, option
OSUM/wenet/branchformer/encoder_layer.py:25
↓ 1 callersClassCalculator
OSUM/tools/compute-cer.py:91
↓ 1 callersClassCalculator
OSUM/tools/compute-wer.py:85
↓ 1 callersClassCausalLM
OSUM/wenet/LLM/causallm_model.py:9
↓ 1 callersClassCharTokenizer
OSUM-EChat/wenet/text/char_tokenizer.py:9
↓ 1 callersClassCharTokenizer
OSUM/wenet/text/char_tokenizer.py:9
↓ 1 callersClassCif
OSUM/wenet/paraformer/cif.py:24
↓ 1 callersClassCollateFunc
Collate function for AudioDataset
OSUM/tools/compute_shard_cmvn_stats.py:34
↓ 1 callersClassCollateFunc
Collate function for AudioDataset
OSUM/tools/compute_cmvn_stats.py:16
↓ 1 callersClassConformerEncoderLayer
Encoder layer module. Args: size (int): Input dimension. self_attn (torch.nn.Module): Self-attention module instance.
OSUM-EChat/wenet/transformer/encoder_layer.py:130
↓ 1 callersClassConvolutionModule
ConvolutionModule in Conformer model.
OSUM-EChat/wenet/transformer/convolution.py:25
↓ 1 callersClassConvolutionModule
ConvolutionModule in Conformer model.
OSUM/wenet/transformer/convolution.py:25
↓ 1 callersClassConvolutionalSpatialGatingUnit
Convolutional Spatial Gating Unit (CSGU).
OSUM/wenet/branchformer/cgmlp.py:30
↓ 1 callersClassCosyVoice2Model
OSUM-EChat/tts/cosyvoice/cli/model.py:341
↓ 1 callersClassDataList
OSUM-EChat/common_utils/fake_data/combine/dataset/dataset_no_wav.py:105
↓ 1 callersClassDataList
OSUM-EChat/tts/cosyvoice/dataset/dataset.py:108
↓ 1 callersClassDataList
OSUM-EChat/wenet/dataset/dataset.py:161
↓ 1 callersClassDataList
OSUM/wenet/dataset/dataset.py:131
↓ 1 callersClassDecoder
OSUM/wenet/bin/export_onnx_gpu.py:628
↓ 1 callersClassDecoderLayer
Single decoder layer module. Args: size (int): Input dimension. self_attn (torch.nn.Module): Self-attention module instance.
OSUM-EChat/tts/cosyvoice/transformer/decoder_layer.py:22
↓ 1 callersClassDecoderLayer
Single decoder layer module. Args: size (int): Input dimension. self_attn (torch.nn.Module): Self-attention module instance.
OSUM-EChat/wenet/transformer/decoder_layer.py:25
↓ 1 callersClassDecoderLayer
Single decoder layer module. Args: size (int): Input dimension. self_attn (torch.nn.Module): Self-attention module instance.
OSUM/wenet/transformer/decoder_layer.py:25
↓ 1 callersClassDecoderOnly
OSUM/wenet/LLM/decoder.py:15
↓ 1 callersClassDepthwiseConv2dSubsampling4
Depthwise Convolutional 2D subsampling (to 1/4 length). Args: idim (int): Input dimension. odim (int): Output dimensi
OSUM/wenet/squeezeformer/subsampling.py:27
↓ 1 callersClassDiscriminatorR
OSUM-EChat/tts/cosyvoice/hifigan/discriminator.py:72
↓ 1 callersClassDistributedSampler
OSUM-EChat/common_utils/fake_data/combine/dataset/dataset_no_wav.py:46
↓ 1 callersClassDistributedSampler
OSUM-EChat/tts/cosyvoice/dataset/dataset.py:52
↓ 1 callersClassDistributedSampler
OSUM-EChat/wenet/dataset/dataset.py:52
next →1–100 of 348, ranked by callers