SYMBOL INDEX (2609 symbols across 205 files) FILE: Assistant/Agents.py function generateReactAgent (line 12) | def generateReactAgent(VA:VirtualAssistant, k:int): function build_memory (line 63) | def build_memory(chat_history, k): function generateGoogleAgent (line 83) | def generateGoogleAgent(VA:VirtualAssistant, k:int): function locate_me (line 143) | def locate_me(p): function today (line 147) | def today(p): function time_between_dates (line 150) | def time_between_dates(date1, date2): function news (line 159) | def news(keyword): FILE: Assistant/VirtualAssistant.py class VirtualAssistant (line 41) | class VirtualAssistant: method __init__ (line 62) | def __init__(self, method switch_mode (line 150) | def switch_mode(self): method identify_explicit_command (line 164) | def identify_explicit_command(self, prompt): method use_tools (line 196) | def use_tools(self, prompt, debug = DEBUG): method secondary_agent (line 208) | def secondary_agent(self, prompt, debug = DEBUG): method set_directories (line 218) | def set_directories(self, **kwargs): method go_to_sleep (line 230) | def go_to_sleep(self): method analyze_prompt (line 239) | def analyze_prompt(self, prompt, debug = DEBUG): method start_new_conversation (line 300) | def start_new_conversation(self): method expand_conversation (line 305) | def expand_conversation(self, role, content): self.current_conversatio... method get_answer (line 307) | def get_answer(self, question, optimize_cuda = False, debug=DEBUG): method save_chat (line 353) | def save_chat(self, debug = DEBUG): method init_research_mode (line 394) | def init_research_mode(self, workspace=None): method deallocate_whisper (line 418) | def deallocate_whisper(self): method allocate_whisper (line 430) | def allocate_whisper(self): method switch_whisper_device (line 448) | def switch_whisper_device(self): method open_file (line 470) | def open_file(self, filename, debug=DEBUG): method find_file (line 486) | def find_file(self, keywords, n=3, debug=DEBUG): method play (line 501) | def play(self, fname, PlayAndWait=False, loop=False, debug = DEBUG): method say (line 519) | def say(self, text, VoiceIdx='jarvis', elevenlabs=False, IBM=False): method block_until_wakeword (line 563) | def block_until_wakeword(self, verbosity=False): method listen_passively (line 615) | def listen_passively(self, verbosity=False): method record_to_file (line 633) | def record_to_file(self, file_path): method record (line 644) | def record(self): function suppress_stdout (line 719) | def suppress_stdout(): FILE: Assistant/get_audio.py function whisper_wav_to_text (line 11) | def whisper_wav_to_text(audio_name, model=[], model_name=False, prior=No... function get_device_channels (line 49) | def get_device_channels(): function detect_microphones (line 57) | def detect_microphones(): function get_devices (line 67) | def get_devices(): FILE: Assistant/research_mode.py class ResearchAssistant (line 13) | class ResearchAssistant: method __init__ (line 14) | def __init__(self, current_conversation, workspace = None, index_name ... method boot_workspace (line 32) | def boot_workspace(self, workspace): method wrapper_find_papers_from_query (line 53) | def wrapper_find_papers_from_query(self, query): method load_pdf_to_pinecone (line 67) | def load_pdf_to_pinecone(self, paths): method PROTOCOL_begin_new_workspace (line 87) | def PROTOCOL_begin_new_workspace(self, query): method wrapper_download_paper (line 119) | def wrapper_download_paper(self, id): method wrapper_find_reccomendation (line 127) | def wrapper_find_reccomendation(self, paperId): method find_in_papers (line 130) | def find_in_papers(self, query): function generateResearchAgent (line 144) | def generateResearchAgent(RA:ResearchAssistant, k:int): function build_memory (line 197) | def build_memory(chat_history, k): FILE: Assistant/semantic_scholar/S2_tools.py function get_paper (line 33) | def get_paper(session: Session, paper_id: str, fields: str = 'paperId,ti... function find_paper_from_query (line 48) | def find_paper_from_query(query, result_limit=RESULT_LIMIT): function find_recommendations (line 85) | def find_recommendations(paper, result_limit = RESULT_LIMIT): function extract_title (line 96) | def extract_title(path): function find_paper_online (line 133) | def find_paper_online(path): function print_papers (line 177) | def print_papers(papers): function chunks (line 184) | def chunks(items, chunk_size): function fetch_paper_batch (line 188) | def fetch_paper_batch(paperid: list): function download_pdf_from_id (line 201) | def download_pdf_from_id(paperid, path=os.getcwd()): function update_dataframe (line 210) | def update_dataframe(incomplete, dest): function write_bib_file (line 306) | def write_bib_file(csv_file, bib_file=None): function create_bib_entry (line 317) | def create_bib_entry(row): function replace_non_alphanumeric (line 347) | def replace_non_alphanumeric(string, replacement=' '): function refy_reccomend (line 353) | def refy_reccomend(bib_path, number=20): function write_to_pdf (line 362) | def write_to_pdf(text, dest): FILE: Assistant/semantic_scholar/agent_tools.py function PaperSearchAndDownload (line 22) | def PaperSearchAndDownload(query): function download_paper (line 93) | def download_paper(url, save_path=f"{uuid.uuid4().hex}.pdf"): function download_bibtex_library (line 137) | def download_bibtex_library(csv_path): function generate_chunks (line 153) | def generate_chunks(text, CHUNK_LENGTH = 4000): function get_result_path (line 205) | def get_result_path(path, exclude = []): function get_workspace_titles (line 214) | def get_workspace_titles(workspace_name): function same_title (line 224) | def same_title(title1, title2): function glimpse_pdf (line 235) | def glimpse_pdf(title): function count_tokens (line 249) | def count_tokens(text): function readPDF (line 254) | def readPDF(pdf_path): function get_pdf_path (line 265) | def get_pdf_path(dir, exclude=[]): function delete_duplicates_from_csv (line 275) | def delete_duplicates_from_csv(csv_file): function update_workspace_dataframe (line 325) | def update_workspace_dataframe(workspace, verbose = True): function load_workspace (line 423) | def load_workspace(folderdir): function list_workspace_elements (line 445) | def list_workspace_elements(folderdir): function llama_query_engine (line 458) | def llama_query_engine(docs:list, pinecone_index_name:str): function suppress_stdout (line 504) | def suppress_stdout(): FILE: Assistant/semantic_scholar/simple.py function get_paper (line 16) | def get_paper(session: Session, paper_id: str, fields: str = 'paperId,ti... function download_pdf (line 30) | def download_pdf(session: Session, url: str, path: str, user_agent: str ... function download_paper (line 50) | def download_paper(session: Session, paper_id: str, directory: str = 'pa... function download_papers (line 78) | def download_papers(paper_ids: list[str], directory: str = 'papers', use... function main (line 88) | def main(args: argparse.Namespace) -> None: function Main (line 106) | def Main(paper_ids=[], dir='papers', user_agent = 'requests/2.0.0', ): FILE: Assistant/tools.py class AssistantChat (line 28) | class AssistantChat(collections.MutableSequence): method __init__ (line 29) | def __init__(self, begin:list, *args): method is_saved (line 34) | def is_saved(self): method insert (line 37) | def insert(self, i, v): method append (line 40) | def append(self, item): method __call__ (line 43) | def __call__(self): method __len__ (line 46) | def __len__(self): return len(self.body) method __getitem__ (line 48) | def __getitem__(self, i): return self.body[i] method __delitem__ (line 50) | def __delitem__(self, i): del self.body[i] method __setitem__ (line 52) | def __setitem__(self, i, v): method __str__ (line 55) | def __str__(self): class Translator (line 72) | class Translator: method __init__ (line 73) | def __init__(self, model="argostranslator", **kwargs): method translate (line 110) | def translate(self, input, to_language, from_language=None): class LocalSearchEngine (line 164) | class LocalSearchEngine: method __init__ (line 165) | def __init__(self, method compute_similarity (line 179) | def compute_similarity(self, key, text): method accurate_search (line 190) | def accurate_search(self, key, path=None, n=-1, from_csv=False): method produce_folder_tags (line 260) | def produce_folder_tags(self, path=None): method extract_tags (line 336) | def extract_tags(self, text): method compute_embeds (line 355) | def compute_embeds(self, words): method DaVinci_tldr (line 358) | def DaVinci_tldr(self, text): method tldr (line 370) | def tldr(self, text, to_language=None, with_model = ''): class OnlineSearchEngine (line 413) | class OnlineSearchEngine: function count_tokens (line 420) | def count_tokens(vCountTokenStr): function parse_conversation (line 430) | def parse_conversation(string_chat): function take_last_k_interactions (line 447) | def take_last_k_interactions(chat, max_tokens=4000): FILE: Assistant/voice.py class Voice (line 15) | class Voice: method __init__ (line 16) | def __init__(self, languages, **kwargs): method speak (line 65) | def speak(self, text, VoiceIdx, mode, elevenlabs=False, IBM=False): method change_offline_lang (line 124) | def change_offline_lang(self, lang_id): function get_ibm_voice_id (line 137) | def get_ibm_voice_id(VoiceIdx): function suppress_stdout (line 194) | def suppress_stdout(): FILE: Assistant/webui.py function set_text_gen_params (line 29) | def set_text_gen_params(**kwargs): function oobabooga_textgen (line 35) | def oobabooga_textgen(prompt, params=TEXT_GEN_PARAMS, server=SERVER): function post_process (line 60) | def post_process(answer): function parse_conversation (line 77) | def parse_conversation(chat): FILE: TTS/api.py class TTS (line 9) | class TTS: method __init__ (line 12) | def __init__( method models (line 66) | def models(self): method is_multi_speaker (line 70) | def is_multi_speaker(self): method is_multi_lingual (line 76) | def is_multi_lingual(self): method speakers (line 82) | def speakers(self): method languages (line 88) | def languages(self): method get_models_file_path (line 94) | def get_models_file_path(): method list_models (line 98) | def list_models(): method download_model_by_name (line 102) | def download_model_by_name(self, model_name: str): method load_vc_model_by_name (line 109) | def load_vc_model_by_name(self, model_name: str, gpu: bool = False): method load_tts_model_by_name (line 119) | def load_tts_model_by_name(self, model_name: str, gpu: bool = False): method load_tts_model_by_path (line 145) | def load_tts_model_by_path( method _check_arguments (line 170) | def _check_arguments(self, speaker: str = None, language: str = None, ... method tts (line 180) | def tts(self, text: str, speaker: str = None, language: str = None, sp... method tts_to_file (line 210) | def tts_to_file( method voice_conversion (line 238) | def voice_conversion( method tts_with_vc (line 254) | def tts_with_vc(self, text: str, language: str = None, speaker_wav: st... method tts_with_vc_to_file (line 280) | def tts_with_vc_to_file( FILE: TTS/bin/collect_env_info.py function system_info (line 15) | def system_info(): function cuda_info (line 25) | def cuda_info(): function package_info (line 33) | def package_info(): function main (line 42) | def main(): FILE: TTS/bin/compute_embeddings.py function compute_embeddings (line 15) | def compute_embeddings( FILE: TTS/bin/compute_statistics.py function main (line 17) | def main(): FILE: TTS/bin/eval_encoder.py function compute_encoder_accuracy (line 12) | def compute_encoder_accuracy(dataset_items, encoder_manager): FILE: TTS/bin/extract_tts_spectrograms.py function setup_loader (line 23) | def setup_loader(ap, r, verbose=False): function set_filename (line 62) | def set_filename(wav_path, out_path): function format_data (line 76) | def format_data(data): function inference (line 116) | def inference( function extract_spectrograms (line 161) | def extract_spectrograms( function main (line 223) | def main(args): # pylint: disable=redefined-outer-name FILE: TTS/bin/find_unique_chars.py function main (line 9) | def main(): FILE: TTS/bin/find_unique_phonemes.py function compute_phonemes (line 13) | def compute_phonemes(item): function main (line 19) | def main(): FILE: TTS/bin/remove_silence_using_vad.py function adjust_path_and_remove_silence (line 11) | def adjust_path_and_remove_silence(audio_path): function preprocess_audios (line 31) | def preprocess_audios(): FILE: TTS/bin/resample.py function resample_file (line 13) | def resample_file(func_args): function resample_files (line 19) | def resample_files(input_dir, output_sr, output_dir=None, file_ext="wav"... FILE: TTS/bin/synthesize.py function str2bool (line 15) | def str2bool(v): function main (line 25) | def main(): FILE: TTS/bin/train_encoder.py function setup_loader (line 34) | def setup_loader(ap: AudioProcessor, is_val: bool = False, verbose: bool... function evaluation (line 85) | def evaluation(model, criterion, data_loader, global_step): function train (line 126) | def train(model, optimizer, scheduler, criterion, data_loader, eval_data... function main (line 254) | def main(args): # pylint: disable=redefined-outer-name FILE: TTS/bin/train_tts.py class TrainTTSArgs (line 12) | class TrainTTSArgs(TrainerArgs): function main (line 16) | def main(): FILE: TTS/bin/train_vocoder.py class TrainVocoderArgs (line 13) | class TrainVocoderArgs(TrainerArgs): function main (line 17) | def main(): FILE: TTS/config/__init__.py function read_json_with_comments (line 14) | def read_json_with_comments(json_path): function register_config (line 26) | def register_config(model_name: str) -> Coqpit: function _process_model_name (line 51) | def _process_model_name(config_dict: Dict) -> str: function load_config (line 65) | def load_config(config_path: str) -> Coqpit: function check_config_and_model_args (line 100) | def check_config_and_model_args(config, arg_name, value): function get_from_config_or_model_args (line 117) | def get_from_config_or_model_args(config, arg_name): function get_from_config_or_model_args_with_default (line 125) | def get_from_config_or_model_args_with_default(config, arg_name, def_val): FILE: TTS/config/shared_configs.py class BaseAudioConfig (line 9) | class BaseAudioConfig(Coqpit): method check_values (line 156) | def check_values( class BaseDatasetConfig (line 192) | class BaseDatasetConfig(Coqpit): method check_values (line 236) | def check_values( class BaseTrainingConfig (line 249) | class BaseTrainingConfig(TrainerConfig): FILE: TTS/encoder/configs/base_encoder_config.py class BaseEncoderConfig (line 10) | class BaseEncoderConfig(BaseTrainingConfig): method check_values (line 56) | def check_values(self): FILE: TTS/encoder/configs/emotion_encoder_config.py class EmotionEncoderConfig (line 7) | class EmotionEncoderConfig(BaseEncoderConfig): FILE: TTS/encoder/configs/speaker_encoder_config.py class SpeakerEncoderConfig (line 7) | class SpeakerEncoderConfig(BaseEncoderConfig): FILE: TTS/encoder/dataset.py class EncoderDataset (line 9) | class EncoderDataset(Dataset): method __init__ (line 10) | def __init__( method load_wav (line 61) | def load_wav(self, filename): method __parse_items (line 65) | def __parse_items(self): method __len__ (line 98) | def __len__(self): method get_num_classes (line 101) | def get_num_classes(self): method get_class_list (line 104) | def get_class_list(self): method set_classes (line 107) | def set_classes(self, classes): method get_map_classid_to_classname (line 111) | def get_map_classid_to_classname(self): method __getitem__ (line 114) | def __getitem__(self, idx): method collate_fn (line 117) | def collate_fn(self, batch): FILE: TTS/encoder/losses.py class GE2ELoss (line 7) | class GE2ELoss(nn.Module): method __init__ (line 8) | def __init__(self, init_w=10.0, init_b=-5.0, loss_method="softmax"): method calc_new_centroids (line 36) | def calc_new_centroids(self, dvecs, centroids, spkr, utt): method calc_cosine_sim (line 50) | def calc_cosine_sim(self, dvecs, centroids): method embed_loss_softmax (line 75) | def embed_loss_softmax(self, dvecs, cos_sim_matrix): method embed_loss_contrast (line 90) | def embed_loss_contrast(self, dvecs, cos_sim_matrix): method forward (line 106) | def forward(self, x, _label=None): class AngleProtoLoss (line 122) | class AngleProtoLoss(nn.Module): method __init__ (line 134) | def __init__(self, init_w=10.0, init_b=-5.0): method forward (line 144) | def forward(self, x, _label=None): class SoftmaxLoss (line 166) | class SoftmaxLoss(nn.Module): method __init__ (line 174) | def __init__(self, embedding_dim, n_speakers): method forward (line 182) | def forward(self, x, label=None): method inference (line 192) | def inference(self, embedding): class SoftmaxAngleProtoLoss (line 199) | class SoftmaxAngleProtoLoss(nn.Module): method __init__ (line 209) | def __init__(self, embedding_dim, n_speakers, init_w=10.0, init_b=-5.0): method forward (line 217) | def forward(self, x, label=None): FILE: TTS/encoder/models/base_encoder.py class PreEmphasis (line 12) | class PreEmphasis(nn.Module): method __init__ (line 13) | def __init__(self, coefficient=0.97): method forward (line 18) | def forward(self, x): class BaseEncoder (line 25) | class BaseEncoder(nn.Module): method __init__ (line 32) | def __init__(self): method get_torch_mel_spectrogram_class (line 35) | def get_torch_mel_spectrogram_class(self, audio_config): method inference (line 64) | def inference(self, x, l2_norm=True): method compute_embedding (line 68) | def compute_embedding(self, x, num_frames=250, num_eval=10, return_mea... method get_criterion (line 98) | def get_criterion(self, c: Coqpit, num_classes=None): method load_checkpoint (line 109) | def load_checkpoint( FILE: TTS/encoder/models/lstm.py class LSTMWithProjection (line 7) | class LSTMWithProjection(nn.Module): method __init__ (line 8) | def __init__(self, input_size, hidden_size, proj_size): method forward (line 16) | def forward(self, x): class LSTMWithoutProjection (line 22) | class LSTMWithoutProjection(nn.Module): method __init__ (line 23) | def __init__(self, input_dim, lstm_dim, proj_dim, num_lstm_layers): method forward (line 29) | def forward(self, x): class LSTMSpeakerEncoder (line 34) | class LSTMSpeakerEncoder(BaseEncoder): method __init__ (line 35) | def __init__( method _init_layers (line 70) | def _init_layers(self): method forward (line 77) | def forward(self, x, l2_norm=True): FILE: TTS/encoder/models/resnet.py class SELayer (line 8) | class SELayer(nn.Module): method __init__ (line 9) | def __init__(self, channel, reduction=8): method forward (line 19) | def forward(self, x): class SEBasicBlock (line 26) | class SEBasicBlock(nn.Module): method __init__ (line 29) | def __init__(self, inplanes, planes, stride=1, downsample=None, reduct... method forward (line 40) | def forward(self, x): class ResNetSpeakerEncoder (line 59) | class ResNetSpeakerEncoder(BaseEncoder): method __init__ (line 65) | def __init__( method _init_layers (line 123) | def _init_layers(self): method create_layer (line 131) | def create_layer(self, block, planes, blocks, stride=1): method new_parameter (line 148) | def new_parameter(self, *size): method forward (line 153) | def forward(self, x, l2_norm=False): FILE: TTS/encoder/utils/generic_utils.py class AugmentWAV (line 15) | class AugmentWAV(object): method __init__ (line 16) | def __init__(self, ap, augmentation_config): method create_augmentation_global_list (line 60) | def create_augmentation_global_list(self): method additive_noise (line 68) | def additive_noise(self, noise_type, audio): method reverberate (line 105) | def reverberate(self, audio): method apply_one (line 113) | def apply_one(self, audio): function to_camel (line 121) | def to_camel(text): function setup_encoder_model (line 126) | def setup_encoder_model(config: "Coqpit"): function save_checkpoint (line 147) | def save_checkpoint(model, optimizer, criterion, model_loss, out_path, c... function save_best_model (line 165) | def save_best_model(model, optimizer, criterion, model_loss, best_loss, ... FILE: TTS/encoder/utils/io.py function save_checkpoint (line 7) | def save_checkpoint(model, optimizer, model_loss, out_path, current_step): function save_best_model (line 23) | def save_best_model(model, optimizer, model_loss, best_loss, out_path, c... FILE: TTS/encoder/utils/prepare_voxceleb.py function download_and_extract (line 65) | def download_and_extract(directory, subset, urls): function exec_cmd (line 111) | def exec_cmd(cmd): function decode_aac_with_ffmpeg (line 128) | def decode_aac_with_ffmpeg(aac_file, wav_file): function convert_audio_and_make_label (line 146) | def convert_audio_and_make_label(input_dir, subset, output_dir, output_f... function processor (line 193) | def processor(directory, subset, force_process): FILE: TTS/encoder/utils/training.py class TrainArgs (line 16) | class TrainArgs(TrainerArgs): function getarguments (line 20) | def getarguments(): function process_args (line 26) | def process_args(args, config=None): function init_arguments (line 88) | def init_arguments(): function init_training (line 94) | def init_training(config: Coqpit = None): FILE: TTS/encoder/utils/visual.py function plot_embeddings (line 32) | def plot_embeddings(embeddings, num_classes_in_batch): FILE: TTS/model.py class BaseTrainerModel (line 11) | class BaseTrainerModel(TrainerModel): method init_from_config (line 19) | def init_from_config(config: Coqpit): method inference (line 27) | def inference(self, input: torch.Tensor, aux_input={}) -> Dict: method load_checkpoint (line 47) | def load_checkpoint( FILE: TTS/server/server.py function create_argparser (line 19) | def create_argparser(): function style_wav_uri_to_dict (line 131) | def style_wav_uri_to_dict(style_wav: str) -> Union[str, dict]: function index (line 151) | def index(): function details (line 164) | def details(): function tts (line 184) | def tts(): function mary_tts_api_locales (line 204) | def mary_tts_api_locales(): function mary_tts_api_voices (line 215) | def mary_tts_api_voices(): function mary_tts_api_process (line 228) | def mary_tts_api_process(): function main (line 244) | def main(): FILE: TTS/tts/configs/align_tts_config.py class AlignTTSConfig (line 9) | class AlignTTSConfig(BaseTTSConfig): FILE: TTS/tts/configs/fast_pitch_config.py class FastPitchConfig (line 9) | class FastPitchConfig(BaseTTSConfig): method __post_init__ (line 166) | def __post_init__(self): FILE: TTS/tts/configs/fast_speech_config.py class FastSpeechConfig (line 9) | class FastSpeechConfig(BaseTTSConfig): method __post_init__ (line 160) | def __post_init__(self): FILE: TTS/tts/configs/fastspeech2_config.py class Fastspeech2Config (line 9) | class Fastspeech2Config(BaseTTSConfig): method __post_init__ (line 181) | def __post_init__(self): FILE: TTS/tts/configs/glow_tts_config.py class GlowTTSConfig (line 8) | class GlowTTSConfig(BaseTTSConfig): FILE: TTS/tts/configs/neuralhmm_tts_config.py class NeuralhmmTTSConfig (line 8) | class NeuralhmmTTSConfig(BaseTTSConfig): method check_values (line 157) | def check_values(self): FILE: TTS/tts/configs/overflow_config.py class OverflowConfig (line 8) | class OverflowConfig(BaseTTSConfig): # The classname has to be camel case method check_values (line 188) | def check_values(self): FILE: TTS/tts/configs/shared_configs.py class GSTConfig (line 10) | class GSTConfig(Coqpit): method check_values (line 37) | def check_values( class CapacitronVAEConfig (line 52) | class CapacitronVAEConfig(Coqpit): method check_values (line 81) | def check_values( class CharactersConfig (line 96) | class CharactersConfig(Coqpit): class BaseTTSConfig (line 156) | class BaseTTSConfig(BaseTrainingConfig): FILE: TTS/tts/configs/speedy_speech_config.py class SpeedySpeechConfig (line 9) | class SpeedySpeechConfig(BaseTTSConfig): method __post_init__ (line 175) | def __post_init__(self): FILE: TTS/tts/configs/tacotron2_config.py class Tacotron2Config (line 7) | class Tacotron2Config(TacotronConfig): FILE: TTS/tts/configs/tacotron_config.py class TacotronConfig (line 8) | class TacotronConfig(BaseTTSConfig): method check_values (line 225) | def check_values(self): FILE: TTS/tts/configs/vits_config.py class VitsConfig (line 9) | class VitsConfig(BaseTTSConfig): method __post_init__ (line 173) | def __post_init__(self): FILE: TTS/tts/datasets/__init__.py function split_dataset (line 13) | def split_dataset(items, eval_split_max_size=None, eval_split_size=0.01): function add_extra_keys (line 59) | def add_extra_keys(metadata, language, dataset_name): function load_tts_samples (line 70) | def load_tts_samples( function load_attention_mask_meta_data (line 151) | def load_attention_mask_meta_data(metafile_path): function _get_formatter_by_name (line 163) | def _get_formatter_by_name(name): function find_unique_chars (line 169) | def find_unique_chars(data_samples, verbose=True): FILE: TTS/tts/datasets/dataset.py function _parse_sample (line 21) | def _parse_sample(item): function noise_augment_audio (line 35) | def noise_augment_audio(wav): function string2filename (line 39) | def string2filename(string): class TTSDataset (line 45) | class TTSDataset(Dataset): method __init__ (line 46) | def __init__( method lengths (line 175) | def lengths(self): method samples (line 184) | def samples(self): method samples (line 188) | def samples(self, new_samples): method __len__ (line 197) | def __len__(self): method __getitem__ (line 200) | def __getitem__(self, idx): method print_logs (line 203) | def print_logs(self, level: int = 0) -> None: method load_wav (line 211) | def load_wav(self, filename): method get_phonemes (line 216) | def get_phonemes(self, idx, text): method get_f0 (line 222) | def get_f0(self, idx): method get_energy (line 228) | def get_energy(self, idx): method get_attn_mask (line 235) | def get_attn_mask(attn_file): method get_token_ids (line 238) | def get_token_ids(self, idx, text): method load_data (line 245) | def load_data(self, idx): method _compute_lengths (line 295) | def _compute_lengths(samples): method filter_by_length (line 306) | def filter_by_length(lengths: List[int], min_len: int, max_len: int): method sort_by_length (line 319) | def sort_by_length(samples: List[List]): method create_buckets (line 325) | def create_buckets(samples, batch_group_size: int): method _select_samples_by_idx (line 336) | def _select_samples_by_idx(idxs, samples): method preprocess_samples (line 342) | def preprocess_samples(self): method _sort_batch (line 394) | def _sort_batch(batch, text_lengths): method collate_fn (line 405) | def collate_fn(self, batch): class PhonemeDataset (line 566) | class PhonemeDataset(Dataset): method __init__ (line 586) | def __init__( method __getitem__ (line 600) | def __getitem__(self, index): method __len__ (line 606) | def __len__(self): method compute_or_load (line 609) | def compute_or_load(self, file_name, text, language): method get_pad_id (line 623) | def get_pad_id(self): method precompute (line 627) | def precompute(self, num_workers=1): method collate_fn (line 641) | def collate_fn(self, batch): method print_logs (line 652) | def print_logs(self, level: int = 0) -> None: class F0Dataset (line 661) | class F0Dataset: method __init__ (line 685) | def __init__( method __getitem__ (line 708) | def __getitem__(self, idx): method __len__ (line 716) | def __len__(self): method precompute (line 719) | def precompute(self, num_workers=0): method get_pad_id (line 742) | def get_pad_id(self): method create_pitch_file_path (line 746) | def create_pitch_file_path(file_name, cache_path): method _compute_and_save_pitch (line 751) | def _compute_and_save_pitch(ap, wav_file, pitch_file=None): method compute_pitch_stats (line 759) | def compute_pitch_stats(pitch_vecs): method load_stats (line 764) | def load_stats(self, cache_path): method normalize (line 770) | def normalize(self, pitch): method denormalize (line 777) | def denormalize(self, pitch): method compute_or_load (line 784) | def compute_or_load(self, wav_file, audio_unique_name): method collate_fn (line 795) | def collate_fn(self, batch): method print_logs (line 805) | def print_logs(self, level: int = 0) -> None: class EnergyDataset (line 812) | class EnergyDataset: method __init__ (line 836) | def __init__( method __getitem__ (line 859) | def __getitem__(self, idx): method __len__ (line 867) | def __len__(self): method precompute (line 870) | def precompute(self, num_workers=0): method get_pad_id (line 893) | def get_pad_id(self): method create_energy_file_path (line 897) | def create_energy_file_path(wav_file, cache_path): method _compute_and_save_energy (line 903) | def _compute_and_save_energy(ap, wav_file, energy_file=None): method compute_energy_stats (line 911) | def compute_energy_stats(energy_vecs): method load_stats (line 916) | def load_stats(self, cache_path): method normalize (line 922) | def normalize(self, energy): method denormalize (line 929) | def denormalize(self, energy): method compute_or_load (line 936) | def compute_or_load(self, wav_file, audio_unique_name): method collate_fn (line 947) | def collate_fn(self, batch): method print_logs (line 957) | def print_logs(self, level: int = 0) -> None: FILE: TTS/tts/datasets/formatters.py function coqui (line 16) | def coqui(root_path, meta_file, ignored_speakers=None): function tweb (line 54) | def tweb(root_path, meta_file, **kwargs): # pylint: disable=unused-argu... function mozilla (line 70) | def mozilla(root_path, meta_file, **kwargs): # pylint: disable=unused-a... function mozilla_de (line 85) | def mozilla_de(root_path, meta_file, **kwargs): # pylint: disable=unuse... function mailabs (line 101) | def mailabs(root_path, meta_files=None, ignored_speakers=None): function ljspeech (line 152) | def ljspeech(root_path, meta_file, **kwargs): # pylint: disable=unused-... function ljspeech_test (line 167) | def ljspeech_test(root_path, meta_file, **kwargs): # pylint: disable=un... function thorsten (line 187) | def thorsten(root_path, meta_file, **kwargs): # pylint: disable=unused-... function sam_accenture (line 202) | def sam_accenture(root_path, meta_file, **kwargs): # pylint: disable=un... function ruslan (line 219) | def ruslan(root_path, meta_file, **kwargs): # pylint: disable=unused-ar... function css10 (line 234) | def css10(root_path, meta_file, **kwargs): # pylint: disable=unused-arg... function nancy (line 248) | def nancy(root_path, meta_file, **kwargs): # pylint: disable=unused-arg... function common_voice (line 262) | def common_voice(root_path, meta_file, ignored_speakers=None): function libri_tts (line 284) | def libri_tts(root_path, meta_files=None, ignored_speakers=None): function custom_turkish (line 320) | def custom_turkish(root_path, meta_file, **kwargs): # pylint: disable=u... function brspeech (line 339) | def brspeech(root_path, meta_file, ignored_speakers=None): function vctk (line 359) | def vctk(root_path, meta_files=None, wavs_path="wav48_silence_trimmed", ... function vctk_old (line 406) | def vctk_old(root_path, meta_files=None, wavs_path="wav48", ignored_spea... function synpaflex (line 426) | def synpaflex(root_path, metafiles=None, **kwargs): # pylint: disable=u... function open_bible (line 445) | def open_bible(root_path, meta_files="train", ignore_digits_sentences=Tr... function mls (line 467) | def mls(root_path, meta_files=None, ignored_speakers=None): function voxceleb2 (line 487) | def voxceleb2(root_path, meta_file=None, **kwargs): # pylint: disable=u... function voxceleb1 (line 494) | def voxceleb1(root_path, meta_file=None, **kwargs): # pylint: disable=u... function _voxcel_x (line 501) | def _voxcel_x(root_path, meta_file, voxcel_idx): function emotion (line 536) | def emotion(root_path, meta_file, ignored_speakers=None): function baker (line 558) | def baker(root_path: str, meta_file: str, **kwargs) -> List[List[str]]: ... function kokoro (line 578) | def kokoro(root_path, meta_file, **kwargs): # pylint: disable=unused-ar... function kss (line 592) | def kss(root_path, meta_file, **kwargs): # pylint: disable=unused-argument FILE: TTS/tts/layers/align_tts/duration_predictor.py class DurationPredictor (line 7) | class DurationPredictor(nn.Module): method __init__ (line 8) | def __init__(self, num_chars, hidden_channels, hidden_channels_ffn, nu... method forward (line 15) | def forward(self, text, text_lengths): FILE: TTS/tts/layers/align_tts/mdn.py class MDNBlock (line 4) | class MDNBlock(nn.Module): method __init__ (line 9) | def __init__(self, in_channels, out_channels): method forward (line 18) | def forward(self, x): FILE: TTS/tts/layers/feed_forward/decoder.py class WaveNetDecoder (line 10) | class WaveNetDecoder(nn.Module): method __init__ (line 36) | def __init__(self, in_channels, out_channels, hidden_channels, c_in_ch... method forward (line 54) | def forward(self, x, x_mask=None, g=None): class RelativePositionTransformerDecoder (line 61) | class RelativePositionTransformerDecoder(nn.Module): method __init__ (line 83) | def __init__(self, in_channels, out_channels, hidden_channels, params): method forward (line 88) | def forward(self, x, x_mask=None, g=None): # pylint: disable=unused-a... class FFTransformerDecoder (line 94) | class FFTransformerDecoder(nn.Module): method __init__ (line 112) | def __init__(self, in_channels, out_channels, params): method forward (line 117) | def forward(self, x, x_mask=None, g=None): # pylint: disable=unused-a... class ResidualConv1dBNDecoder (line 125) | class ResidualConv1dBNDecoder(nn.Module): method __init__ (line 146) | def __init__(self, in_channels, out_channels, hidden_channels, params): method forward (line 157) | def forward(self, x, x_mask=None, g=None): # pylint: disable=unused-a... class Decoder (line 163) | class Decoder(nn.Module): method __init__ (line 177) | def __init__( method forward (line 219) | def forward(self, x, x_mask, g=None): # pylint: disable=unused-argument FILE: TTS/tts/layers/feed_forward/duration_predictor.py class DurationPredictor (line 6) | class DurationPredictor(nn.Module): method __init__ (line 20) | def __init__(self, hidden_channels): method forward (line 32) | def forward(self, x, x_mask): FILE: TTS/tts/layers/feed_forward/encoder.py class RelativePositionTransformerEncoder (line 8) | class RelativePositionTransformerEncoder(nn.Module): method __init__ (line 20) | def __init__(self, in_channels, out_channels, hidden_channels, params): method forward (line 33) | def forward(self, x, x_mask=None, g=None): # pylint: disable=unused-a... class ResidualConv1dBNEncoder (line 41) | class ResidualConv1dBNEncoder(nn.Module): method __init__ (line 53) | def __init__(self, in_channels, out_channels, hidden_channels, params): method forward (line 67) | def forward(self, x, x_mask=None, g=None): # pylint: disable=unused-a... class Encoder (line 76) | class Encoder(nn.Module): method __init__ (line 121) | def __init__( method forward (line 154) | def forward(self, x, x_mask, g=None): # pylint: disable=unused-argument FILE: TTS/tts/layers/generic/aligner.py class AlignmentNetwork (line 7) | class AlignmentNetwork(torch.nn.Module): method __init__ (line 22) | def __init__( method forward (line 60) | def forward( FILE: TTS/tts/layers/generic/gated_conv.py class GatedConvBlock (line 6) | class GatedConvBlock(nn.Module): method __init__ (line 14) | def __init__(self, in_out_channels, kernel_size, dropout_p, num_layers): method forward (line 27) | def forward(self, x, x_mask): FILE: TTS/tts/layers/generic/normalization.py class LayerNorm (line 5) | class LayerNorm(nn.Module): method __init__ (line 6) | def __init__(self, channels, eps=1e-4): method forward (line 23) | def forward(self, x): class LayerNorm2 (line 31) | class LayerNorm2(nn.Module): method __init__ (line 42) | def __init__(self, channels, eps=1e-5): method forward (line 50) | def forward(self, x): class TemporalBatchNorm1d (line 56) | class TemporalBatchNorm1d(nn.BatchNorm1d): method __init__ (line 59) | def __init__(self, channels, affine=True, track_running_stats=True, mo... method forward (line 62) | def forward(self, x): class ActNorm (line 66) | class ActNorm(nn.Module): method __init__ (line 80) | def __init__(self, channels, ddi=False, **kwargs): # pylint: disable=... method forward (line 88) | def forward(self, x, x_mask=None, reverse=False, **kwargs): # pylint:... method store_inverse (line 105) | def store_inverse(self): method set_ddi (line 108) | def set_ddi(self, ddi): method initialize (line 111) | def initialize(self, x, x_mask): FILE: TTS/tts/layers/generic/pos_encoding.py class PositionalEncoding (line 7) | class PositionalEncoding(nn.Module): method __init__ (line 18) | def __init__(self, channels, dropout_p=0.0, max_len=5000, use_scale=Fa... method forward (line 38) | def forward(self, x, mask=None, first_idx=None, last_idx=None): FILE: TTS/tts/layers/generic/res_conv_bn.py class ZeroTemporalPad (line 4) | class ZeroTemporalPad(nn.Module): method __init__ (line 7) | def __init__(self, kernel_size, dilation): method forward (line 14) | def forward(self, x): class Conv1dBN (line 18) | class Conv1dBN(nn.Module): method __init__ (line 32) | def __init__(self, in_channels, out_channels, kernel_size, dilation): method forward (line 41) | def forward(self, x): class Conv1dBNBlock (line 49) | class Conv1dBNBlock(nn.Module): method __init__ (line 61) | def __init__(self, in_channels, out_channels, hidden_channels, kernel_... method forward (line 74) | def forward(self, x): class ResidualConv1dBNBlock (line 82) | class ResidualConv1dBNBlock(nn.Module): method __init__ (line 100) | def __init__( method forward (line 117) | def forward(self, x, x_mask=None): FILE: TTS/tts/layers/generic/time_depth_sep_conv.py class TimeDepthSeparableConv (line 5) | class TimeDepthSeparableConv(nn.Module): method __init__ (line 9) | def __init__(self, in_channels, hid_channels, out_channels, kernel_siz... method forward (line 46) | def forward(self, x): class TimeDepthSeparableConvBlock (line 60) | class TimeDepthSeparableConvBlock(nn.Module): method __init__ (line 61) | def __init__(self, in_channels, hid_channels, out_channels, num_layers... method forward (line 81) | def forward(self, x, mask): FILE: TTS/tts/layers/generic/transformer.py class FFTransformer (line 6) | class FFTransformer(nn.Module): method __init__ (line 7) | def __init__(self, in_out_channels, num_heads, hidden_channels_ffn=102... method forward (line 21) | def forward(self, src, src_mask=None, src_key_padding_mask=None): class FFTransformerBlock (line 38) | class FFTransformerBlock(nn.Module): method __init__ (line 39) | def __init__(self, in_out_channels, num_heads, hidden_channels_ffn, nu... method forward (line 53) | def forward(self, x, mask=None, g=None): # pylint: disable=unused-arg... class FFTDurationPredictor (line 72) | class FFTDurationPredictor: method __init__ (line 73) | def __init__( method forward (line 79) | def forward(self, x, mask=None, g=None): # pylint: disable=unused-arg... FILE: TTS/tts/layers/generic/wavenet.py function fused_add_tanh_sigmoid_multiply (line 6) | def fused_add_tanh_sigmoid_multiply(input_a, input_b, n_channels): class WN (line 15) | class WN(torch.nn.Module): method __init__ (line 36) | def __init__( method forward (line 93) | def forward(self, x, x_mask=None, g=None, **kwargs): # pylint: disabl... method remove_weight_norm (line 116) | def remove_weight_norm(self): class WNBlocks (line 125) | class WNBlocks(nn.Module): method __init__ (line 144) | def __init__( method forward (line 171) | def forward(self, x, x_mask=None, g=None): FILE: TTS/tts/layers/glow_tts/decoder.py function squeeze (line 8) | def squeeze(x, x_mask=None, num_sqz=2): function unsqueeze (line 31) | def unsqueeze(x, x_mask=None, num_sqz=2): class Decoder (line 50) | class Decoder(nn.Module): method __init__ (line 68) | def __init__( method forward (line 113) | def forward(self, x, x_mask, g=None, reverse=False): method store_inverse (line 139) | def store_inverse(self): FILE: TTS/tts/layers/glow_tts/duration_predictor.py class DurationPredictor (line 7) | class DurationPredictor(nn.Module): method __init__ (line 21) | def __init__(self, in_channels, hidden_channels, kernel_size, dropout_... method forward (line 47) | def forward(self, x, x_mask, g=None, lang_emb=None): FILE: TTS/tts/layers/glow_tts/encoder.py class Encoder (line 15) | class Encoder(nn.Module): method __init__ (line 78) | def __init__( method forward (line 143) | def forward(self, x, x_lengths, g=None): FILE: TTS/tts/layers/glow_tts/glow.py class ResidualConv1dLayerNormBlock (line 11) | class ResidualConv1dLayerNormBlock(nn.Module): method __init__ (line 29) | def __init__(self, in_channels, hidden_channels, out_channels, kernel_... method forward (line 55) | def forward(self, x, x_mask): class InvConvNear (line 70) | class InvConvNear(nn.Module): method __init__ (line 85) | def __init__(self, channels, num_splits=4, no_jacobian=False, **kwargs... method forward (line 102) | def forward(self, x, x_mask=None, reverse=False, **kwargs): # pylint:... method store_inverse (line 139) | def store_inverse(self): class CouplingBlock (line 144) | class CouplingBlock(nn.Module): method __init__ (line 167) | def __init__( method forward (line 201) | def forward(self, x, x_mask=None, reverse=False, g=None, **kwargs): #... method store_inverse (line 232) | def store_inverse(self): FILE: TTS/tts/layers/glow_tts/transformer.py class RelativePositionMultiHeadAttention (line 10) | class RelativePositionMultiHeadAttention(nn.Module): method __init__ (line 55) | def __init__( method forward (line 109) | def forward(self, x, c, attn_mask=None): method attention (line 123) | def attention(self, query, key, value, mask=None): method _matmul_with_relative_values (line 166) | def _matmul_with_relative_values(p_attn, re): method _matmul_with_relative_keys (line 181) | def _matmul_with_relative_keys(query, re): method _get_relative_embeddings (line 196) | def _get_relative_embeddings(self, relative_embeddings, length): method _relative_position_to_absolute_position (line 210) | def _relative_position_to_absolute_position(x): method _absolute_position_to_relative_position (line 228) | def _absolute_position_to_relative_position(x): method _attn_proximity_bias (line 244) | def _attn_proximity_bias(length): class FeedForwardNetwork (line 262) | class FeedForwardNetwork(nn.Module): method __init__ (line 273) | def __init__(self, in_channels, out_channels, hidden_channels, kernel_... method forward (line 290) | def forward(self, x, x_mask): method _causal_padding (line 297) | def _causal_padding(self, x): method _same_padding (line 306) | def _same_padding(self, x): method _pad_shape (line 316) | def _pad_shape(padding): class RelativePositionTransformer (line 322) | class RelativePositionTransformer(nn.Module): method __init__ (line 344) | def __init__( method forward (line 411) | def forward(self, x, x_mask): FILE: TTS/tts/layers/losses.py class L1LossMasked (line 16) | class L1LossMasked(nn.Module): method __init__ (line 17) | def __init__(self, seq_len_norm): method forward (line 21) | def forward(self, x, target, length): class MSELossMasked (line 55) | class MSELossMasked(nn.Module): method __init__ (line 56) | def __init__(self, seq_len_norm): method forward (line 60) | def forward(self, x, target, length): function sample_wise_min_max (line 94) | def sample_wise_min_max(x: torch.Tensor, mask: torch.Tensor) -> torch.Te... class SSIMLoss (line 105) | class SSIMLoss(torch.nn.Module): method __init__ (line 110) | def __init__(self): method forward (line 114) | def forward(self, y_hat, y, length): class AttentionEntropyLoss (line 145) | class AttentionEntropyLoss(nn.Module): method forward (line 147) | def forward(self, align): class BCELossMasked (line 157) | class BCELossMasked(nn.Module): method __init__ (line 166) | def __init__(self, pos_weight: float = None): method forward (line 170) | def forward(self, x, target, length): class DifferentialSpectralLoss (line 203) | class DifferentialSpectralLoss(nn.Module): method __init__ (line 207) | def __init__(self, loss_func): method forward (line 211) | def forward(self, x, target, length=None): class GuidedAttentionLoss (line 227) | class GuidedAttentionLoss(torch.nn.Module): method __init__ (line 228) | def __init__(self, sigma=0.4): method _make_ga_masks (line 232) | def _make_ga_masks(self, ilens, olens): method forward (line 241) | def forward(self, att_ws, ilens, olens): method _make_ga_mask (line 249) | def _make_ga_mask(ilen, olen, sigma): method _make_masks (line 255) | def _make_masks(ilens, olens): class Huber (line 261) | class Huber(nn.Module): method forward (line 263) | def forward(self, x, y, length=None): class ForwardSumLoss (line 274) | class ForwardSumLoss(nn.Module): method __init__ (line 275) | def __init__(self, blank_logprob=-1): method forward (line 281) | def forward(self, attn_logprob, in_lens, out_lens): class TacotronLoss (line 309) | class TacotronLoss(torch.nn.Module): method __init__ (line 312) | def __init__(self, c, ga_sigma=0.4): method forward (line 349) | def forward( class GlowTTSLoss (line 503) | class GlowTTSLoss(torch.nn.Module): method __init__ (line 504) | def __init__(self): method forward (line 508) | def forward(self, z, means, scales, log_det, y_lengths, o_dur_log, o_a... function mse_loss_custom (line 528) | def mse_loss_custom(x, y): class MDNLoss (line 535) | class MDNLoss(nn.Module): method forward (line 538) | def forward(self, logp, text_lengths, mel_lengths): # pylint: disable... class AlignTTSLoss (line 559) | class AlignTTSLoss(nn.Module): method __init__ (line 572) | def __init__(self, c): method forward (line 584) | def forward( class VitsGeneratorLoss (line 614) | class VitsGeneratorLoss(nn.Module): method __init__ (line 615) | def __init__(self, c: Coqpit): method feature_loss (line 636) | def feature_loss(feats_real, feats_generated): method generator_loss (line 646) | def generator_loss(scores_fake): method kl_loss (line 658) | def kl_loss(z_p, logs_q, m_p, logs_p, z_mask): method cosine_similarity_loss (line 676) | def cosine_similarity_loss(gt_spk_emb, syn_spk_emb): method forward (line 679) | def forward( class VitsDiscriminatorLoss (line 739) | class VitsDiscriminatorLoss(nn.Module): method __init__ (line 740) | def __init__(self, c: Coqpit): method discriminator_loss (line 745) | def discriminator_loss(scores_real, scores_fake): method forward (line 759) | def forward(self, scores_disc_real, scores_disc_fake): class ForwardTTSLoss (line 774) | class ForwardTTSLoss(nn.Module): method __init__ (line 777) | def __init__(self, c): method _binary_alignment_loss (line 816) | def _binary_alignment_loss(alignment_hard, alignment_soft): method forward (line 823) | def forward( FILE: TTS/tts/layers/overflow/common_layers.py class Encoder (line 12) | class Encoder(nn.Module): method __init__ (line 24) | def __init__(self, num_chars, state_per_phone, in_out_channels=512, n_... method forward (line 44) | def forward(self, x: torch.FloatTensor, x_len: torch.LongTensor) -> Tu... method inference (line 70) | def inference(self, x, x_len): class ParameterModel (line 95) | class ParameterModel(nn.Module): method __init__ (line 108) | def __init__( method flat_start_output_layer (line 127) | def flat_start_output_layer(self, mean, std, transition_p): method forward (line 133) | def forward(self, x): class Outputnet (line 140) | class Outputnet(nn.Module): method __init__ (line 147) | def __init__( method forward (line 173) | def forward(self, ar_mels, inputs): method _floor_std (line 204) | def _floor_std(self, std): class OverflowUtils (line 222) | class OverflowUtils: method get_data_parameters_for_flat_start (line 224) | def get_data_parameters_for_flat_start( method update_flat_start_transition (line 264) | def update_flat_start_transition(model, transition_p): method log_clamped (line 268) | def log_clamped(x, eps=1e-04): method inverse_sigmod (line 283) | def inverse_sigmod(x): method inverse_softplus (line 292) | def inverse_softplus(x): method logsumexp (line 301) | def logsumexp(x, dim): method double_pad (line 316) | def double_pad(list_of_different_shape_tensors): FILE: TTS/tts/layers/overflow/decoder.py class Decoder (line 8) | class Decoder(nn.Module): method __init__ (line 25) | def __init__( method forward (line 56) | def forward(self, x, x_len, g=None, reverse=False): method preprocess (line 73) | def preprocess(self, y, y_lengths, y_max_length): method store_inverse (line 80) | def store_inverse(self): FILE: TTS/tts/layers/overflow/neural_hmm.py class NeuralHMM (line 14) | class NeuralHMM(nn.Module): method __init__ (line 48) | def __init__( method forward (line 94) | def forward(self, inputs, inputs_len, mels, mel_lens): method _mask_lengths (line 159) | def _mask_lengths(mel_lens, log_c, log_alpha_scaled): method _process_ar_timestep (line 177) | def _process_ar_timestep( method _add_go_token (line 209) | def _add_go_token(self, mel_inputs): method _initialize_forward_algorithm_variables (line 222) | def _initialize_forward_algorithm_variables(mel_inputs, N): method _init_lstm_states (line 242) | def _init_lstm_states(batch_size, hidden_state_dim, device_tensor): method get_absorption_state_scaling_factor (line 262) | def get_absorption_state_scaling_factor(self, mels_len, log_alpha_scal... method get_mask_for_last_item (line 319) | def get_mask_for_last_item(lengths, device, out_tensor=None): method inference (line 339) | def inference( method sample (line 386) | def sample(self, inputs, input_lens, sampling_temp, max_sampling_time,... method _initialize_log_state_priors (line 467) | def _initialize_log_state_priors(text_embeddings): class TransitionModel (line 483) | class TransitionModel(nn.Module): method forward (line 487) | def forward(self, log_alpha_scaled, transition_vector, inputs_len): #... class EmissionModel (line 519) | class EmissionModel(nn.Module): method __init__ (line 523) | def __init__(self) -> None: method sample (line 527) | def sample(self, means, stds, sampling_temp): method forward (line 530) | def forward(self, x_t, means, stds, state_lengths): FILE: TTS/tts/layers/overflow/plotting_utils.py function validate_numpy_array (line 8) | def validate_numpy_array(value: Any): function get_spec_from_most_probable_state (line 33) | def get_spec_from_most_probable_state(log_alpha_scaled, means, decoder=N... function plot_transition_probabilities_to_numpy (line 59) | def plot_transition_probabilities_to_numpy(states, transition_probabilit... FILE: TTS/tts/layers/tacotron/attentions.py class LocationLayer (line 9) | class LocationLayer(nn.Module): method __init__ (line 18) | def __init__(self, attention_dim, attention_n_filters=32, attention_ke... method forward (line 30) | def forward(self, attention_cat): class GravesAttention (line 40) | class GravesAttention(nn.Module): method __init__ (line 52) | def __init__(self, query_dim, K): method init_layers (line 66) | def init_layers(self): method init_states (line 70) | def init_states(self, inputs): method preprocess_inputs (line 78) | def preprocess_inputs(self, inputs): method forward (line 81) | def forward(self, query, inputs, processed_inputs, mask): class OriginalAttention (line 127) | class OriginalAttention(nn.Module): method __init__ (line 163) | def __init__( method init_win_idx (line 198) | def init_win_idx(self): method init_forward_attn (line 203) | def init_forward_attn(self, inputs): method init_location_attention (line 209) | def init_location_attention(self, inputs): method init_states (line 214) | def init_states(self, inputs): method preprocess_inputs (line 225) | def preprocess_inputs(self, inputs): method update_location_attention (line 228) | def update_location_attention(self, alignments): method get_location_attention (line 231) | def get_location_attention(self, query, processed_inputs): method get_attention (line 239) | def get_attention(self, query, processed_inputs): method apply_windowing (line 245) | def apply_windowing(self, attention, inputs): method apply_forward_attention (line 260) | def apply_forward_attention(self, alignment): method forward (line 277) | def forward(self, query, inputs, processed_inputs, mask): class MonotonicDynamicConvolutionAttention (line 323) | class MonotonicDynamicConvolutionAttention(nn.Module): method __init__ (line 355) | def __init__( method forward (line 392) | def forward(self, query, inputs, processed_inputs, mask): method preprocess_inputs (line 431) | def preprocess_inputs(self, inputs): # pylint: disable=no-self-use method init_states (line 434) | def init_states(self, inputs): function init_attn (line 441) | def init_attn( FILE: TTS/tts/layers/tacotron/capacitron_layers.py class CapacitronVAE (line 7) | class CapacitronVAE(nn.Module): method __init__ (line 12) | def __init__( method forward (line 42) | def forward(self, reference_mel_info=None, text_info=None, speaker_emb... class ReferenceEncoder (line 78) | class ReferenceEncoder(nn.Module): method __init__ (line 85) | def __init__(self, num_mel, out_dim): method forward (line 105) | def forward(self, inputs, input_lengths): method calculate_post_conv_height (line 159) | def calculate_post_conv_height(height, kernel_size, stride, pad, n_con... class TextSummary (line 166) | class TextSummary(nn.Module): method __init__ (line 167) | def __init__(self, embedding_dim, encoder_output_dim): method forward (line 176) | def forward(self, inputs, input_lengths): class PostEncoderMLP (line 187) | class PostEncoderMLP(nn.Module): method __init__ (line 188) | def __init__(self, input_size, hidden_size): method forward (line 199) | def forward(self, _input): FILE: TTS/tts/layers/tacotron/common_layers.py class Linear (line 6) | class Linear(nn.Module): method __init__ (line 16) | def __init__(self, in_features, out_features, bias=True, init_gain="li... method _init_w (line 21) | def _init_w(self, init_gain): method forward (line 24) | def forward(self, x): class LinearBN (line 28) | class LinearBN(nn.Module): method __init__ (line 40) | def __init__(self, in_features, out_features, bias=True, init_gain="li... method _init_w (line 46) | def _init_w(self, init_gain): method forward (line 49) | def forward(self, x): class Prenet (line 63) | class Prenet(nn.Module): method __init__ (line 90) | def __init__( method forward (line 113) | def forward(self, x): FILE: TTS/tts/layers/tacotron/gst_layers.py class GST (line 6) | class GST(nn.Module): method __init__ (line 11) | def __init__(self, num_mel, num_heads, num_style_tokens, gst_embedding... method forward (line 16) | def forward(self, inputs, speaker_embedding=None): class ReferenceEncoder (line 26) | class ReferenceEncoder(nn.Module): method __init__ (line 33) | def __init__(self, num_mel, embedding_dim): method forward (line 52) | def forward(self, inputs): method calculate_post_conv_height (line 75) | def calculate_post_conv_height(height, kernel_size, stride, pad, n_con... class StyleTokenLayer (line 82) | class StyleTokenLayer(nn.Module): method __init__ (line 85) | def __init__(self, num_heads, num_style_tokens, gst_embedding_dim, d_v... method forward (line 100) | def forward(self, inputs): class MultiHeadAttention (line 111) | class MultiHeadAttention(nn.Module): method __init__ (line 120) | def __init__(self, query_dim, key_dim, num_units, num_heads): method forward (line 130) | def forward(self, query, key): FILE: TTS/tts/layers/tacotron/tacotron.py class BatchNormConv1d (line 11) | class BatchNormConv1d(nn.Module): method __init__ (line 29) | def __init__(self, in_channels, out_channels, kernel_size, stride, pad... method init_layers (line 41) | def init_layers(self): method forward (line 52) | def forward(self, x): class Highway (line 61) | class Highway(nn.Module): method __init__ (line 74) | def __init__(self, in_features, out_feature): method init_layers (line 84) | def init_layers(self): method forward (line 88) | def forward(self, inputs): class CBHG (line 94) | class CBHG(nn.Module): method __init__ (line 112) | def __init__( method forward (line 162) | def forward(self, inputs): class EncoderCBHG (line 191) | class EncoderCBHG(nn.Module): method __init__ (line 194) | def __init__(self): method forward (line 206) | def forward(self, x): class Encoder (line 210) | class Encoder(nn.Module): method __init__ (line 220) | def __init__(self, in_features): method forward (line 225) | def forward(self, inputs): class PostCBHG (line 232) | class PostCBHG(nn.Module): method __init__ (line 233) | def __init__(self, mel_dim): method forward (line 245) | def forward(self, x): class Decoder (line 249) | class Decoder(nn.Module): method __init__ (line 277) | def __init__( method set_r (line 336) | def set_r(self, new_r): method _reshape_memory (line 339) | def _reshape_memory(self, memory): method _init_states (line 350) | def _init_states(self, inputs): method _parse_outputs (line 369) | def _parse_outputs(self, outputs, attentions, stop_tokens): method decode (line 378) | def decode(self, inputs, mask=None): method _update_memory_input (line 408) | def _update_memory_input(self, new_memory): method forward (line 424) | def forward(self, inputs, memory, mask): method inference (line 457) | def inference(self, inputs): class StopNet (line 488) | class StopNet(nn.Module): method __init__ (line 494) | def __init__(self, in_features): method forward (line 500) | def forward(self, inputs): FILE: TTS/tts/layers/tacotron/tacotron2.py class ConvBNBlock (line 11) | class ConvBNBlock(nn.Module): method __init__ (line 25) | def __init__(self, in_channels, out_channels, kernel_size, activation=... method forward (line 39) | def forward(self, x): class Postnet (line 47) | class Postnet(nn.Module): method __init__ (line 58) | def __init__(self, in_out_channels, num_convs=5): method forward (line 66) | def forward(self, x): class Encoder (line 73) | class Encoder(nn.Module): method __init__ (line 84) | def __init__(self, in_out_channels=512): method forward (line 94) | def forward(self, x, input_lengths): method inference (line 105) | def inference(self, x): class Decoder (line 116) | class Decoder(nn.Module): method __init__ (line 142) | def __init__( method set_r (line 211) | def set_r(self, new_r): method get_go_frame (line 214) | def get_go_frame(self, inputs): method _init_states (line 219) | def _init_states(self, inputs, mask, keep_states=False): method _reshape_memory (line 232) | def _reshape_memory(self, memory): method _parse_outputs (line 243) | def _parse_outputs(self, outputs, stop_tokens, alignments): method _update_memory (line 251) | def _update_memory(self, memory): method decode (line 256) | def decode(self, memory): method forward (line 295) | def forward(self, inputs, memories, mask): method inference (line 329) | def inference(self, inputs): method inference_truncated (line 369) | def inference_truncated(self, inputs): method inference_step (line 402) | def inference_step(self, inputs, t, memory=None): FILE: TTS/tts/layers/vits/discriminator.py class DiscriminatorS (line 8) | class DiscriminatorS(torch.nn.Module): method __init__ (line 15) | def __init__(self, use_spectral_norm=False): method forward (line 30) | def forward(self, x): class VitsDiscriminator (line 50) | class VitsDiscriminator(nn.Module): method __init__ (line 61) | def __init__(self, periods=(2, 3, 5, 7, 11), use_spectral_norm=False): method forward (line 67) | def forward(self, x, x_hat=None): FILE: TTS/tts/layers/vits/networks.py function convert_pad_shape (line 13) | def convert_pad_shape(pad_shape): function init_weights (line 19) | def init_weights(m, mean=0.0, std=0.01): function get_padding (line 25) | def get_padding(kernel_size, dilation=1): class TextEncoder (line 29) | class TextEncoder(nn.Module): method __init__ (line 30) | def __init__( method forward (line 80) | def forward(self, x, x_lengths, lang_emb=None): class ResidualCouplingBlock (line 103) | class ResidualCouplingBlock(nn.Module): method __init__ (line 104) | def __init__( method forward (line 138) | def forward(self, x, x_mask, g=None, reverse=False): class ResidualCouplingBlocks (line 169) | class ResidualCouplingBlocks(nn.Module): method __init__ (line 170) | def __init__( method forward (line 214) | def forward(self, x, x_mask, g=None, reverse=False): class PosteriorEncoder (line 235) | class PosteriorEncoder(nn.Module): method __init__ (line 236) | def __init__( method forward (line 275) | def forward(self, x, x_lengths, g=None): FILE: TTS/tts/layers/vits/stochastic_duration_predictor.py class DilatedDepthSeparableConv (line 11) | class DilatedDepthSeparableConv(nn.Module): method __init__ (line 12) | def __init__(self, channels, kernel_size, num_layers, dropout_p=0.0) -... method forward (line 46) | def forward(self, x, x_mask, g=None): class ElementwiseAffine (line 66) | class ElementwiseAffine(nn.Module): method __init__ (line 73) | def __init__(self, channels): method forward (line 78) | def forward(self, x, x_mask, reverse=False, **kwargs): # pylint: disa... class ConvFlow (line 87) | class ConvFlow(nn.Module): method __init__ (line 99) | def __init__( method forward (line 120) | def forward(self, x, x_mask, g=None, reverse=False): class StochasticDurationPredictor (line 150) | class StochasticDurationPredictor(nn.Module): method __init__ (line 180) | def __init__( method forward (line 222) | def forward(self, x, x_mask, dr=None, g=None, lang_emb=None, reverse=F... FILE: TTS/tts/layers/vits/transforms.py function piecewise_rational_quadratic_transform (line 12) | def piecewise_rational_quadratic_transform( function searchsorted (line 45) | def searchsorted(bin_locations, inputs, eps=1e-6): function unconstrained_rational_quadratic_spline (line 50) | def unconstrained_rational_quadratic_spline( function rational_quadratic_spline (line 97) | def rational_quadratic_spline( FILE: TTS/tts/models/__init__.py function setup_model (line 6) | def setup_model(config: "Coqpit", samples: Union[List[List], List[Dict]]... FILE: TTS/tts/models/align_tts.py class AlignTTSArgs (line 22) | class AlignTTSArgs(Coqpit): class AlignTTS (line 70) | class AlignTTS(BaseTTS): method __init__ (line 105) | def __init__( method compute_log_probs (line 150) | def compute_log_probs(mu, log_sigma, y): method compute_align_path (line 162) | def compute_align_path(self, mu, log_sigma, y, x_mask, y_mask): method generate_attn (line 172) | def generate_attn(dr, x_mask, y_mask=None): method expand_encoder_outputs (line 182) | def expand_encoder_outputs(self, en, dr, x_mask, y_mask): method format_durations (line 200) | def format_durations(self, o_dr_log, x_mask): method _concat_speaker_embedding (line 207) | def _concat_speaker_embedding(o_en, g): method _sum_speaker_embedding (line 212) | def _sum_speaker_embedding(self, x, g): method _forward_encoder (line 219) | def _forward_encoder(self, x, x_lengths, g=None): method _forward_decoder (line 244) | def _forward_decoder(self, o_en, o_en_dp, dr, x_mask, y_lengths, g): method _forward_mdn (line 258) | def _forward_mdn(self, o_en, y, y_lengths, x_mask): method forward (line 265) | def forward( method inference (line 321) | def inference(self, x, aux_input={"d_vectors": None}): # pylint: disa... method train_step (line 342) | def train_step(self, batch: dict, criterion: nn.Module): method _create_logs (line 365) | def _create_logs(self, batch, outputs, ap): # pylint: disable=no-self... method train_log (line 384) | def train_log( method eval_step (line 391) | def eval_step(self, batch: dict, criterion: nn.Module): method eval_log (line 394) | def eval_log(self, batch: dict, outputs: dict, logger: "Logger", asset... method load_checkpoint (line 399) | def load_checkpoint( method get_criterion (line 408) | def get_criterion(self): method _set_phase (line 414) | def _set_phase(config, global_step): method on_epoch_start (line 430) | def on_epoch_start(self, trainer): method init_from_config (line 435) | def init_from_config(config: "AlignTTSConfig", samples: Union[List[Lis... FILE: TTS/tts/models/base_tacotron.py class BaseTacotron (line 21) | class BaseTacotron(BaseTTS): method __init__ (line 24) | def __init__( method _format_aux_input (line 62) | def _format_aux_input(aux_input: Dict) -> Dict: method _init_backward_decoder (line 72) | def _init_backward_decoder(self): method _init_coarse_decoder (line 76) | def _init_coarse_decoder(self): method forward (line 87) | def forward(self): method inference (line 91) | def inference(self): method load_checkpoint (line 94) | def load_checkpoint( method get_criterion (line 122) | def get_criterion(self) -> nn.Module: method init_from_config (line 127) | def init_from_config(config: Coqpit): method test_run (line 140) | def test_run(self, assets: Dict) -> Tuple[Dict, Dict]: method test_log (line 177) | def test_log( method compute_masks (line 187) | def compute_masks(self, text_lengths, mel_lengths): method _backward_pass (line 199) | def _backward_pass(self, mel_specs, encoder_outputs, mask): method _coarse_decoder_pass (line 207) | def _coarse_decoder_pass(self, mel_specs, encoder_outputs, alignments,... method compute_gst (line 230) | def compute_gst(self, inputs, style_input, speaker_embedding=None): method compute_capacitron_VAE_embedding (line 253) | def compute_capacitron_VAE_embedding(self, inputs, reference_mel_info,... method _add_speaker_embedding (line 278) | def _add_speaker_embedding(outputs, embedded_speakers): method _concat_speaker_embedding (line 284) | def _concat_speaker_embedding(outputs, embedded_speakers): method on_epoch_start (line 293) | def on_epoch_start(self, trainer): FILE: TTS/tts/models/base_tts.py class BaseTTS (line 24) | class BaseTTS(BaseTrainerModel): method __init__ (line 32) | def __init__( method _set_model_args (line 48) | def _set_model_args(self, config: Coqpit): method init_multispeaker (line 79) | def init_multispeaker(self, config: Coqpit, data: List = None): method get_aux_input (line 112) | def get_aux_input(self, **kwargs) -> Dict: method get_aux_input_from_test_sentences (line 116) | def get_aux_input_from_test_sentences(self, sentence_info): method format_batch (line 163) | def format_batch(self, batch: Dict) -> Dict: method get_sampler (line 242) | def get_sampler(self, config: Coqpit, dataset: TTSDataset, num_gpus=1): method get_data_loader (line 280) | def get_data_loader( method _get_test_aux_input (line 363) | def _get_test_aux_input( method test_run (line 380) | def test_run(self, assets: Dict) -> Tuple[Dict, Dict]: method on_init_start (line 420) | def on_init_start(self, trainer): FILE: TTS/tts/models/forward_tts.py class ForwardTTSArgs (line 23) | class ForwardTTSArgs(Coqpit): class ForwardTTS (line 172) | class ForwardTTS(BaseTTS): method __init__ (line 201) | def __init__( method init_multispeaker (line 283) | def init_multispeaker(self, config: Coqpit): method generate_attn (line 310) | def generate_attn(dr, x_mask, y_mask=None): method expand_encoder_outputs (line 327) | def expand_encoder_outputs(self, en, dr, x_mask, y_mask): method format_durations (line 352) | def format_durations(self, o_dr_log, x_mask): method _forward_encoder (line 373) | def _forward_encoder( method _forward_decoder (line 412) | def _forward_decoder( method _forward_pitch_predictor (line 448) | def _forward_pitch_predictor( method _forward_energy_predictor (line 484) | def _forward_energy_predictor( method _forward_aligner (line 520) | def _forward_aligner( method _set_speaker_input (line 561) | def _set_speaker_input(self, aux_input: Dict): method forward (line 574) | def forward( method inference (line 668) | def inference(self, x, aux_input={"d_vectors": None, "speaker_ids": No... method train_step (line 710) | def train_step(self, batch: dict, criterion: nn.Module): method _create_logs (line 762) | def _create_logs(self, batch, outputs, ap): method train_log (line 809) | def train_log( method eval_step (line 816) | def eval_step(self, batch: dict, criterion: nn.Module): method eval_log (line 819) | def eval_log(self, batch: dict, outputs: dict, logger: "Logger", asset... method load_checkpoint (line 824) | def load_checkpoint( method get_criterion (line 833) | def get_criterion(self): method on_train_step_start (line 838) | def on_train_step_start(self, trainer): method init_from_config (line 843) | def init_from_config(config: "ForwardTTSConfig", samples: Union[List[L... FILE: TTS/tts/models/glow_tts.py class GlowTTS (line 22) | class GlowTTS(BaseTTS): method __init__ (line 59) | def __init__( method init_multispeaker (line 107) | def init_multispeaker(self, config: Coqpit): method compute_outputs (line 138) | def compute_outputs(attn, o_mean, o_log_scale, x_mask): method unlock_act_norm_layers (line 150) | def unlock_act_norm_layers(self): method lock_act_norm_layers (line 156) | def lock_act_norm_layers(self): method _set_speaker_input (line 162) | def _set_speaker_input(self, aux_input: Dict): method _speaker_embedding (line 179) | def _speaker_embedding(self, aux_input: Dict) -> Union[torch.tensor, N... method forward (line 193) | def forward( method inference_with_MAS (line 263) | def inference_with_MAS( method decoder_inference (line 319) | def decoder_inference( method inference (line 342) | def inference( method train_step (line 376) | def train_step(self, batch: dict, criterion: nn.Module): method _create_logs (line 428) | def _create_logs(self, batch, outputs, ap): method train_log (line 457) | def train_log( method eval_step (line 465) | def eval_step(self, batch: dict, criterion: nn.Module): method eval_log (line 468) | def eval_log(self, batch: dict, outputs: dict, logger: "Logger", asset... method test_run (line 474) | def test_run(self, assets: Dict) -> Tuple[Dict, Dict]: method preprocess (line 510) | def preprocess(self, y, y_lengths, y_max_length, attn=None): method store_inverse (line 519) | def store_inverse(self): method load_checkpoint (line 522) | def load_checkpoint( method get_criterion (line 533) | def get_criterion(): method on_train_step_start (line 538) | def on_train_step_start(self, trainer): method init_from_config (line 543) | def init_from_config(config: "GlowTTSConfig", samples: Union[List[List... FILE: TTS/tts/models/neuralhmm_tts.py class NeuralhmmTTS (line 23) | class NeuralhmmTTS(BaseTTS): method __init__ (line 65) | def __init__( method update_mean_std (line 101) | def update_mean_std(self, statistics_dict: Dict): method preprocess_batch (line 105) | def preprocess_batch(self, text, text_len, mels, mel_len): method normalize (line 113) | def normalize(self, x): method inverse_normalize (line 116) | def inverse_normalize(self, x): method forward (line 119) | def forward(self, text, text_len, mels, mel_len): method _training_stats (line 147) | def _training_stats(batch): method train_step (line 155) | def train_step(self, batch: dict, criterion: nn.Module): method eval_step (line 173) | def eval_step(self, batch: Dict, criterion: nn.Module): method _format_aux_input (line 176) | def _format_aux_input(self, aux_input: Dict, default_input_dict): method inference (line 195) | def inference( method get_criterion (line 234) | def get_criterion(): method init_from_config (line 238) | def init_from_config(config: "NeuralhmmTTSConfig", samples: Union[List... method load_checkpoint (line 254) | def load_checkpoint( method on_init_start (line 263) | def on_init_start(self, trainer): method _create_logs (line 304) | def _create_logs(self, batch, outputs, ap): # pylint: disable=no-self... method train_log (line 340) | def train_log( method eval_log (line 348) | def eval_log( method test_log (line 363) | def test_log( class NLLLoss (line 370) | class NLLLoss(nn.Module): method forward (line 373) | def forward(self, log_prob: torch.Tensor) -> dict: # pylint: disable=... FILE: TTS/tts/models/overflow.py class Overflow (line 24) | class Overflow(BaseTTS): method __init__ (line 62) | def __init__( method update_mean_std (line 114) | def update_mean_std(self, statistics_dict: Dict): method preprocess_batch (line 118) | def preprocess_batch(self, text, text_len, mels, mel_len): method normalize (line 126) | def normalize(self, x): method inverse_normalize (line 129) | def inverse_normalize(self, x): method forward (line 132) | def forward(self, text, text_len, mels, mel_len): method _training_stats (line 160) | def _training_stats(batch): method train_step (line 168) | def train_step(self, batch: dict, criterion: nn.Module): method eval_step (line 186) | def eval_step(self, batch: Dict, criterion: nn.Module): method _format_aux_input (line 189) | def _format_aux_input(self, aux_input: Dict, default_input_dict): method inference (line 208) | def inference( method get_criterion (line 249) | def get_criterion(): method init_from_config (line 253) | def init_from_config(config: "OverFlowConfig", samples: Union[List[Lis... method load_checkpoint (line 269) | def load_checkpoint( method on_init_start (line 279) | def on_init_start(self, trainer): method _create_logs (line 320) | def _create_logs(self, batch, outputs, ap): # pylint: disable=no-self... method train_log (line 356) | def train_log( method eval_log (line 364) | def eval_log( method test_log (line 379) | def test_log( class NLLLoss (line 386) | class NLLLoss(nn.Module): method forward (line 389) | def forward(self, log_prob: torch.Tensor) -> dict: # pylint: disable=... FILE: TTS/tts/models/tacotron.py class Tacotron (line 21) | class Tacotron(BaseTacotron): method __init__ (line 32) | def __init__( method forward (line 136) | def forward( # pylint: disable=dangerous-default-value method inference (line 219) | def inference(self, text_input, aux_input=None): method before_backward_pass (line 273) | def before_backward_pass(self, loss_dict, optimizer) -> None: method train_step (line 280) | def train_step(self, batch: Dict, criterion: torch.nn.Module) -> Tuple... method get_optimizer (line 332) | def get_optimizer(self) -> List: method get_scheduler (line 337) | def get_scheduler(self, optimizer: object): method before_gradient_clipping (line 341) | def before_gradient_clipping(self): method _create_logs (line 351) | def _create_logs(self, batch, outputs, ap): method train_log (line 380) | def train_log( method eval_step (line 387) | def eval_step(self, batch: dict, criterion: nn.Module): method eval_log (line 390) | def eval_log(self, batch: dict, outputs: dict, logger: "Logger", asset... method init_from_config (line 396) | def init_from_config(config: "TacotronConfig", samples: Union[List[Lis... FILE: TTS/tts/models/tacotron2.py class Tacotron2 (line 21) | class Tacotron2(BaseTacotron): method __init__ (line 46) | def __init__( method shape_outputs (line 148) | def shape_outputs(mel_outputs, mel_outputs_postnet, alignments): method forward (line 154) | def forward( # pylint: disable=dangerous-default-value method inference (line 239) | def inference(self, text, aux_input=None): method before_backward_pass (line 302) | def before_backward_pass(self, loss_dict, optimizer) -> None: method train_step (line 309) | def train_step(self, batch: Dict, criterion: torch.nn.Module): method get_optimizer (line 360) | def get_optimizer(self) -> List: method get_scheduler (line 365) | def get_scheduler(self, optimizer: object): method before_gradient_clipping (line 369) | def before_gradient_clipping(self): method _create_logs (line 379) | def _create_logs(self, batch, outputs, ap): method train_log (line 403) | def train_log( method eval_step (line 411) | def eval_step(self, batch: dict, criterion: nn.Module): method eval_log (line 414) | def eval_log(self, batch: dict, outputs: dict, logger: "Logger", asset... method init_from_config (line 420) | def init_from_config(config: "Tacotron2Config", samples: Union[List[Li... FILE: TTS/tts/models/vits.py function weights_reset (line 50) | def weights_reset(m: nn.Module): function get_module_weights_sum (line 57) | def get_module_weights_sum(mdl: nn.Module): function load_audio (line 66) | def load_audio(file_path): function _amp_to_db (line 77) | def _amp_to_db(x, C=1, clip_val=1e-5): function _db_to_amp (line 81) | def _db_to_amp(x, C=1): function amp_to_db (line 85) | def amp_to_db(magnitudes): function db_to_amp (line 90) | def db_to_amp(magnitudes): function wav_to_spec (line 95) | def wav_to_spec(y, n_fft, hop_length, win_length, center=False): function spec_to_mel (line 140) | def spec_to_mel(spec, n_fft, num_mels, sample_rate, fmin, fmax): function wav_to_mel (line 159) | def wav_to_mel(y, n_fft, num_mels, sample_rate, hop_length, win_length, ... class VitsAudioConfig (line 216) | class VitsAudioConfig(Coqpit): function get_attribute_balancer_weights (line 231) | def get_attribute_balancer_weights(items: list, attr_name: str, multi_di... class VitsDataset (line 255) | class VitsDataset(TTSDataset): method __init__ (line 256) | def __init__(self, model_args, *args, **kwargs): method __getitem__ (line 261) | def __getitem__(self, idx): method lengths (line 293) | def lengths(self): method collate_fn (line 301) | def collate_fn(self, batch): class VitsArgs (line 365) | class VitsArgs(Coqpit): class Vits (line 602) | class Vits(BaseTTS): method __init__ (line 630) | def __init__( method device (line 726) | def device(self): method init_multispeaker (line 729) | def init_multispeaker(self, config: Coqpit): method _init_speaker_embedding (line 773) | def _init_speaker_embedding(self): method _init_d_vector (line 780) | def _init_d_vector(self): method init_multilingual (line 786) | def init_multilingual(self, config: Coqpit): method init_upsampling (line 804) | def init_upsampling(self): method on_epoch_start (line 814) | def on_epoch_start(self, trainer): # pylint: disable=W0613 method on_init_end (line 821) | def on_init_end(self, trainer): # pylint: disable=W0613 method get_aux_input (line 843) | def get_aux_input(self, aux_input: Dict): method _freeze_layers (line 847) | def _freeze_layers(self): method _set_cond_input (line 873) | def _set_cond_input(aux_input: Dict): method _set_speaker_input (line 895) | def _set_speaker_input(self, aux_input: Dict): method forward_mas (line 908) | def forward_mas(self, outputs, z_p, m_p, logs_p, x, x_mask, y_mask, g,... method upsampling_z (line 943) | def upsampling_z(self, z, slice_ids=None, y_lengths=None, y_mask=None): method forward (line 960) | def forward( # pylint: disable=dangerous-default-value method _set_x_lengths (line 1082) | def _set_x_lengths(x, aux_input): method inference (line 1088) | def inference( method inference_voice_conversion (line 1175) | def inference_voice_conversion( method voice_conversion (line 1201) | def voice_conversion(self, y, y_lengths, speaker_cond_src, speaker_con... method train_step (line 1229) | def train_step(self, batch: dict, criterion: nn.Module, optimizer_idx:... method _log (line 1332) | def _log(self, ap, batch, outputs, name_prefix="train"): # pylint: di... method train_log (line 1349) | def train_log( method eval_step (line 1370) | def eval_step(self, batch: dict, criterion: nn.Module, optimizer_idx: ... method eval_log (line 1373) | def eval_log(self, batch: dict, outputs: dict, logger: "Logger", asset... method get_aux_input_from_test_sentences (line 1378) | def get_aux_input_from_test_sentences(self, sentence_info): method test_run (line 1427) | def test_run(self, assets) -> Tuple[Dict, Dict]: method test_log (line 1457) | def test_log( method format_batch (line 1463) | def format_batch(self, batch: Dict) -> Dict: method format_batch_on_device (line 1494) | def format_batch_on_device(self, batch): method get_sampler (line 1547) | def get_sampler(self, config: Coqpit, dataset: TTSDataset, num_gpus=1,... method get_data_loader (line 1583) | def get_data_loader( method get_optimizer (line 1651) | def get_optimizer(self) -> List: method get_lr (line 1666) | def get_lr(self) -> List: method get_scheduler (line 1674) | def get_scheduler(self, optimizer) -> List: method get_criterion (line 1687) | def get_criterion(self): method load_checkpoint (line 1697) | def load_checkpoint( method init_from_config (line 1727) | def init_from_config(config: "VitsConfig", samples: Union[List[List], ... class VitsCharacters (line 1767) | class VitsCharacters(BaseCharacters): method __init__ (line 1770) | def __init__( method _create_vocab (line 1781) | def _create_vocab(self): method init_from_config (line 1788) | def init_from_config(config: Coqpit): method to_config (line 1802) | def to_config(self) -> "CharactersConfig": FILE: TTS/tts/utils/data.py function _pad_data (line 7) | def _pad_data(x, length): function prepare_data (line 13) | def prepare_data(inputs): function _pad_tensor (line 18) | def _pad_tensor(x, length): function prepare_tensor (line 25) | def prepare_tensor(inputs, out_steps): function _pad_stop_target (line 32) | def _pad_stop_target(x: np.ndarray, length: int, pad_val=1) -> np.ndarray: function prepare_stop_target (line 47) | def prepare_stop_target(inputs, out_steps): function pad_per_step (line 55) | def pad_per_step(inputs, pad_len): function get_length_balancer_weights (line 59) | def get_length_balancer_weights(items: list, num_buckets=10): FILE: TTS/tts/utils/helpers.py class StandardScaler (line 13) | class StandardScaler: method __init__ (line 16) | def __init__(self, mean: np.ndarray = None, scale: np.ndarray = None) ... method set_stats (line 20) | def set_stats(self, mean, scale): method reset_stats (line 24) | def reset_stats(self): method transform (line 28) | def transform(self, X): method inverse_transform (line 34) | def inverse_transform(self, X): function sequence_mask (line 42) | def sequence_mask(sequence_length, max_len=None): function segment (line 60) | def segment(x: torch.tensor, segment_indices: torch.tensor, segment_size... function rand_segments (line 86) | def rand_segments( function average_over_durations (line 123) | def average_over_durations(values, durs): function convert_pad_shape (line 148) | def convert_pad_shape(pad_shape): function generate_path (line 154) | def generate_path(duration, mask): function maximum_path (line 174) | def maximum_path(value, mask): function maximum_path_cython (line 180) | def maximum_path_cython(value, mask): function maximum_path_numpy (line 199) | def maximum_path_numpy(value, mask, max_neg_val=None): FILE: TTS/tts/utils/languages.py class LanguageManager (line 13) | class LanguageManager(BaseIDManager): method __init__ (line 28) | def __init__( method num_languages (line 39) | def num_languages(self) -> int: method language_names (line 43) | def language_names(self) -> List: method parse_language_ids_from_config (line 47) | def parse_language_ids_from_config(c: Coqpit) -> Dict: method set_language_ids_from_config (line 64) | def set_language_ids_from_config(self, c: Coqpit) -> None: method parse_ids_from_data (line 73) | def parse_ids_from_data(items: List, parse_key: str) -> Any: method set_ids_from_data (line 76) | def set_ids_from_data(self, items: List, parse_key: str) -> Any: method save_ids_to_file (line 79) | def save_ids_to_file(self, file_path: str) -> None: method init_from_config (line 88) | def init_from_config(config: Coqpit) -> "LanguageManager": function _set_file_path (line 102) | def _set_file_path(path): function get_language_balancer_weights (line 115) | def get_language_balancer_weights(items: list): FILE: TTS/tts/utils/managers.py function load_file (line 14) | def load_file(path: str): function save_file (line 25) | def save_file(obj: Any, path: str): class BaseIDManager (line 36) | class BaseIDManager: method __init__ (line 41) | def __init__(self, id_file_path: str = ""): method _load_json (line 48) | def _load_json(json_file_path: str) -> Dict: method _save_json (line 53) | def _save_json(json_file_path: str, data: dict) -> None: method set_ids_from_data (line 57) | def set_ids_from_data(self, items: List, parse_key: str) -> None: method load_ids_from_file (line 65) | def load_ids_from_file(self, file_path: str) -> None: method save_ids_to_file (line 73) | def save_ids_to_file(self, file_path: str) -> None: method get_random_id (line 81) | def get_random_id(self) -> Any: method parse_ids_from_data (line 95) | def parse_ids_from_data(items: List, parse_key: str) -> Tuple[Dict]: class EmbeddingManager (line 109) | class EmbeddingManager(BaseIDManager): method __init__ (line 130) | def __init__( method num_embeddings (line 157) | def num_embeddings(self): method num_names (line 162) | def num_names(self): method embedding_dim (line 167) | def embedding_dim(self): method embedding_names (line 174) | def embedding_names(self): method save_embeddings_to_file (line 178) | def save_embeddings_to_file(self, file_path: str) -> None: method read_embeddings_from_file (line 187) | def read_embeddings_from_file(file_path: str): method load_embeddings_from_file (line 206) | def load_embeddings_from_file(self, file_path: str) -> None: method load_embeddings_from_list_of_files (line 216) | def load_embeddings_from_list_of_files(self, file_paths: List[str]) ->... method get_embedding_by_clip (line 241) | def get_embedding_by_clip(self, clip_idx: str) -> List: method get_embeddings_by_name (line 252) | def get_embeddings_by_name(self, idx: str) -> List[List]: method get_embeddings_by_names (line 263) | def get_embeddings_by_names(self) -> Dict: method get_mean_embedding (line 277) | def get_mean_embedding(self, idx: str, num_samples: int = None, random... method get_random_embedding (line 299) | def get_random_embedding(self) -> Any: method get_clips (line 312) | def get_clips(self) -> List: method init_encoder (line 315) | def init_encoder(self, model_path: str, config_path: str, use_cuda=Fal... method compute_embedding_from_clip (line 331) | def compute_embedding_from_clip(self, wav_file: Union[str, List[str]])... method compute_embeddings (line 368) | def compute_embeddings(self, feats: Union[torch.Tensor, np.ndarray]) -... FILE: TTS/tts/utils/measures.py function alignment_diagonal_score (line 1) | def alignment_diagonal_score(alignments, binary=False): FILE: TTS/tts/utils/monotonic_align/core.c function CYTHON_INLINE (line 338) | static CYTHON_INLINE PyCodeObject* __Pyx_PyCode_New(int a, int k, int l,... type PyObject (line 423) | typedef PyObject *(*__Pyx_PyCFunctionFast) (PyObject *self, PyObject *co... type PyObject (line 424) | typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, ... type Py_tss_t (line 465) | typedef int Py_tss_t; function CYTHON_INLINE (line 466) | static CYTHON_INLINE int PyThread_tss_create(Py_tss_t *key) { function CYTHON_INLINE (line 470) | static CYTHON_INLINE Py_tss_t * PyThread_tss_alloc(void) { function CYTHON_INLINE (line 475) | static CYTHON_INLINE void PyThread_tss_free(Py_tss_t *key) { function CYTHON_INLINE (line 478) | static CYTHON_INLINE int PyThread_tss_is_created(Py_tss_t *key) { function CYTHON_INLINE (line 481) | static CYTHON_INLINE void PyThread_tss_delete(Py_tss_t *key) { function CYTHON_INLINE (line 485) | static CYTHON_INLINE int PyThread_tss_set(Py_tss_t *key, void *value) { function CYTHON_INLINE (line 488) | static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) { type Py_hash_t (line 633) | typedef long Py_hash_t; type __Pyx_PyAsyncMethodsStruct (line 656) | typedef struct { function CYTHON_INLINE (line 670) | static CYTHON_INLINE float __PYX_NAN() { type __Pyx_StringTabEntry (line 719) | typedef struct {PyObject **p; const char *s; const Py_ssize_t n; const c... function CYTHON_INLINE (line 740) | static CYTHON_INLINE int __Pyx_is_valid_index(Py_ssize_t i, Py_ssize_t l... function CYTHON_INLINE (line 789) | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) { function __Pyx_init_sys_getdefaultencoding_params (line 822) | static int __Pyx_init_sys_getdefaultencoding_params(void) { function __Pyx_init_sys_getdefaultencoding_params (line 872) | static int __Pyx_init_sys_getdefaultencoding_params(void) { function CYTHON_INLINE (line 904) | static CYTHON_INLINE void __Pyx_pretend_to_initialize(void* ptr) { (void... type __pyx_memoryview_obj (line 955) | struct __pyx_memoryview_obj type __Pyx_memviewslice (line 956) | typedef struct { type __pyx_atomic_int_type (line 1001) | typedef volatile __pyx_atomic_int_type __pyx_atomic_int; type __Pyx_StructField_ (line 1021) | struct __Pyx_StructField_ type __Pyx_TypeInfo (line 1023) | typedef struct { type __Pyx_StructField (line 1033) | typedef struct __Pyx_StructField_ { type __Pyx_BufFmt_StackElem (line 1038) | typedef struct { type __Pyx_BufFmt_Context (line 1042) | typedef struct { type npy_int8 (line 1063) | typedef npy_int8 __pyx_t_5numpy_int8_t; type npy_int16 (line 1072) | typedef npy_int16 __pyx_t_5numpy_int16_t; type npy_int32 (line 1081) | typedef npy_int32 __pyx_t_5numpy_int32_t; type npy_int64 (line 1090) | typedef npy_int64 __pyx_t_5numpy_int64_t; type npy_uint8 (line 1099) | typedef npy_uint8 __pyx_t_5numpy_uint8_t; type npy_uint16 (line 1108) | typedef npy_uint16 __pyx_t_5numpy_uint16_t; type npy_uint32 (line 1117) | typedef npy_uint32 __pyx_t_5numpy_uint32_t; type npy_uint64 (line 1126) | typedef npy_uint64 __pyx_t_5numpy_uint64_t; type npy_float32 (line 1135) | typedef npy_float32 __pyx_t_5numpy_float32_t; type npy_float64 (line 1144) | typedef npy_float64 __pyx_t_5numpy_float64_t; type npy_long (line 1153) | typedef npy_long __pyx_t_5numpy_int_t; type npy_longlong (line 1162) | typedef npy_longlong __pyx_t_5numpy_long_t; type npy_longlong (line 1171) | typedef npy_longlong __pyx_t_5numpy_longlong_t; type npy_ulong (line 1180) | typedef npy_ulong __pyx_t_5numpy_uint_t; type npy_ulonglong (line 1189) | typedef npy_ulonglong __pyx_t_5numpy_ulong_t; type npy_ulonglong (line 1198) | typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t; type npy_intp (line 1207) | typedef npy_intp __pyx_t_5numpy_intp_t; type npy_uintp (line 1216) | typedef npy_uintp __pyx_t_5numpy_uintp_t; type npy_double (line 1225) | typedef npy_double __pyx_t_5numpy_float_t; type npy_double (line 1234) | typedef npy_double __pyx_t_5numpy_double_t; type npy_longdouble (line 1243) | typedef npy_longdouble __pyx_t_5numpy_longdouble_t; type std (line 1247) | typedef ::std::complex< float > __pyx_t_float_complex; type __pyx_t_float_complex (line 1249) | typedef float _Complex __pyx_t_float_complex; type __pyx_t_float_complex (line 1252) | typedef struct { float real, imag; } __pyx_t_float_complex; type std (line 1259) | typedef ::std::complex< double > __pyx_t_double_complex; type __pyx_t_double_complex (line 1261) | typedef double _Complex __pyx_t_double_complex; type __pyx_t_double_complex (line 1264) | typedef struct { double real, imag; } __pyx_t_double_complex; type __pyx_array_obj (line 1270) | struct __pyx_array_obj type __pyx_MemviewEnum_obj (line 1271) | struct __pyx_MemviewEnum_obj type __pyx_memoryview_obj (line 1272) | struct __pyx_memoryview_obj type __pyx_memoryviewslice_obj (line 1273) | struct __pyx_memoryviewslice_obj type npy_cfloat (line 1282) | typedef npy_cfloat __pyx_t_5numpy_cfloat_t; type npy_cdouble (line 1291) | typedef npy_cdouble __pyx_t_5numpy_cdouble_t; type npy_clongdouble (line 1300) | typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t; type npy_cdouble (line 1309) | typedef npy_cdouble __pyx_t_5numpy_complex_t; type __pyx_opt_args_3TTS_3tts_5utils_15monotonic_align_4core_maximum_path_c (line 1310) | struct __pyx_opt_args_3TTS_3tts_5utils_15monotonic_align_4core_maximum_p... type __pyx_opt_args_3TTS_3tts_5utils_15monotonic_align_4core_maximum_path_c (line 1319) | struct __pyx_opt_args_3TTS_3tts_5utils_15monotonic_align_4core_maximum_p... type __pyx_array_obj (line 1331) | struct __pyx_array_obj { type __pyx_MemviewEnum_obj (line 1356) | struct __pyx_MemviewEnum_obj { type __pyx_memoryview_obj (line 1369) | struct __pyx_memoryview_obj { type __pyx_memoryviewslice_obj (line 1392) | struct __pyx_memoryviewslice_obj { type __pyx_vtabstruct_array (line 1410) | struct __pyx_vtabstruct_array { type __pyx_vtabstruct_array (line 1413) | struct __pyx_vtabstruct_array type __pyx_vtabstruct_memoryview (line 1424) | struct __pyx_vtabstruct_memoryview { type __pyx_vtabstruct_memoryview (line 1433) | struct __pyx_vtabstruct_memoryview type __pyx_vtabstruct__memoryviewslice (line 1444) | struct __pyx_vtabstruct__memoryviewslice { type __pyx_vtabstruct__memoryviewslice (line 1447) | struct __pyx_vtabstruct__memoryviewslice type __Pyx_RefNannyAPIStruct (line 1455) | typedef struct { type __pyx_memoryview_obj (line 1534) | struct __pyx_memoryview_obj type __pyx_array_obj (line 1715) | struct __pyx_array_obj function CYTHON_INLINE (line 1749) | static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16(const char *s... function CYTHON_INLINE (line 1753) | static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16LE(const char ... function CYTHON_INLINE (line 1757) | static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16BE(const char ... function CYTHON_INLINE (line 1857) | static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject*... function CYTHON_INLINE (line 1881) | static CYTHON_INLINE int __Pyx_PyList_Extend(PyObject* L, PyObject* v) { function CYTHON_INLINE (line 1895) | static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) { type __Pyx_ImportType_CheckSize (line 1945) | enum __Pyx_ImportType_CheckSize { type __Pyx_ImportType_CheckSize (line 1950) | enum __Pyx_ImportType_CheckSize type __Pyx_CodeObjectCacheEntry (line 1961) | typedef struct { type __Pyx_CodeObjectCache (line 1965) | struct __Pyx_CodeObjectCache { type __Pyx_CodeObjectCache (line 1970) | struct __Pyx_CodeObjectCache type __Pyx_Buf_DimInfo (line 1989) | typedef struct { type __Pyx_Buffer (line 1992) | typedef struct { type __Pyx_LocalBuf_ND (line 1996) | typedef struct { type __pyx_array_obj (line 2176) | struct __pyx_array_obj type __pyx_memoryview_obj (line 2177) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2178) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2179) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2180) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2180) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2181) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2182) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2183) | struct __pyx_memoryview_obj type __pyx_memoryviewslice_obj (line 2184) | struct __pyx_memoryviewslice_obj type __pyx_memoryviewslice_obj (line 2185) | struct __pyx_memoryviewslice_obj type __pyx_opt_args_3TTS_3tts_5utils_15monotonic_align_4core_maximum_path_c (line 2242) | struct __pyx_opt_args_3TTS_3tts_5utils_15monotonic_align_4core_maximum_p... type __pyx_array_obj (line 2243) | struct __pyx_array_obj type __pyx_memoryview_obj (line 2249) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2249) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2254) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2255) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2256) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2257) | struct __pyx_memoryview_obj type __pyx_MemviewEnum_obj (line 2275) | struct __pyx_MemviewEnum_obj type __pyx_array_obj (line 2483) | struct __pyx_array_obj type __pyx_array_obj (line 2484) | struct __pyx_array_obj type __pyx_array_obj (line 2485) | struct __pyx_array_obj type __pyx_array_obj (line 2486) | struct __pyx_array_obj type __pyx_array_obj (line 2487) | struct __pyx_array_obj type __pyx_array_obj (line 2488) | struct __pyx_array_obj type __pyx_array_obj (line 2489) | struct __pyx_array_obj type __pyx_array_obj (line 2490) | struct __pyx_array_obj type __pyx_MemviewEnum_obj (line 2493) | struct __pyx_MemviewEnum_obj type __pyx_MemviewEnum_obj (line 2494) | struct __pyx_MemviewEnum_obj type __pyx_MemviewEnum_obj (line 2495) | struct __pyx_MemviewEnum_obj type __pyx_MemviewEnum_obj (line 2496) | struct __pyx_MemviewEnum_obj type __pyx_memoryview_obj (line 2497) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2498) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2499) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2500) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2501) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2502) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2503) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2504) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2505) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2506) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2507) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2508) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2509) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2510) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2511) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2512) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2513) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2514) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2515) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2516) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 2517) | struct __pyx_memoryview_obj type __pyx_memoryviewslice_obj (line 2520) | struct __pyx_memoryviewslice_obj type __pyx_memoryviewslice_obj (line 2521) | struct __pyx_memoryviewslice_obj function __pyx_f_3TTS_3tts_5utils_15monotonic_align_4core_maximum_path_each (line 2571) | static void __pyx_f_3TTS_3tts_5utils_15monotonic_align_4core_maximum_pat... function __pyx_f_3TTS_3tts_5utils_15monotonic_align_4core_maximum_path_c (line 2869) | static void __pyx_f_3TTS_3tts_5utils_15monotonic_align_4core_maximum_pat... function PyObject (line 3023) | static PyObject *__pyx_pw_3TTS_3tts_5utils_15monotonic_align_4core_1maxi... function PyObject (line 3125) | static PyObject *__pyx_pf_3TTS_3tts_5utils_15monotonic_align_4core_maxim... function CYTHON_INLINE (line 3171) | static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyOb... function CYTHON_INLINE (line 3221) | static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyOb... function CYTHON_INLINE (line 3271) | static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyOb... function CYTHON_INLINE (line 3321) | static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyOb... function CYTHON_INLINE (line 3371) | static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyOb... function CYTHON_INLINE (line 3421) | static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_D... function CYTHON_INLINE (line 3495) | static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *_... function CYTHON_INLINE (line 3537) | static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObje... function CYTHON_INLINE (line 3618) | static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { function CYTHON_INLINE (line 3750) | static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { function CYTHON_INLINE (line 3882) | static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { function CYTHON_INLINE (line 4014) | static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *... function CYTHON_INLINE (line 4051) | static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *_... function CYTHON_INLINE (line 4088) | static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(Py... function CYTHON_INLINE (line 4122) | static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(... function CYTHON_INLINE (line 4156) | static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit... function __pyx_array___cinit__ (line 4190) | static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx... function __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__ (line 4318) | static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(s... function CYTHON_UNUSED (line 4941) | static CYTHON_UNUSED int __pyx_array_getbuffer(PyObject *__pyx_v_self, P... function __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__ (line 4952) | static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffe... function __pyx_array___dealloc__ (line 5248) | static void __pyx_array___dealloc__(PyObject *__pyx_v_self) { function __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__ (line 5257) | static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc... function PyObject (line 5379) | static PyObject *__pyx_pw_15View_dot_MemoryView_5array_7memview_1__get__... function PyObject (line 5390) | static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(... function PyObject (line 5440) | static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v... function Py_ssize_t (line 5522) | static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self) { function Py_ssize_t (line 5533) | static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__l... function PyObject (line 5572) | static PyObject *__pyx_array___getattr__(PyObject *__pyx_v_self, PyObjec... function PyObject (line 5583) | static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__ge... function PyObject (line 5640) | static PyObject *__pyx_array___getitem__(PyObject *__pyx_v_self, PyObjec... function PyObject (line 5651) | static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__g... function __pyx_array___setitem__ (line 5708) | static int __pyx_array___setitem__(PyObject *__pyx_v_self, PyObject *__p... function __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__ (line 5719) | static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem... function PyObject (line 5768) | static PyObject *__pyx_pw___pyx_array_1__reduce_cython__(PyObject *__pyx... function PyObject (line 5779) | static PyObject *__pyx_pf___pyx_array___reduce_cython__(CYTHON_UNUSED st... function PyObject (line 5825) | static PyObject *__pyx_pw___pyx_array_3__setstate_cython__(PyObject *__p... function PyObject (line 5836) | static PyObject *__pyx_pf___pyx_array_2__setstate_cython__(CYTHON_UNUSED... type __pyx_array_obj (line 5881) | struct __pyx_array_obj type __pyx_array_obj (line 5882) | struct __pyx_array_obj type __pyx_array_obj (line 5883) | struct __pyx_array_obj type __pyx_array_obj (line 5935) | struct __pyx_array_obj type __pyx_array_obj (line 5999) | struct __pyx_array_obj function __pyx_MemviewEnum___init__ (line 6058) | static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *... function __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__ (line 6109) | static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init... function PyObject (line 6151) | static PyObject *__pyx_MemviewEnum___repr__(PyObject *__pyx_v_self) { function PyObject (line 6162) | static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_... function PyObject (line 6202) | static PyObject *__pyx_pw___pyx_MemviewEnum_1__reduce_cython__(PyObject ... function PyObject (line 6213) | static PyObject *__pyx_pf___pyx_MemviewEnum___reduce_cython__(struct __p... function PyObject (line 6437) | static PyObject *__pyx_pw___pyx_MemviewEnum_3__setstate_cython__(PyObjec... function PyObject (line 6448) | static PyObject *__pyx_pf___pyx_MemviewEnum_2__setstate_cython__(struct ... function __pyx_memoryview___cinit__ (line 6580) | static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *... function __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit__ (line 6660) | static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_... function __pyx_memoryview___dealloc__ (line 6959) | static void __pyx_memoryview___dealloc__(PyObject *__pyx_v_self) { function __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__ (line 6968) | static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview... type __pyx_memoryview_obj (line 7188) | struct __pyx_memoryview_obj function PyObject (line 7328) | static PyObject *__pyx_memoryview___getitem__(PyObject *__pyx_v_self, Py... function PyObject (line 7339) | static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memor... function __pyx_memoryview___setitem__ (line 7517) | static int __pyx_memoryview___setitem__(PyObject *__pyx_v_self, PyObject... function __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__ (line 7528) | static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_... function PyObject (line 7743) | static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *... function PyObject (line 7953) | static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_... function PyObject (line 8043) | static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __p... function PyObject (line 8333) | static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryvie... function PyObject (line 8394) | static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_me... function PyObject (line 8671) | static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_m... function CYTHON_UNUSED (line 8912) | static CYTHON_UNUSED int __pyx_memoryview_getbuffer(PyObject *__pyx_v_se... function __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbuffer__ (line 8923) | static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_... function PyObject (line 9256) | static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_1T_1__get__... function PyObject (line 9267) | static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(... function PyObject (line 9342) | static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_4base_1__ge... function PyObject (line 9353) | static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get... function PyObject (line 9395) | static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_5shape_1__g... function PyObject (line 9406) | static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___ge... function PyObject (line 9476) | static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_7strides_1_... function PyObject (line 9487) | static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___... function PyObject (line 9590) | static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_10suboffset... function PyObject (line 9601) | static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffset... function PyObject (line 9708) | static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_4ndim_1__ge... function PyObject (line 9719) | static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get... function PyObject (line 9771) | static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_8itemsize_1... function PyObject (line 9782) | static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize__... function PyObject (line 9834) | static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_6nbytes_1__... function PyObject (line 9845) | static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___g... function PyObject (line 9907) | static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_4size_1__ge... function PyObject (line 9918) | static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get... function Py_ssize_t (line 10048) | static Py_ssize_t __pyx_memoryview___len__(PyObject *__pyx_v_self) { function Py_ssize_t (line 10059) | static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memo... function PyObject (line 10128) | static PyObject *__pyx_memoryview___repr__(PyObject *__pyx_v_self) { function PyObject (line 10139) | static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memor... function PyObject (line 10230) | static PyObject *__pyx_memoryview___str__(PyObject *__pyx_v_self) { function PyObject (line 10241) | static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memor... function PyObject (line 10309) | static PyObject *__pyx_memoryview_is_c_contig(PyObject *__pyx_v_self, CY... function PyObject (line 10320) | static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memor... function PyObject (line 10385) | static PyObject *__pyx_memoryview_is_f_contig(PyObject *__pyx_v_self, CY... function PyObject (line 10396) | static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memor... function PyObject (line 10461) | static PyObject *__pyx_memoryview_copy(PyObject *__pyx_v_self, CYTHON_UN... function PyObject (line 10472) | static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memor... function PyObject (line 10555) | static PyObject *__pyx_memoryview_copy_fortran(PyObject *__pyx_v_self, C... function PyObject (line 10566) | static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memor... function PyObject (line 10648) | static PyObject *__pyx_pw___pyx_memoryview_1__reduce_cython__(PyObject *... function PyObject (line 10659) | static PyObject *__pyx_pf___pyx_memoryview___reduce_cython__(CYTHON_UNUS... function PyObject (line 10705) | static PyObject *__pyx_pw___pyx_memoryview_3__setstate_cython__(PyObject... function PyObject (line 10716) | static PyObject *__pyx_pf___pyx_memoryview_2__setstate_cython__(CYTHON_U... function PyObject (line 10761) | static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_f... function CYTHON_INLINE (line 10852) | static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) { function PyObject (line 10891) | static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) { function PyObject (line 11348) | static PyObject *assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets... type __pyx_memoryview_obj (line 11436) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 11436) | struct __pyx_memoryview_obj type __pyx_memoryviewslice_obj (line 11443) | struct __pyx_memoryviewslice_obj type __pyx_memoryview_obj (line 11453) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 11458) | struct __pyx_memoryview_obj type __pyx_memoryviewslice_obj (line 11528) | struct __pyx_memoryviewslice_obj type __pyx_memoryview_obj (line 11940) | struct __pyx_memoryview_obj type __pyx_memoryview_obj (line 11981) | struct __pyx_memoryview_obj function __pyx_memoryview_slice_memviewslice (line 12016) | static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx... function __pyx_memslice_transpose (line 13109) | static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) { function __pyx_memoryviewslice___dealloc__ (line 13285) | static void __pyx_memoryviewslice___dealloc__(PyObject *__pyx_v_self) { function __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewslice___dealloc__ (line 13294) | static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memo... function PyObject (line 13327) | static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __p... function PyObject (line 13413) | static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __... function PyObject (line 13498) | static PyObject *__pyx_pw_15View_dot_MemoryView_16_memoryviewslice_4base... function PyObject (line 13509) | static PyObject *__pyx_pf_15View_dot_MemoryView_16_memoryviewslice_4base... function PyObject (line 13549) | static PyObject *__pyx_pw___pyx_memoryviewslice_1__reduce_cython__(PyObj... function PyObject (line 13560) | static PyObject *__pyx_pf___pyx_memoryviewslice___reduce_cython__(CYTHON... function PyObject (line 13606) | static PyObject *__pyx_pw___pyx_memoryviewslice_3__setstate_cython__(PyO... function PyObject (line 13617) | static PyObject *__pyx_pf___pyx_memoryviewslice_2__setstate_cython__(CYT... function PyObject (line 13662) | static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_m... function __Pyx_memviewslice (line 14048) | static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(st... function __pyx_memoryview_slice_copy (line 14151) | static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__p... function PyObject (line 14277) | static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_ob... function PyObject (line 14337) | static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_me... function Py_ssize_t (line 14463) | static Py_ssize_t abs_py_ssize_t(Py_ssize_t __pyx_v_arg) { function __pyx_get_best_slice_order (line 14529) | static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslic... function _copy_strided_to_strided (line 14719) | static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t ... function copy_strided_to_strided (line 14956) | static void copy_strided_to_strided(__Pyx_memviewslice *__pyx_v_src, __P... function Py_ssize_t (line 14986) | static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *__... function Py_ssize_t (line 15058) | static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_sh... type __pyx_memoryview_obj (line 15189) | struct __pyx_memoryview_obj function __pyx_memoryview_err_extents (line 15435) | static int __pyx_memoryview_err_extents(int __pyx_v_i, Py_ssize_t __pyx_... function __pyx_memoryview_err_dim (line 15523) | static int __pyx_memoryview_err_dim(PyObject *__pyx_v_error, char *__pyx... function __pyx_memoryview_err (line 15607) | static int __pyx_memoryview_err(PyObject *__pyx_v_error, char *__pyx_v_m... function __pyx_memoryview_copy_contents (line 15717) | static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src... function __pyx_memoryview_broadcast_leading (line 16296) | static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx... function __pyx_memoryview_refcount_copying (line 16409) | static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_... function __pyx_memoryview_refcount_objects_in_slice_with_gil (line 16459) | static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__... function __pyx_memoryview_refcount_objects_in_slice (line 16498) | static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_dat... function __pyx_memoryview_slice_assign_scalar (line 16630) | static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *__p... function __pyx_memoryview__slice_assign_scalar (line 16678) | static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py... function PyObject (line 16810) | static PyObject *__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum(PyO... function PyObject (line 16883) | static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTH... function PyObject (line 17074) | static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum... type __pyx_vtabstruct_array (line 17197) | struct __pyx_vtabstruct_array function PyObject (line 17199) | static PyObject *__pyx_tp_new_array(PyTypeObject *t, PyObject *a, PyObje... function __pyx_tp_dealloc_array (line 17219) | static void __pyx_tp_dealloc_array(PyObject *o) { function PyObject (line 17238) | static PyObject *__pyx_sq_item_array(PyObject *o, Py_ssize_t i) { function __pyx_mp_ass_subscript_array (line 17246) | static int __pyx_mp_ass_subscript_array(PyObject *o, PyObject *i, PyObje... function PyObject (line 17257) | static PyObject *__pyx_tp_getattro_array(PyObject *o, PyObject *n) { function PyObject (line 17266) | static PyObject *__pyx_getprop___pyx_array_memview(PyObject *o, CYTHON_U... type PyGetSetDef (line 17277) | struct PyGetSetDef type __pyx_array_obj (line 17321) | struct __pyx_array_obj function PyObject (line 17390) | static PyObject *__pyx_tp_new_Enum(PyTypeObject *t, CYTHON_UNUSED PyObje... function __pyx_tp_dealloc_Enum (line 17404) | static void __pyx_tp_dealloc_Enum(PyObject *o) { function __pyx_tp_traverse_Enum (line 17416) | static int __pyx_tp_traverse_Enum(PyObject *o, visitproc v, void *a) { function __pyx_tp_clear_Enum (line 17425) | static int __pyx_tp_clear_Enum(PyObject *o) { type __pyx_MemviewEnum_obj (line 17443) | struct __pyx_MemviewEnum_obj type __pyx_vtabstruct_memoryview (line 17511) | struct __pyx_vtabstruct_memoryview function PyObject (line 17513) | static PyObject *__pyx_tp_new_memoryview(PyTypeObject *t, PyObject *a, P... function __pyx_tp_dealloc_memoryview (line 17535) | static void __pyx_tp_dealloc_memoryview(PyObject *o) { function __pyx_tp_traverse_memoryview (line 17557) | static int __pyx_tp_traverse_memoryview(PyObject *o, visitproc v, void *... function __pyx_tp_clear_memoryview (line 17575) | static int __pyx_tp_clear_memoryview(PyObject *o) { function PyObject (line 17590) | static PyObject *__pyx_sq_item_memoryview(PyObject *o, Py_ssize_t i) { function __pyx_mp_ass_subscript_memoryview (line 17598) | static int __pyx_mp_ass_subscript_memoryview(PyObject *o, PyObject *i, P... function PyObject (line 17609) | static PyObject *__pyx_getprop___pyx_memoryview_T(PyObject *o, CYTHON_UN... function PyObject (line 17613) | static PyObject *__pyx_getprop___pyx_memoryview_base(PyObject *o, CYTHON... function PyObject (line 17617) | static PyObject *__pyx_getprop___pyx_memoryview_shape(PyObject *o, CYTHO... function PyObject (line 17621) | static PyObject *__pyx_getprop___pyx_memoryview_strides(PyObject *o, CYT... function PyObject (line 17625) | static PyObject *__pyx_getprop___pyx_memoryview_suboffsets(PyObject *o, ... function PyObject (line 17629) | static PyObject *__pyx_getprop___pyx_memoryview_ndim(PyObject *o, CYTHON... function PyObject (line 17633) | static PyObject *__pyx_getprop___pyx_memoryview_itemsize(PyObject *o, CY... function PyObject (line 17637) | static PyObject *__pyx_getprop___pyx_memoryview_nbytes(PyObject *o, CYTH... function PyObject (line 17641) | static PyObject *__pyx_getprop___pyx_memoryview_size(PyObject *o, CYTHON... type PyGetSetDef (line 17655) | struct PyGetSetDef type __pyx_memoryview_obj (line 17707) | struct __pyx_memoryview_obj type __pyx_vtabstruct__memoryviewslice (line 17775) | struct __pyx_vtabstruct__memoryviewslice function PyObject (line 17777) | static PyObject *__pyx_tp_new__memoryviewslice(PyTypeObject *t, PyObject... function __pyx_tp_dealloc__memoryviewslice (line 17788) | static void __pyx_tp_dealloc__memoryviewslice(PyObject *o) { function __pyx_tp_traverse__memoryviewslice (line 17809) | static int __pyx_tp_traverse__memoryviewslice(PyObject *o, visitproc v, ... function __pyx_tp_clear__memoryviewslice (line 17819) | static int __pyx_tp_clear__memoryviewslice(PyObject *o) { function PyObject (line 17830) | static PyObject *__pyx_getprop___pyx_memoryviewslice_base(PyObject *o, C... type PyGetSetDef (line 17840) | struct PyGetSetDef type __pyx_memoryviewslice_obj (line 17848) | struct __pyx_memoryviewslice_obj type PyModuleDef (line 17941) | struct PyModuleDef function CYTHON_SMALL_CODE (line 18070) | static CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(void) { function CYTHON_SMALL_CODE (line 18085) | static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { function CYTHON_SMALL_CODE (line 18374) | static CYTHON_SMALL_CODE int __Pyx_InitGlobals(void) { function __Pyx_modinit_global_init_code (line 18400) | static int __Pyx_modinit_global_init_code(void) { function __Pyx_modinit_variable_export_code (line 18413) | static int __Pyx_modinit_variable_export_code(void) { function __Pyx_modinit_function_export_code (line 18421) | static int __Pyx_modinit_function_export_code(void) { function __Pyx_modinit_type_init_code (line 18429) | static int __Pyx_modinit_type_init_code(void) { function __Pyx_modinit_type_import_code (line 18494) | static int __Pyx_modinit_type_import_code(void) { function __Pyx_modinit_variable_import_code (line 18554) | static int __Pyx_modinit_variable_import_code(void) { function __Pyx_modinit_function_import_code (line 18562) | static int __Pyx_modinit_function_import_code(void) { function __Pyx_PyMODINIT_FUNC (line 18593) | __Pyx_PyMODINIT_FUNC PyInit_core(void) function CYTHON_SMALL_CODE (line 18598) | static CYTHON_SMALL_CODE int __Pyx_check_single_interpreter(void) { function CYTHON_SMALL_CODE (line 18621) | static CYTHON_SMALL_CODE int __Pyx_copy_spec_to_module(PyObject *spec, P... function CYTHON_SMALL_CODE (line 18636) | static CYTHON_SMALL_CODE PyObject* __pyx_pymod_create(PyObject *spec, CY... function __Pyx_RefNannyAPIStruct (line 18981) | static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modn... function CYTHON_INLINE (line 18998) | static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, ... function PyObject (line 19011) | static PyObject *__Pyx_GetBuiltinName(PyObject *name) { function __Pyx_init_memviewslice (line 19025) | static int function __pyx_fatalerror (line 19077) | static void __pyx_fatalerror(const char *fmt, ...) Py_NO_RETURN { function CYTHON_INLINE (line 19089) | static CYTHON_INLINE int function CYTHON_INLINE (line 19099) | static CYTHON_INLINE int function CYTHON_INLINE (line 19109) | static CYTHON_INLINE void function CYTHON_INLINE (line 19130) | static CYTHON_INLINE void __Pyx_XDEC_MEMVIEW(__Pyx_memviewslice *memslice, function __Pyx_RaiseArgtupleInvalid (line 19157) | static void __Pyx_RaiseArgtupleInvalid( function __Pyx_RaiseDoubleKeywordsError (line 19183) | static void __Pyx_RaiseDoubleKeywordsError( function __Pyx_ParseOptionalKeywords (line 19197) | static int __Pyx_ParseOptionalKeywords( function CYTHON_INLINE (line 19299) | static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varna... function _PyErr_StackItem (line 19305) | static _PyErr_StackItem * function CYTHON_INLINE (line 19320) | static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, Py... function CYTHON_INLINE (line 19335) | static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, P... function __Pyx_PyErr_ExceptionMatchesTuple (line 19361) | static int __Pyx_PyErr_ExceptionMatchesTuple(PyObject *exc_type, PyObjec... function CYTHON_INLINE (line 19374) | static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadSta... function __Pyx_GetException (line 19388) | static int __Pyx_GetException(PyObject **type, PyObject **value, PyObjec... function CYTHON_INLINE (line 19460) | static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObj... function CYTHON_INLINE (line 19480) | static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate,... function CYTHON_INLINE (line 19492) | static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, P... function __Pyx_Raise (line 19504) | static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, function __Pyx_Raise (line 19555) | static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, P... function __Pyx__ArgTypeTest (line 19662) | static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const c... function CYTHON_INLINE (line 19684) | static CYTHON_INLINE PyObject * __Pyx_PyCFunction_FastCall(PyObject *fun... function PyObject (line 19707) | static PyObject* __Pyx_PyFunction_FastCallNoKw(PyCodeObject *co, PyObjec... function CYTHON_UNUSED (line 19825) | static CYTHON_UNUSED PyObject* __Pyx_PyObject_Call2Args(PyObject* functi... function CYTHON_INLINE (line 19855) | static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, ... function PyObject (line 19875) | static PyObject* __Pyx__PyObject_CallOneArg(PyObject *func, PyObject *ar... function CYTHON_INLINE (line 19885) | static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func,... function CYTHON_INLINE (line 19903) | static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func,... function CYTHON_INLINE (line 19914) | static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2... function CYTHON_INLINE (line 19961) | static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* ... function CYTHON_INLINE (line 20063) | static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t a, Py_ss... function CYTHON_INLINE (line 20071) | static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *o, PyObject *n) { function PyObject (line 20084) | static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) { function CYTHON_INLINE (line 20091) | static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, P... function CYTHON_INLINE (line 20109) | static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, ... function CYTHON_INLINE (line 20127) | static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssi... function PyObject (line 20172) | static PyObject *__Pyx_PyObject_GetIndex(PyObject *obj, PyObject* index) { function PyObject (line 20190) | static PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject* key) { function CYTHON_INLINE (line 20200) | static CYTHON_INLINE PyObject* __Pyx_decode_c_string( function PyObject (line 20233) | static PyObject *__Pyx_GetAttr3Default(PyObject *d) { function CYTHON_INLINE (line 20242) | static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, ... function CYTHON_INLINE (line 20249) | static CYTHON_INLINE PY_UINT64_T __Pyx_get_tp_dict_version(PyObject *obj) { function CYTHON_INLINE (line 20253) | static CYTHON_INLINE PY_UINT64_T __Pyx_get_object_dict_version(PyObject ... function CYTHON_INLINE (line 20265) | static CYTHON_INLINE int __Pyx_object_dict_version_matches(PyObject* obj... function CYTHON_INLINE (line 20277) | static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name) function CYTHON_INLINE (line 20309) | static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expec... function CYTHON_INLINE (line 20315) | static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t inde... function CYTHON_INLINE (line 20322) | static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void) { function CYTHON_INLINE (line 20327) | static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *typ... function CYTHON_INLINE (line 20341) | static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, Py... function CYTHON_INLINE (line 20364) | static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject ... function PyObject (line 20375) | static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int l... function __Pyx_InBases (line 20441) | static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) { function CYTHON_INLINE (line 20449) | static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *... function __Pyx_inner_PyErr_GivenExceptionMatches2 (line 20465) | static int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObj... function CYTHON_INLINE (line 20487) | static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObje... function __Pyx_PyErr_GivenExceptionMatchesTuple (line 20495) | static int __Pyx_PyErr_GivenExceptionMatchesTuple(PyObject *exc_type, Py... function CYTHON_INLINE (line 20516) | static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err... function CYTHON_INLINE (line 20528) | static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *er... function PyObject (line 20541) | static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, CYTHO... function __Pyx_div_long (line 20664) | static CYTHON_INLINE long __Pyx_div_long(long a, long b) { function PyObject (line 20672) | static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) { function CYTHON_INLINE (line 20686) | static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) { function PyObject (line 20705) | static PyObject *__Pyx_RaiseGenericGetAttributeError(PyTypeObject *tp, P... function CYTHON_INLINE (line 20716) | static CYTHON_INLINE PyObject* __Pyx_PyObject_GenericGetAttrNoDict(PyObj... function PyObject (line 20745) | static PyObject* __Pyx_PyObject_GenericGetAttr(PyObject* obj, PyObject* ... function __Pyx_SetVtable (line 20754) | static int __Pyx_SetVtable(PyObject *dict, void *vtable) { function __Pyx_PyObject_GetAttrStr_ClearAttributeError (line 20772) | static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) { function CYTHON_INLINE (line 20778) | static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject... function __Pyx_setup_reduce_is_named (line 20794) | static int __Pyx_setup_reduce_is_named(PyObject* meth, PyObject* name) { function __Pyx_setup_reduce (line 20810) | static int __Pyx_setup_reduce(PyObject* type_obj) { function PyTypeObject (line 20880) | static PyTypeObject *__Pyx_ImportType(PyObject *module, const char *modu... function __Pyx_CLineForTraceback (line 20940) | static int __Pyx_CLineForTraceback(CYTHON_NCP_UNUSED PyThreadState *tsta... function __pyx_bisect_code_objects (line 20981) | static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries... function PyCodeObject (line 21002) | static PyCodeObject *__pyx_find_code_object(int code_line) { function __pyx_insert_code_object (line 21016) | static void __pyx_insert_code_object(int code_line, PyCodeObject* code_o... function PyCodeObject (line 21064) | static PyCodeObject* __Pyx_CreateCodeObjectForTraceback( function __Pyx_AddTraceback (line 21122) | static void __Pyx_AddTraceback(const char *funcname, int c_line, function __Pyx_GetBuffer (line 21152) | static int __Pyx_GetBuffer(PyObject *obj, Py_buffer *view, int flags) { function __Pyx_ReleaseBuffer (line 21159) | static void __Pyx_ReleaseBuffer(Py_buffer *view) { function __pyx_memviewslice_is_contig (line 21174) | static int function __pyx_get_array_memory_extents (line 21196) | static void function __pyx_slices_overlap (line 21220) | static int function CYTHON_INLINE (line 21232) | static CYTHON_INLINE PyObject * function CYTHON_INLINE (line 21245) | static CYTHON_INLINE int __Pyx_Is_Little_Endian(void) function __Pyx_BufFmt_Init (line 21256) | static void __Pyx_BufFmt_Init(__Pyx_BufFmt_Context* ctx, function __Pyx_BufFmt_ParseNumber (line 21283) | static int __Pyx_BufFmt_ParseNumber(const char** ts) { function __Pyx_BufFmt_ExpectNumber (line 21298) | static int __Pyx_BufFmt_ExpectNumber(const char **ts) { function __Pyx_BufFmt_RaiseUnexpectedChar (line 21305) | static void __Pyx_BufFmt_RaiseUnexpectedChar(char ch) { function __Pyx_BufFmt_TypeCharToStandardSize (line 21334) | static size_t __Pyx_BufFmt_TypeCharToStandardSize(char ch, int is_comple... function __Pyx_BufFmt_TypeCharToNativeSize (line 21352) | static size_t __Pyx_BufFmt_TypeCharToNativeSize(char ch, int is_complex) { type __Pyx_st_short (line 21371) | typedef struct { char c; short x; } __Pyx_st_short; type __Pyx_st_int (line 21372) | typedef struct { char c; int x; } __Pyx_st_int; type __Pyx_st_long (line 21373) | typedef struct { char c; long x; } __Pyx_st_long; type __Pyx_st_float (line 21374) | typedef struct { char c; float x; } __Pyx_st_float; type __Pyx_st_double (line 21375) | typedef struct { char c; double x; } __Pyx_st_double; type __Pyx_st_longdouble (line 21376) | typedef struct { char c; long double x; } __Pyx_st_longdouble; type __Pyx_st_void_p (line 21377) | typedef struct { char c; void *x; } __Pyx_st_void_p; type __Pyx_st_longlong (line 21379) | typedef struct { char c; PY_LONG_LONG x; } __Pyx_st_longlong; function __Pyx_BufFmt_TypeCharToAlignment (line 21381) | static size_t __Pyx_BufFmt_TypeCharToAlignment(char ch, CYTHON_UNUSED in... type __Pyx_pad_short (line 21403) | typedef struct { short x; char c; } __Pyx_pad_short; type __Pyx_pad_int (line 21404) | typedef struct { int x; char c; } __Pyx_pad_int; type __Pyx_pad_long (line 21405) | typedef struct { long x; char c; } __Pyx_pad_long; type __Pyx_pad_float (line 21406) | typedef struct { float x; char c; } __Pyx_pad_float; type __Pyx_pad_double (line 21407) | typedef struct { double x; char c; } __Pyx_pad_double; type __Pyx_pad_longdouble (line 21408) | typedef struct { long double x; char c; } __Pyx_pad_longdouble; type __Pyx_pad_void_p (line 21409) | typedef struct { void *x; char c; } __Pyx_pad_void_p; type __Pyx_pad_longlong (line 21411) | typedef struct { PY_LONG_LONG x; char c; } __Pyx_pad_longlong; function __Pyx_BufFmt_TypeCharToPadding (line 21413) | static size_t __Pyx_BufFmt_TypeCharToPadding(char ch, CYTHON_UNUSED int ... function __Pyx_BufFmt_TypeCharToGroup (line 21431) | static char __Pyx_BufFmt_TypeCharToGroup(char ch, int is_complex) { function __Pyx_BufFmt_RaiseExpected (line 21452) | static void __Pyx_BufFmt_RaiseExpected(__Pyx_BufFmt_Context* ctx) { function __Pyx_BufFmt_ProcessTypeChunk (line 21476) | static int __Pyx_BufFmt_ProcessTypeChunk(__Pyx_BufFmt_Context* ctx) { function PyObject (line 21578) | static PyObject * function __pyx_typeinfo_cmp (line 21758) | static int function __pyx_check_strides (line 21799) | static int function __pyx_check_suboffsets (line 21852) | static int function __pyx_verify_contig (line 21875) | static int function __Pyx_ValidateAndInit_memviewslice (line 21904) | static int __Pyx_ValidateAndInit_memviewslice( function CYTHON_INLINE (line 21980) | static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlic... function CYTHON_INLINE (line 22003) | static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlic... function CYTHON_INLINE (line 22026) | static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlic... function CYTHON_INLINE (line 22073) | static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_pa... function CYTHON_INLINE (line 22077) | static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_pa... function CYTHON_INLINE (line 22082) | static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_pa... function CYTHON_INLINE (line 22093) | static CYTHON_INLINE int __Pyx_c_eq_float(__pyx_t_float_complex a, __pyx... function CYTHON_INLINE (line 22096) | static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sum_float(__pyx_t_flo... function CYTHON_INLINE (line 22102) | static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_diff_float(__pyx_t_fl... function CYTHON_INLINE (line 22108) | static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prod_float(__pyx_t_fl... function CYTHON_INLINE (line 22115) | static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quot_float(__pyx_t_fl... function CYTHON_INLINE (line 22135) | static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quot_float(__pyx_t_fl... function CYTHON_INLINE (line 22146) | static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_neg_float(__pyx_t_flo... function CYTHON_INLINE (line 22152) | static CYTHON_INLINE int __Pyx_c_is_zero_float(__pyx_t_float_complex a) { function CYTHON_INLINE (line 22155) | static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conj_float(__pyx_t_fl... function CYTHON_INLINE (line 22162) | static CYTHON_INLINE float __Pyx_c_abs_float(__pyx_t_float_complex z) { function CYTHON_INLINE (line 22169) | static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_pow_float(__pyx_t_flo... function CYTHON_INLINE (line 22227) | static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_... function CYTHON_INLINE (line 22231) | static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_... function CYTHON_INLINE (line 22236) | static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_... function CYTHON_INLINE (line 22247) | static CYTHON_INLINE int __Pyx_c_eq_double(__pyx_t_double_complex a, __p... function CYTHON_INLINE (line 22250) | static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum_double(__pyx_t_d... function CYTHON_INLINE (line 22256) | static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff_double(__pyx_t_... function CYTHON_INLINE (line 22262) | static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod_double(__pyx_t_... function CYTHON_INLINE (line 22269) | static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot_double(__pyx_t_... function CYTHON_INLINE (line 22289) | static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot_double(__pyx_t_... function CYTHON_INLINE (line 22300) | static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg_double(__pyx_t_d... function CYTHON_INLINE (line 22306) | static CYTHON_INLINE int __Pyx_c_is_zero_double(__pyx_t_double_complex a) { function CYTHON_INLINE (line 22309) | static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj_double(__pyx_t_... function CYTHON_INLINE (line 22316) | static CYTHON_INLINE double __Pyx_c_abs_double(__pyx_t_double_complex z) { function CYTHON_INLINE (line 22323) | static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow_double(__pyx_t_d... function __Pyx_memviewslice (line 22379) | static __Pyx_memviewslice function CYTHON_INLINE (line 22446) | static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) { function CYTHON_INLINE (line 22680) | static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) { function __Pyx_check_binary_version (line 23110) | static int __Pyx_check_binary_version(void) { function __Pyx_InitStrings (line 23126) | static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) { function CYTHON_INLINE (line 23158) | static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_... function CYTHON_INLINE (line 23161) | static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) { function CYTHON_INLINE (line 23188) | static CYTHON_INLINE const char* __Pyx_PyUnicode_AsStringAndSize(PyObjec... function CYTHON_INLINE (line 23230) | static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) { function CYTHON_INLINE (line 23235) | static CYTHON_INLINE int __Pyx_PyObject_IsTrueAndDecref(PyObject* x) { function PyObject (line 23242) | static PyObject* __Pyx_PyNumber_IntOrLongWrongResultType(PyObject* resul... function CYTHON_INLINE (line 23311) | static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) { function CYTHON_INLINE (line 23373) | static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject* o) { function CYTHON_INLINE (line 23390) | static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b) { function CYTHON_INLINE (line 23393) | static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) { FILE: TTS/tts/utils/speakers.py class SpeakerManager (line 14) | class SpeakerManager(EmbeddingManager): method __init__ (line 54) | def __init__( method num_speakers (line 75) | def num_speakers(self): method speaker_names (line 79) | def speaker_names(self): method get_speakers (line 82) | def get_speakers(self) -> List: method init_from_config (line 86) | def init_from_config(config: "Coqpit", samples: Union[List[List], List... function _set_file_path (line 119) | def _set_file_path(path): function load_speaker_mapping (line 132) | def load_speaker_mapping(out_path): function save_speaker_mapping (line 142) | def save_speaker_mapping(out_path, speaker_mapping): function get_speaker_manager (line 150) | def get_speaker_manager(c: Coqpit, data: List = None, restore_path: str ... function get_speaker_balancer_weights (line 213) | def get_speaker_balancer_weights(items: list): FILE: TTS/tts/utils/ssim.py function _reduce (line 10) | def _reduce(x: torch.Tensor, reduction: str = "mean") -> torch.Tensor: function _validate_input (line 26) | def _validate_input( function gaussian_filter (line 69) | def gaussian_filter(kernel_size: int, sigma: float) -> torch.Tensor: function ssim (line 87) | def ssim( class SSIMLoss (line 155) | class SSIMLoss(_Loss): method __init__ (line 212) | def __init__( method forward (line 239) | def forward(self, x: torch.Tensor, y: torch.Tensor) -> torch.Tensor: function _ssim_per_channel (line 266) | def _ssim_per_channel( function _ssim_per_channel_complex (line 317) | def _ssim_per_channel_complex( FILE: TTS/tts/utils/synthesis.py function numpy_to_torch (line 8) | def numpy_to_torch(np_array, dtype, cuda=False): function compute_style_mel (line 17) | def compute_style_mel(style_wav, ap, cuda=False): function run_model_torch (line 24) | def run_model_torch( function trim_silence (line 64) | def trim_silence(wav, ap): function inv_spectrogram (line 68) | def inv_spectrogram(postnet_output, ap, CONFIG): function id_to_torch (line 76) | def id_to_torch(aux_id, cuda=False): function embedding_to_torch (line 85) | def embedding_to_torch(d_vector, cuda=False): function apply_griffin_lim (line 96) | def apply_griffin_lim(inputs, input_lens, CONFIG, ap): function synthesis (line 113) | def synthesis( function transfer_voice (line 247) | def transfer_voice( FILE: TTS/tts/utils/text/characters.py function parse_symbols (line 7) | def parse_symbols(): class BaseVocabulary (line 38) | class BaseVocabulary: method __init__ (line 47) | def __init__(self, vocab: Dict, pad: str = None, blank: str = None, bo... method pad_id (line 55) | def pad_id(self) -> int: method blank_id (line 61) | def blank_id(self) -> int: method vocab (line 67) | def vocab(self): method vocab (line 72) | def vocab(self, vocab): method init_from_config (line 81) | def init_from_config(config, **kwargs): method num_chars (line 97) | def num_chars(self): method char_to_id (line 101) | def char_to_id(self, char: str) -> int: method id_to_char (line 108) | def id_to_char(self, idx: int) -> str: class BaseCharacters (line 113) | class BaseCharacters: method __init__ (line 148) | def __init__( method pad_id (line 170) | def pad_id(self) -> int: method blank_id (line 174) | def blank_id(self) -> int: method characters (line 178) | def characters(self): method characters (line 182) | def characters(self, characters): method punctuations (line 187) | def punctuations(self): method punctuations (line 191) | def punctuations(self, punctuations): method pad (line 196) | def pad(self): method pad (line 200) | def pad(self, pad): method eos (line 205) | def eos(self): method eos (line 209) | def eos(self, eos): method bos (line 214) | def bos(self): method bos (line 218) | def bos(self, bos): method blank (line 223) | def blank(self): method blank (line 227) | def blank(self, blank): method vocab (line 232) | def vocab(self): method vocab (line 236) | def vocab(self, vocab): method num_chars (line 244) | def num_chars(self): method _create_vocab (line 247) | def _create_vocab(self): method char_to_id (line 265) | def char_to_id(self, char: str) -> int: method id_to_char (line 271) | def id_to_char(self, idx: int) -> str: method print_log (line 274) | def print_log(self, level: int = 0): method init_from_config (line 289) | def init_from_config(config: "Coqpit"): # pylint: disable=unused-argu... method to_config (line 302) | def to_config(self) -> "CharactersConfig": class IPAPhonemes (line 315) | class IPAPhonemes(BaseCharacters): method __init__ (line 347) | def __init__( method init_from_config (line 361) | def init_from_config(config: "Coqpit"): class Graphemes (line 393) | class Graphemes(BaseCharacters): method __init__ (line 422) | def __init__( method init_from_config (line 436) | def init_from_config(config: "Coqpit"): FILE: TTS/tts/utils/text/chinese_mandarin/numbers.py function _num2chinese (line 12) | def _num2chinese(num: str, big=False, simp=True, o=False, twoalt=False) ... function _number_replace (line 104) | def _number_replace(match) -> str: function replace_numbers_to_characters_in_text (line 117) | def replace_numbers_to_characters_in_text(text: str) -> str: FILE: TTS/tts/utils/text/chinese_mandarin/phonemizer.py function _chinese_character_to_pinyin (line 9) | def _chinese_character_to_pinyin(text: str) -> List[str]: function _chinese_pinyin_to_phoneme (line 15) | def _chinese_pinyin_to_phoneme(pinyin: str) -> str: function chinese_text_to_phonemes (line 22) | def chinese_text_to_phonemes(text: str, seperator: str = "|") -> str: FILE: TTS/tts/utils/text/cleaners.py function expand_abbreviations (line 19) | def expand_abbreviations(text, lang="en"): function lowercase (line 29) | def lowercase(text): function collapse_whitespace (line 33) | def collapse_whitespace(text): function convert_to_ascii (line 37) | def convert_to_ascii(text): function remove_aux_symbols (line 41) | def remove_aux_symbols(text): function replace_symbols (line 46) | def replace_symbols(text, lang="en"): function basic_cleaners (line 79) | def basic_cleaners(text): function transliteration_cleaners (line 86) | def transliteration_cleaners(text): function basic_german_cleaners (line 94) | def basic_german_cleaners(text): function basic_turkish_cleaners (line 102) | def basic_turkish_cleaners(text): function english_cleaners (line 110) | def english_cleaners(text): function phoneme_cleaners (line 123) | def phoneme_cleaners(text): function french_cleaners (line 133) | def french_cleaners(text): function portuguese_cleaners (line 143) | def portuguese_cleaners(text): function chinese_mandarin_cleaners (line 153) | def chinese_mandarin_cleaners(text: str) -> str: function multilingual_cleaners (line 159) | def multilingual_cleaners(text): FILE: TTS/tts/utils/text/cmudict.py class CMUDict (line 93) | class CMUDict: method __init__ (line 96) | def __init__(self, file_or_path, keep_ambiguous=True): method __len__ (line 106) | def __len__(self): method lookup (line 109) | def lookup(self, word): method get_arpabet (line 114) | def get_arpabet(word, cmudict, punctuation_symbols): function _parse_cmudict (line 131) | def _parse_cmudict(file): function _get_pronunciation (line 146) | def _get_pronunciation(s): FILE: TTS/tts/utils/text/english/number_norm.py function _remove_commas (line 16) | def _remove_commas(m): function _expand_decimal_point (line 20) | def _expand_decimal_point(m): function __expand_currency (line 24) | def __expand_currency(value: str, inflection: Dict[float, str]) -> str: function _expand_currency (line 42) | def _expand_currency(m: "re.Match") -> str: function _expand_ordinal (line 74) | def _expand_ordinal(m): function _expand_number (line 78) | def _expand_number(m): function normalize_numbers (line 91) | def normalize_numbers(text): FILE: TTS/tts/utils/text/english/time_norm.py function _expand_num (line 18) | def _expand_num(n: int) -> str: function _expand_time_english (line 22) | def _expand_time_english(match: "re.Match") -> str: function expand_time_english (line 46) | def expand_time_english(text: str) -> str: FILE: TTS/tts/utils/text/japanese/phonemizer.py function _makerulemap (line 310) | def _makerulemap(): function kata2phoneme (line 318) | def kata2phoneme(text: str) -> str: function hira2kata (line 345) | def hira2kata(text: str) -> str: function text2kata (line 355) | def text2kata(text: str) -> str: function japanese_convert_numbers_to_words (line 449) | def japanese_convert_numbers_to_words(text: str) -> str: function japanese_convert_alpha_symbols_to_words (line 456) | def japanese_convert_alpha_symbols_to_words(text: str) -> str: function japanese_text_to_phonemes (line 460) | def japanese_text_to_phonemes(text: str) -> str: FILE: TTS/tts/utils/text/korean/korean.py function normalize (line 8) | def normalize(text): function normalize_with_dictionary (line 17) | def normalize_with_dictionary(text, dic): function normalize_english (line 24) | def normalize_english(text): FILE: TTS/tts/utils/text/korean/phonemizer.py function korean_text_to_phonemes (line 8) | def korean_text_to_phonemes(text, character: str = "hangeul") -> str: FILE: TTS/tts/utils/text/phonemizers/__init__.py function get_phonemizer_by_name (line 33) | def get_phonemizer_by_name(name: str, **kwargs) -> BasePhonemizer: FILE: TTS/tts/utils/text/phonemizers/base.py class BasePhonemizer (line 7) | class BasePhonemizer(abc.ABC): method __init__ (line 34) | def __init__(self, language, punctuations=Punctuation.default_puncs(),... method _init_language (line 46) | def _init_language(self, language): method language (line 57) | def language(self): method name (line 63) | def name(): method is_available (line 69) | def is_available(cls): method version (line 75) | def version(cls): method supported_languages (line 81) | def supported_languages(): method is_supported_language (line 85) | def is_supported_language(self, language): method _phonemize (line 90) | def _phonemize(self, text, separator): method _phonemize_preprocess (line 93) | def _phonemize_preprocess(self, text) -> Tuple[List[str], List]: method _phonemize_postprocess (line 107) | def _phonemize_postprocess(self, phonemized, punctuations) -> str: method phonemize (line 116) | def phonemize(self, text: str, separator="|", language: str = None) ->... method print_logs (line 137) | def print_logs(self, level: int = 0): FILE: TTS/tts/utils/text/phonemizers/espeak_wrapper.py function is_tool (line 12) | def is_tool(name): function get_espeak_version (line 23) | def get_espeak_version(): function get_espeakng_version (line 30) | def get_espeakng_version(): function _espeak_exe (line 47) | def _espeak_exe(espeak_lib: str, args: List, sync=False) -> List[str]: class ESpeak (line 83) | class ESpeak(BasePhonemizer): method __init__ (line 112) | def __init__(self, language: str, backend=None, punctuations=Punctuati... method backend (line 128) | def backend(self): method backend_version (line 132) | def backend_version(self): method backend (line 136) | def backend(self, backend): method auto_set_espeak_lib (line 142) | def auto_set_espeak_lib(self) -> None: method name (line 153) | def name(): method phonemize_espeak (line 156) | def phonemize_espeak(self, text: str, separator: str = "|", tie=False)... method _phonemize (line 212) | def _phonemize(self, text, separator=None): method supported_languages (line 216) | def supported_languages() -> Dict: method version (line 238) | def version(self) -> str: method is_available (line 251) | def is_available(cls): FILE: TTS/tts/utils/text/phonemizers/gruut_wrapper.py class Gruut (line 14) | class Gruut(BasePhonemizer): method __init__ (line 41) | def __init__( method name (line 54) | def name(): method phonemize_gruut (line 57) | def phonemize_gruut(self, text: str, separator: str = "|", tie=False) ... method _phonemize (line 109) | def _phonemize(self, text, separator): method is_supported_language (line 112) | def is_supported_language(self, language): method supported_languages (line 117) | def supported_languages() -> List: method version (line 125) | def version(self): method is_available (line 134) | def is_available(cls): FILE: TTS/tts/utils/text/phonemizers/ja_jp_phonemizer.py function trans (line 11) | def trans(text): class JA_JP_Phonemizer (line 17) | class JA_JP_Phonemizer(BasePhonemizer): method __init__ (line 33) | def __init__(self, punctuations=_DEF_JA_PUNCS, keep_puncs=True, **kwar... method name (line 37) | def name(): method _phonemize (line 40) | def _phonemize(self, text: str, separator: str = "|") -> str: method phonemize (line 46) | def phonemize(self, text: str, separator="|", language=None) -> str: method supported_languages (line 54) | def supported_languages() -> Dict: method version (line 57) | def version(self) -> str: method is_available (line 60) | def is_available(self) -> bool: FILE: TTS/tts/utils/text/phonemizers/ko_kr_phonemizer.py class KO_KR_Phonemizer (line 9) | class KO_KR_Phonemizer(BasePhonemizer): method __init__ (line 30) | def __init__(self, punctuations=_DEF_KO_PUNCS, keep_puncs=True, **kwar... method name (line 34) | def name(): method _phonemize (line 37) | def _phonemize(self, text: str, separator: str = "", character: str = ... method phonemize (line 43) | def phonemize(self, text: str, separator: str = "", character: str = "... method supported_languages (line 47) | def supported_languages() -> Dict: method version (line 50) | def version(self) -> str: method is_available (line 53) | def is_available(self) -> bool: FILE: TTS/tts/utils/text/phonemizers/multi_phonemizer.py class MultiPhonemizer (line 6) | class MultiPhonemizer: method __init__ (line 19) | def __init__(self, lang_to_phonemizer_name: Dict = {}) -> None: # pyl... method init_phonemizers (line 29) | def init_phonemizers(lang_to_phonemizer_name: Dict) -> Dict: method name (line 36) | def name(): method phonemize (line 39) | def phonemize(self, text, separator="|", language=""): method supported_languages (line 44) | def supported_languages(self) -> List: method print_logs (line 47) | def print_logs(self, level: int = 0): FILE: TTS/tts/utils/text/phonemizers/zh_cn_phonemizer.py class ZH_CN_Phonemizer (line 9) | class ZH_CN_Phonemizer(BasePhonemizer): method __init__ (line 28) | def __init__(self, punctuations=_DEF_ZH_PUNCS, keep_puncs=False, **kwa... method name (line 32) | def name(): method phonemize_zh_cn (line 36) | def phonemize_zh_cn(text: str, separator: str = "|") -> str: method _phonemize (line 40) | def _phonemize(self, text, separator): method supported_languages (line 44) | def supported_languages() -> Dict: method version (line 47) | def version(self) -> str: method is_available (line 50) | def is_available(self) -> bool: FILE: TTS/tts/utils/text/punctuation.py class PuncPosition (line 12) | class PuncPosition(Enum): class Punctuation (line 21) | class Punctuation: method __init__ (line 43) | def __init__(self, puncs: str = _DEF_PUNCS): method default_puncs (line 47) | def default_puncs(): method puncs (line 52) | def puncs(self): method puncs (line 56) | def puncs(self, value): method strip (line 62) | def strip(self, text): method strip_to_restore (line 74) | def strip_to_restore(self, text): method _strip_to_restore (line 88) | def _strip_to_restore(self, text): method restore (line 118) | def restore(cls, text, puncs): method _restore (line 133) | def _restore(cls, text, puncs, num): # pylint: disable=too-many-retur... FILE: TTS/tts/utils/text/tokenizer.py class TTSTokenizer (line 10) | class TTSTokenizer: method __init__ (line 38) | def __init__( method characters (line 56) | def characters(self): method characters (line 60) | def characters(self, new_characters): method encode (line 65) | def encode(self, text: str) -> List[int]: method decode (line 80) | def decode(self, token_ids: List[int]) -> str: method text_to_ids (line 87) | def text_to_ids(self, text: str, language: str = None) -> List[int]: ... method ids_to_text (line 117) | def ids_to_text(self, id_sequence: List[int]) -> str: method pad_with_bos_eos (line 121) | def pad_with_bos_eos(self, char_sequence: List[str]): method intersperse_blank_char (line 125) | def intersperse_blank_char(self, char_sequence: List[str], use_blank_c... method print_logs (line 135) | def print_logs(self, level: int = 0): method init_from_config (line 149) | def init_from_config(config: "Coqpit", characters: "BaseCharacters" = ... FILE: TTS/tts/utils/visual.py function plot_alignment (line 11) | def plot_alignment(alignment, info=None, fig_size=(16, 10), title=None, ... function plot_spectrogram (line 36) | def plot_spectrogram(spectrogram, ap=None, fig_size=(16, 10), output_fig... function plot_pitch (line 53) | def plot_pitch(pitch, spectrogram, ap=None, fig_size=(30, 10), output_fi... function plot_avg_pitch (line 93) | def plot_avg_pitch(pitch, chars, fig_size=(30, 10), output_fig=False): function plot_avg_energy (line 126) | def plot_avg_energy(energy, chars, fig_size=(30, 10), output_fig=False): function visualize (line 159) | def visualize( FILE: TTS/utils/audio/numpy_transforms.py function build_mel_basis (line 13) | def build_mel_basis( function millisec_to_length (line 33) | def millisec_to_length( function _log (line 48) | def _log(x, base): function _exp (line 54) | def _exp(x, base): function amp_to_db (line 60) | def amp_to_db(*, x: np.ndarray = None, gain: float = 1, base: int = 10, ... function db_to_amp (line 76) | def db_to_amp(*, x: np.ndarray = None, gain: float = 1, base: int = 10, ... function preemphasis (line 90) | def preemphasis(*, x: np.ndarray, coef: float = 0.97, **kwargs) -> np.nd... function deemphasis (line 107) | def deemphasis(*, x: np.ndarray = None, coef: float = 0.97, **kwargs) ->... function spec_to_mel (line 114) | def spec_to_mel(*, spec: np.ndarray, mel_basis: np.ndarray = None, **kwa... function mel_to_spec (line 129) | def mel_to_spec(*, mel: np.ndarray = None, mel_basis: np.ndarray = None,... function wav_to_spec (line 136) | def wav_to_spec(*, wav: np.ndarray = None, **kwargs) -> np.ndarray: function wav_to_mel (line 150) | def wav_to_mel(*, wav: np.ndarray = None, mel_basis=None, **kwargs) -> n... function spec_to_wav (line 157) | def spec_to_wav(*, spec: np.ndarray, power: float = 1.5, **kwargs) -> np... function mel_to_wav (line 163) | def mel_to_wav(*, mel: np.ndarray = None, power: float = 1.5, **kwargs) ... function stft (line 171) | def stft( function istft (line 200) | def istft( function griffin_lim (line 220) | def griffin_lim(*, spec: np.ndarray = None, num_iter=60, **kwargs) -> np... function compute_stft_paddings (line 233) | def compute_stft_paddings( function compute_f0 (line 244) | def compute_f0( function compute_energy (line 306) | def compute_energy(y: np.ndarray, **kwargs) -> np.ndarray: function find_endpoint (line 328) | def find_endpoint( function trim_silence (line 359) | def trim_silence( function volume_norm (line 374) | def volume_norm(*, x: np.ndarray = None, coef: float = 0.95, **kwargs) -... function rms_norm (line 387) | def rms_norm(*, wav: np.ndarray = None, db_level: float = -27.0, **kwarg... function rms_volume_norm (line 393) | def rms_volume_norm(*, x: np.ndarray, db_level: float = -27.0, **kwargs)... function load_wav (line 408) | def load_wav(*, filename: str, sample_rate: int = None, resample: bool =... function save_wav (line 430) | def save_wav(*, wav: np.ndarray, path: str, sample_rate: int = None, **k... function mulaw_encode (line 442) | def mulaw_encode(*, wav: np.ndarray, mulaw_qc: int, **kwargs) -> np.ndar... function mulaw_decode (line 451) | def mulaw_decode(*, wav, mulaw_qc: int, **kwargs) -> np.ndarray: function encode_16bits (line 458) | def encode_16bits(*, x: np.ndarray, **kwargs) -> np.ndarray: function quantize (line 462) | def quantize(*, x: np.ndarray, quantize_bits: int, **kwargs) -> np.ndarray: function dequantize (line 475) | def dequantize(*, x, quantize_bits, **kwargs) -> np.ndarray: FILE: TTS/utils/audio/processor.py class AudioProcessor (line 15) | class AudioProcessor(object): method __init__ (line 124) | def __init__( method init_from_config (line 229) | def init_from_config(config: "Coqpit", verbose=True): method _build_mel_basis (line 235) | def _build_mel_basis( method _stft_parameters (line 249) | def _stft_parameters( method normalize (line 264) | def normalize(self, S: np.ndarray) -> np.ndarray: method denormalize (line 305) | def denormalize(self, S: np.ndarray) -> np.ndarray: method load_stats (line 344) | def load_stats(self, stats_path: str) -> Tuple[np.array, np.array, np.... method setup_scaler (line 372) | def setup_scaler( method _amp_to_db (line 390) | def _amp_to_db(self, x: np.ndarray) -> np.ndarray: method _db_to_amp (line 402) | def _db_to_amp(self, x: np.ndarray) -> np.ndarray: method apply_preemphasis (line 414) | def apply_preemphasis(self, x: np.ndarray) -> np.ndarray: method apply_inv_preemphasis (line 430) | def apply_inv_preemphasis(self, x: np.ndarray) -> np.ndarray: method _linear_to_mel (line 437) | def _linear_to_mel(self, spectrogram: np.ndarray) -> np.ndarray: method _mel_to_linear (line 448) | def _mel_to_linear(self, mel_spec: np.ndarray) -> np.ndarray: method spectrogram (line 452) | def spectrogram(self, y: np.ndarray) -> np.ndarray: method melspectrogram (line 471) | def melspectrogram(self, y: np.ndarray) -> np.ndarray: method inv_spectrogram (line 483) | def inv_spectrogram(self, spectrogram: np.ndarray) -> np.ndarray: method inv_melspectrogram (line 492) | def inv_melspectrogram(self, mel_spectrogram: np.ndarray) -> np.ndarray: method out_linear_to_mel (line 501) | def out_linear_to_mel(self, linear_spec: np.ndarray) -> np.ndarray: method _stft (line 518) | def _stft(self, y: np.ndarray) -> np.ndarray: method _istft (line 537) | def _istft(self, y: np.ndarray) -> np.ndarray: method _griffin_lim (line 541) | def _griffin_lim(self, S): method compute_stft_paddings (line 553) | def compute_stft_paddings(self, x, pad_sides=1): method compute_f0 (line 562) | def compute_f0(self, x: np.ndarray) -> np.ndarray: method find_endpoint (line 600) | def find_endpoint(self, wav: np.ndarray, min_silence_sec=0.8) -> int: method trim_silence (line 619) | def trim_silence(self, wav): method sound_norm (line 628) | def sound_norm(x: np.ndarray) -> np.ndarray: method _rms_norm (line 640) | def _rms_norm(wav, db_level=-27): method rms_volume_norm (line 645) | def rms_volume_norm(self, x: np.ndarray, db_level: float = None) -> np... method load_wav (line 661) | def load_wav(self, filename: str, sr: int = None) -> np.ndarray: method save_wav (line 693) | def save_wav(self, wav: np.ndarray, path: str, sr: int = None) -> None: method get_duration (line 708) | def get_duration(self, filename: str) -> float: method mulaw_encode (line 717) | def mulaw_encode(wav: np.ndarray, qc: int) -> np.ndarray: method mulaw_decode (line 728) | def mulaw_decode(wav, qc): method encode_16bits (line 735) | def encode_16bits(x): method quantize (line 739) | def quantize(x: np.ndarray, bits: int) -> np.ndarray: method dequantize (line 752) | def dequantize(x, bits): function _log (line 757) | def _log(x, base): function _exp (line 763) | def _exp(x, base): FILE: TTS/utils/audio/torch_transforms.py class TorchSTFT (line 6) | class TorchSTFT(nn.Module): # pylint: disable=abstract-method method __init__ (line 64) | def __init__( method __call__ (line 102) | def __call__(self, x): method _build_mel_basis (line 145) | def _build_mel_basis(self): method _amp_to_db (line 158) | def _amp_to_db(x, spec_gain=1.0): method _db_to_amp (line 162) | def _db_to_amp(x, spec_gain=1.0): FILE: TTS/utils/callbacks.py class TrainerCallback (line 1) | class TrainerCallback: method on_init_start (line 3) | def on_init_start(trainer) -> None: method on_init_end (line 18) | def on_init_end(trainer) -> None: method on_epoch_start (line 33) | def on_epoch_start(trainer) -> None: method on_epoch_end (line 48) | def on_epoch_end(trainer) -> None: method on_train_step_start (line 63) | def on_train_step_start(trainer) -> None: method on_train_step_end (line 78) | def on_train_step_end(trainer) -> None: method on_keyboard_interrupt (line 93) | def on_keyboard_interrupt(trainer) -> None: FILE: TTS/utils/capacitron_optimizer.py class CapacitronOptimizer (line 6) | class CapacitronOptimizer: method __init__ (line 9) | def __init__(self, config: dict, model_params: Generator) -> None: method first_step (line 31) | def first_step(self): method step (line 36) | def step(self): method zero_grad (line 41) | def zero_grad(self, set_to_none=False): method load_state_dict (line 45) | def load_state_dict(self, state_dict): method state_dict (line 49) | def state_dict(self): method split_model_parameters (line 53) | def split_model_parameters(model_params: Generator) -> list: method extract_optimizer_parameters (line 65) | def extract_optimizer_parameters(params: dict) -> dict: FILE: TTS/utils/distribute.py function reduce_tensor (line 6) | def reduce_tensor(tensor, num_gpus): function init_distributed (line 13) | def init_distributed(rank, num_gpus, group_name, dist_backend, dist_url): FILE: TTS/utils/download.py function stream_url (line 16) | def stream_url( function download_url (line 56) | def download_url( function validate_file (line 109) | def validate_file(file_obj: Any, hash_value: str, hash_type: str = "sha2... function extract_archive (line 138) | def extract_archive(from_path: str, to_path: Optional[str] = None, overw... function download_kaggle_dataset (line 188) | def download_kaggle_dataset(dataset_path: str, dataset_name: str, output... FILE: TTS/utils/downloaders.py function download_ljspeech (line 7) | def download_ljspeech(path: str): function download_vctk (line 22) | def download_vctk(path: str, use_kaggle: Optional[bool] = False): function download_tweb (line 42) | def download_tweb(path: str): function download_libri_tts (line 51) | def download_libri_tts(path: str, subset: Optional[str] = "all"): function download_thorsten_de (line 90) | def download_thorsten_de(path: str): function download_mailabs (line 105) | def download_mailabs(path: str, language: str = "english"): FILE: TTS/utils/generic_utils.py function to_cuda (line 15) | def to_cuda(x: torch.Tensor) -> torch.Tensor: function get_cuda (line 25) | def get_cuda(): function get_git_branch (line 31) | def get_git_branch(): function get_commit_hash (line 43) | def get_commit_hash(): function get_experiment_folder_path (line 59) | def get_experiment_folder_path(root_path, model_name): function remove_experiment_folder (line 67) | def remove_experiment_folder(experiment_path): function count_parameters (line 79) | def count_parameters(model): function to_camel (line 84) | def to_camel(text): function find_module (line 92) | def find_module(module_path: str, module_name: str) -> object: function import_class (line 99) | def import_class(module_path: str) -> object: function get_import_path (line 114) | def get_import_path(obj: object) -> str: function get_user_data_dir (line 126) | def get_user_data_dir(appname): function set_init_dict (line 142) | def set_init_dict(model_dict, checkpoint_state, c): function format_aux_input (line 161) | def format_aux_input(def_args: Dict, kwargs: Dict) -> Dict: class KeepAverage (line 178) | class KeepAverage: method __init__ (line 179) | def __init__(self): method __getitem__ (line 183) | def __getitem__(self, key): method items (line 186) | def items(self): method add_value (line 189) | def add_value(self, name, init_val=0, init_iter=0): method update_value (line 193) | def update_value(self, name, value, weighted_avg=False): method add_values (line 207) | def add_values(self, name_dict): method update_values (line 211) | def update_values(self, value_dict): FILE: TTS/utils/io.py class RenamingUnpickler (line 15) | class RenamingUnpickler(pickle_tts.Unpickler): method find_class (line 18) | def find_class(self, module, name): class AttrDict (line 22) | class AttrDict(dict): method __init__ (line 26) | def __init__(self, *args, **kwargs): function copy_model_files (line 31) | def copy_model_files(config: Coqpit, out_path, new_fields=None): function load_fsspec (line 59) | def load_fsspec( function load_checkpoint (line 89) | def load_checkpoint( function save_fsspec (line 105) | def save_fsspec(state: Any, path: str, **kwargs): function save_model (line 117) | def save_model(config, model, optimizer, scaler, current_step, epoch, ou... function save_checkpoint (line 150) | def save_checkpoint( function save_best_model (line 175) | def save_best_model( FILE: TTS/utils/manage.py class ModelManager (line 26) | class ModelManager(object): method __init__ (line 41) | def __init__(self, models_file=None, output_prefix=None, progress_bar=... method read_models_file (line 57) | def read_models_file(self, file_path): method _list_models (line 66) | def _list_models(self, model_type, model_count=0): method _list_for_model_type (line 84) | def _list_for_model_type(self, model_type): method list_models (line 91) | def list_models(self): method model_info_by_idx (line 99) | def model_info_by_idx(self, model_query): method model_info_by_full_name (line 140) | def model_info_by_full_name(self, model_query_name): method list_tts_models (line 174) | def list_tts_models(self): method list_vocoder_models (line 181) | def list_vocoder_models(self): method list_vc_models (line 188) | def list_vc_models(self): method list_langs (line 195) | def list_langs(self): method list_datasets (line 202) | def list_datasets(self): method print_model_license (line 211) | def print_model_license(model_item: Dict): method download_model (line 226) | def download_model(self, model_name): method _find_files (line 262) | def _find_files(output_path: str) -> Tuple[str, str]: method _find_speaker_encoder (line 285) | def _find_speaker_encoder(output_path: str) -> str: method _update_paths (line 300) | def _update_paths(self, output_path: str, config_path: str) -> None: method _update_path (line 337) | def _update_path(field_name, new_path, config_path): method _download_zip_file (line 365) | def _download_zip_file(file_url, output_folder, progress_bar): method _check_dict_key (line 397) | def _check_dict_key(my_dict, key): FILE: TTS/utils/radam.py class RAdam (line 9) | class RAdam(Optimizer): method __init__ (line 10) | def __init__(self, params, lr=1e-3, betas=(0.9, 0.999), eps=1e-8, weig... method __setstate__ (line 30) | def __setstate__(self, state): # pylint: disable=useless-super-delega... method step (line 33) | def step(self, closure=None): FILE: TTS/utils/samplers.py class SubsetSampler (line 8) | class SubsetSampler(Sampler): method __init__ (line 16) | def __init__(self, indices): method __iter__ (line 20) | def __iter__(self): method __len__ (line 23) | def __len__(self): class PerfectBatchSampler (line 27) | class PerfectBatchSampler(Sampler): method __init__ (line 40) | def __init__( method __iter__ (line 74) | def __iter__(self): method __len__ (line 113) | def __len__(self): function identity (line 118) | def identity(x): class SortedSampler (line 122) | class SortedSampler(Sampler): method __init__ (line 138) | def __init__(self, data, sort_key: Callable = identity): method __iter__ (line 146) | def __iter__(self): method __len__ (line 149) | def __len__(self): class BucketBatchSampler (line 153) | class BucketBatchSampler(BatchSampler): method __init__ (line 173) | def __init__( method __iter__ (line 190) | def __iter__(self): method __len__ (line 198) | def __len__(self): FILE: TTS/utils/synthesizer.py class Synthesizer (line 21) | class Synthesizer(object): method __init__ (line 22) | def __init__( method _get_segmenter (line 98) | def _get_segmenter(lang: str): method _load_vc (line 109) | def _load_vc(self, vc_checkpoint: str, vc_config_path: str, use_cuda: ... method _load_tts (line 129) | def _load_tts(self, tts_checkpoint: str, tts_config_path: str, use_cud... method _set_speaker_encoder_paths_from_tts_config (line 160) | def _set_speaker_encoder_paths_from_tts_config(self): method _load_vocoder (line 168) | def _load_vocoder(self, model_file: str, model_config: str, use_cuda: ... method split_into_sentences (line 188) | def split_into_sentences(self, text) -> List[str]: method save_wav (line 199) | def save_wav(self, wav: List[int], path: str) -> None: method voice_conversion (line 209) | def voice_conversion(self, source_wav: str, target_wav: str) -> List[i... method tts (line 213) | def tts( FILE: TTS/utils/training.py function check_update (line 5) | def check_update(model, grad_clip, ignore_stopnet=False, amp_opt_params=... function gradual_training_scheduler (line 33) | def gradual_training_scheduler(global_step, config): FILE: TTS/utils/vad.py function read_audio (line 6) | def read_audio(path): function resample_wav (line 15) | def resample_wav(wav, sr, new_sr): function map_timestamps_to_new_sr (line 22) | def map_timestamps_to_new_sr(vad_sr, new_sr, timestamps, just_begging_en... function get_vad_model_and_utils (line 38) | def get_vad_model_and_utils(use_cuda=False): function remove_silence (line 47) | def remove_silence( FILE: TTS/vc/configs/shared_configs.py class BaseVCConfig (line 10) | class BaseVCConfig(BaseTrainingConfig): FILE: TTS/vc/models/__init__.py function to_camel (line 6) | def to_camel(text): function setup_model (line 11) | def setup_model(config: "Coqpit", samples: Union[List[List], List[Dict]]... FILE: TTS/vc/models/base_vc.py class BaseVC (line 24) | class BaseVC(BaseTrainerModel): method __init__ (line 32) | def __init__( method _set_model_args (line 46) | def _set_model_args(self, config: Coqpit): method init_multispeaker (line 67) | def init_multispeaker(self, config: Coqpit, data: List = None): method get_aux_input (line 100) | def get_aux_input(self, **kwargs) -> Dict: method get_aux_input_from_test_sentences (line 104) | def get_aux_input_from_test_sentences(self, sentence_info): method format_batch (line 151) | def format_batch(self, batch: Dict) -> Dict: method get_sampler (line 230) | def get_sampler(self, config: Coqpit, dataset: TTSDataset, num_gpus=1): method get_data_loader (line 268) | def get_data_loader( method _get_test_aux_input (line 351) | def _get_test_aux_input( method test_run (line 368) | def test_run(self, assets: Dict) -> Tuple[Dict, Dict]: method on_init_start (line 408) | def on_init_start(self, trainer): FILE: TTS/vc/models/freevc.py class ResidualCouplingBlock (line 25) | class ResidualCouplingBlock(nn.Module): method __init__ (line 26) | def __init__(self, channels, hidden_channels, kernel_size, dilation_ra... method forward (line 51) | def forward(self, x, x_mask, g=None, reverse=False): class Encoder (line 61) | class Encoder(nn.Module): method __init__ (line 62) | def __init__( method forward (line 78) | def forward(self, x, x_lengths, g=None): class Generator (line 88) | class Generator(torch.nn.Module): method __init__ (line 89) | def __init__( method forward (line 132) | def forward(self, x, g=None): method remove_weight_norm (line 153) | def remove_weight_norm(self): class DiscriminatorP (line 161) | class DiscriminatorP(torch.nn.Module): method __init__ (line 162) | def __init__(self, period, kernel_size=5, stride=3, use_spectral_norm=... method forward (line 178) | def forward(self, x): class DiscriminatorS (line 200) | class DiscriminatorS(torch.nn.Module): method __init__ (line 201) | def __init__(self, use_spectral_norm=False): method forward (line 216) | def forward(self, x): class MultiPeriodDiscriminator (line 230) | class MultiPeriodDiscriminator(torch.nn.Module): method __init__ (line 231) | def __init__(self, use_spectral_norm=False): method forward (line 239) | def forward(self, y, y_hat): class SpeakerEncoder (line 255) | class SpeakerEncoder(torch.nn.Module): method __init__ (line 256) | def __init__(self, mel_n_channels=80, model_num_layers=3, model_hidden... method forward (line 262) | def forward(self, mels): method compute_partial_slices (line 268) | def compute_partial_slices(self, total_frames, partial_frames, partial... method embed_utterance (line 276) | def embed_utterance(self, mel, partial_frames=128, partial_hop=64): class FreeVCAudioConfig (line 298) | class FreeVCAudioConfig(Coqpit): class FreeVCArgs (line 342) | class FreeVCArgs(Coqpit): class FreeVC (line 427) | class FreeVC(BaseVC): method __init__ (line 455) | def __init__(self, config: Coqpit, speaker_manager: SpeakerManager = N... method device (line 504) | def device(self): method load_pretrained_speaker_encoder (line 507) | def load_pretrained_speaker_encoder(self): method init_multispeaker (line 514) | def init_multispeaker(self, config: Coqpit): method forward (line 528) | def forward( method inference (line 587) | def inference(self, c, g=None, mel=None, c_lengths=None): method extract_wavlm_features (line 610) | def extract_wavlm_features(self, y): method load_audio (line 622) | def load_audio(self, wav): method voice_conversion (line 635) | def voice_conversion(self, src, tgt): method eval_step (line 676) | def eval_step(): method init_from_config (line 680) | def init_from_config(config: "VitsConfig", samples: Union[List[List], ... method load_checkpoint (line 684) | def load_checkpoint(self, config, checkpoint_path, eval=False, strict=... method train_step (line 690) | def train_step(): class FreeVCConfig (line 695) | class FreeVCConfig(BaseVCConfig): method __post_init__ (line 830) | def __post_init__(self): FILE: TTS/vc/modules/freevc/commons.py function init_weights (line 9) | def init_weights(m, mean=0.0, std=0.01): function get_padding (line 15) | def get_padding(kernel_size, dilation=1): function convert_pad_shape (line 19) | def convert_pad_shape(pad_shape): function intersperse (line 25) | def intersperse(lst, item): function kl_divergence (line 31) | def kl_divergence(m_p, logs_p, m_q, logs_q): function rand_gumbel (line 38) | def rand_gumbel(shape): function rand_gumbel_like (line 44) | def rand_gumbel_like(x): function slice_segments (line 49) | def slice_segments(x, ids_str, segment_size=4): function rand_slice_segments (line 58) | def rand_slice_segments(x, x_lengths=None, segment_size=4): function rand_spec_segments (line 68) | def rand_spec_segments(x, x_lengths=None, segment_size=4): function get_timing_signal_1d (line 78) | def get_timing_signal_1d(length, channels, min_timescale=1.0, max_timesc... function add_timing_signal_1d (line 92) | def add_timing_signal_1d(x, min_timescale=1.0, max_timescale=1.0e4): function cat_timing_signal_1d (line 98) | def cat_timing_signal_1d(x, min_timescale=1.0, max_timescale=1.0e4, axis... function subsequent_mask (line 104) | def subsequent_mask(length): function fused_add_tanh_sigmoid_multiply (line 110) | def fused_add_tanh_sigmoid_multiply(input_a, input_b, n_channels): function convert_pad_shape (line 119) | def convert_pad_shape(pad_shape): function shift_1d (line 125) | def shift_1d(x): function sequence_mask (line 130) | def sequence_mask(length, max_length=None): function generate_path (line 137) | def generate_path(duration, mask): function clip_grad_value_ (line 155) | def clip_grad_value_(parameters, clip_value, norm_type=2): FILE: TTS/vc/modules/freevc/mel_processing.py function dynamic_range_compression_torch (line 8) | def dynamic_range_compression_torch(x, C=1, clip_val=1e-5): function dynamic_range_decompression_torch (line 17) | def dynamic_range_decompression_torch(x, C=1): function spectral_normalize_torch (line 26) | def spectral_normalize_torch(magnitudes): function spectral_de_normalize_torch (line 31) | def spectral_de_normalize_torch(magnitudes): function spectrogram_torch (line 40) | def spectrogram_torch(y, n_fft, sampling_rate, hop_size, win_size, cente... function spec_to_mel_torch (line 74) | def spec_to_mel_torch(spec, n_fft, num_mels, sampling_rate, fmin, fmax): function mel_spectrogram_torch (line 86) | def mel_spectrogram_torch(y, n_fft, num_mels, sampling_rate, hop_size, w... FILE: TTS/vc/modules/freevc/modules.py class LayerNorm (line 18) | class LayerNorm(nn.Module): method __init__ (line 19) | def __init__(self, channels, eps=1e-5): method forward (line 27) | def forward(self, x): class ConvReluNorm (line 33) | class ConvReluNorm(nn.Module): method __init__ (line 34) | def __init__(self, in_channels, hidden_channels, out_channels, kernel_... method forward (line 56) | def forward(self, x, x_mask): class DDSConv (line 66) | class DDSConv(nn.Module): method __init__ (line 71) | def __init__(self, channels, kernel_size, n_layers, p_dropout=0.0): method forward (line 93) | def forward(self, x, x_mask, g=None): class WN (line 108) | class WN(torch.nn.Module): method __init__ (line 109) | def __init__(self, hidden_channels, kernel_size, dilation_rate, n_laye... method forward (line 146) | def forward(self, x, x_mask, g=None, **kwargs): method remove_weight_norm (line 173) | def remove_weight_norm(self): class ResBlock1 (line 182) | class ResBlock1(torch.nn.Module): method __init__ (line 183) | def __init__(self, channels, kernel_size=3, dilation=(1, 3, 5)): method forward (line 236) | def forward(self, x, x_mask=None): method remove_weight_norm (line 251) | def remove_weight_norm(self): class ResBlock2 (line 258) | class ResBlock2(torch.nn.Module): method __init__ (line 259) | def __init__(self, channels, kernel_size=3, dilation=(1, 3)): method forward (line 287) | def forward(self, x, x_mask=None): method remove_weight_norm (line 298) | def remove_weight_norm(self): class Log (line 303) | class Log(nn.Module): method forward (line 304) | def forward(self, x, x_mask, reverse=False, **kwargs): class Flip (line 314) | class Flip(nn.Module): method forward (line 315) | def forward(self, x, *args, reverse=False, **kwargs): class ElementwiseAffine (line 324) | class ElementwiseAffine(nn.Module): method __init__ (line 325) | def __init__(self, channels): method forward (line 331) | def forward(self, x, x_mask, reverse=False, **kwargs): class ResidualCouplingLayer (line 342) | class ResidualCouplingLayer(nn.Module): method __init__ (line 343) | def __init__( method forward (line 372) | def forward(self, x, x_mask, g=None, reverse=False): FILE: TTS/vc/modules/freevc/speaker_encoder/audio.py function preprocess_wav (line 15) | def preprocess_wav(fpath_or_wav: Union[str, Path, np.ndarray], source_sr... function wav_to_mel_spectrogram (line 44) | def wav_to_mel_spectrogram(wav): function normalize_volume (line 59) | def normalize_volume(wav, target_dBFS, increase_only=False, decrease_onl... FILE: TTS/vc/modules/freevc/speaker_encoder/speaker_encoder.py class SpeakerEncoder (line 14) | class SpeakerEncoder(nn.Module): method __init__ (line 15) | def __init__(self, weights_fpath, device: Union[str, torch.device] = N... method forward (line 50) | def forward(self, mels: torch.FloatTensor): method compute_partial_slices (line 65) | def compute_partial_slices(n_samples: int, rate, min_coverage): method embed_utterance (line 118) | def embed_utterance(self, wav: np.ndarray, return_partials=False, rate... method embed_speaker (line 165) | def embed_speaker(self, wavs: List[np.ndarray], **kwargs): FILE: TTS/vc/modules/freevc/wavlm/__init__.py function get_wavlm (line 12) | def get_wavlm(device="cpu"): FILE: TTS/vc/modules/freevc/wavlm/modules.py class TransposeLast (line 20) | class TransposeLast(nn.Module): method __init__ (line 21) | def __init__(self, deconstruct_idx=None): method forward (line 25) | def forward(self, x): class Fp32LayerNorm (line 31) | class Fp32LayerNorm(nn.LayerNorm): method __init__ (line 32) | def __init__(self, *args, **kwargs): method forward (line 35) | def forward(self, input): class Fp32GroupNorm (line 46) | class Fp32GroupNorm(nn.GroupNorm): method __init__ (line 47) | def __init__(self, *args, **kwargs): method forward (line 50) | def forward(self, input): class GradMultiply (line 61) | class GradMultiply(torch.autograd.Function): method forward (line 63) | def forward(ctx, x, scale): method backward (line 69) | def backward(ctx, grad): class SamePad (line 73) | class SamePad(nn.Module): method __init__ (line 74) | def __init__(self, kernel_size, causal=False): method forward (line 81) | def forward(self, x): class Swish (line 87) | class Swish(nn.Module): method __init__ (line 90) | def __init__(self): method forward (line 95) | def forward(self, x): class GLU_Linear (line 99) | class GLU_Linear(nn.Module): method __init__ (line 100) | def __init__(self, input_dim, output_dim, glu_type="sigmoid", bias_in_... method forward (line 120) | def forward(self, x): function gelu_accurate (line 132) | def gelu_accurate(x): function gelu (line 138) | def gelu(x: torch.Tensor) -> torch.Tensor: function get_activation_fn (line 142) | def get_activation_fn(activation: str): function init_bert_params (line 164) | def init_bert_params(module): function quant_noise (line 197) | def quant_noise(module, p, block_size): class MultiheadAttention (line 283) | class MultiheadAttention(nn.Module): method __init__ (line 289) | def __init__( method reset_parameters (line 365) | def reset_parameters(self): method _relative_positions_bucket (line 387) | def _relative_positions_bucket(self, relative_positions, bidirectional... method compute_bias (line 414) | def compute_bias(self, query_length, key_length): method forward (line 424) | def forward( method _append_prev_key_padding_mask (line 713) | def _append_prev_key_padding_mask( method _get_input_buffer (line 750) | def _get_input_buffer( method _set_input_buffer (line 760) | def _set_input_buffer( method apply_sparse_mask (line 767) | def apply_sparse_mask(self, attn_weights, tgt_len: int, src_len: int, ... FILE: TTS/vc/modules/freevc/wavlm/wavlm.py function compute_mask_indices (line 35) | def compute_mask_indices( class WavLMConfig (line 156) | class WavLMConfig: method __init__ (line 157) | def __init__(self, cfg=None): method update (line 214) | def update(self, cfg: dict): class WavLM (line 218) | class WavLM(nn.Module): method __init__ (line 219) | def __init__( method apply_mask (line 265) | def apply_mask(self, x, padding_mask): method forward_padding_mask (line 300) | def forward_padding_mask( method extract_features (line 313) | def extract_features( class ConvFeatureExtractionModel (line 363) | class ConvFeatureExtractionModel(nn.Module): method __init__ (line 364) | def __init__( method forward (line 460) | def forward(self, x, mask=None): class TransformerEncoder (line 481) | class TransformerEncoder(nn.Module): method __init__ (line 482) | def __init__(self, args): method forward (line 538) | def forward(self, x, padding_mask=None, streaming_mask=None, layer=None): method extract_features (line 546) | def extract_features(self, x, padding_mask=None, streaming_mask=None, ... class TransformerSentenceEncoderLayer (line 593) | class TransformerSentenceEncoderLayer(nn.Module): method __init__ (line 599) | def __init__( method forward (line 654) | def forward( FILE: TTS/vocoder/configs/fullband_melgan_config.py class FullbandMelganConfig (line 7) | class FullbandMelganConfig(BaseGANVocoderConfig): FILE: TTS/vocoder/configs/hifigan_config.py class HifiganConfig (line 7) | class HifiganConfig(BaseGANVocoderConfig): FILE: TTS/vocoder/configs/melgan_config.py class MelganConfig (line 7) | class MelganConfig(BaseGANVocoderConfig): FILE: TTS/vocoder/configs/multiband_melgan_config.py class MultibandMelganConfig (line 7) | class MultibandMelganConfig(BaseGANVocoderConfig): FILE: TTS/vocoder/configs/parallel_wavegan_config.py class ParallelWaveganConfig (line 7) | class ParallelWaveganConfig(BaseGANVocoderConfig): FILE: TTS/vocoder/configs/shared_configs.py class BaseVocoderConfig (line 7) | class BaseVocoderConfig(BaseTrainingConfig): class BaseGANVocoderConfig (line 60) | class BaseGANVocoderConfig(BaseVocoderConfig): FILE: TTS/vocoder/configs/univnet_config.py class UnivnetConfig (line 8) | class UnivnetConfig(BaseGANVocoderConfig): method __post_init__ (line 159) | def __post_init__(self): FILE: TTS/vocoder/configs/wavegrad_config.py class WavegradConfig (line 8) | class WavegradConfig(BaseVocoderConfig): FILE: TTS/vocoder/configs/wavernn_config.py class WavernnConfig (line 8) | class WavernnConfig(BaseVocoderConfig): FILE: TTS/vocoder/datasets/__init__.py function setup_dataset (line 13) | def setup_dataset(config: Coqpit, ap: AudioProcessor, is_eval: bool, dat... FILE: TTS/vocoder/datasets/gan_dataset.py class GANDataset (line 11) | class GANDataset(Dataset): method __init__ (line 18) | def __init__( method create_feature_cache (line 59) | def create_feature_cache(self): method find_wav_files (line 65) | def find_wav_files(path): method __len__ (line 68) | def __len__(self): method __getitem__ (line 71) | def __getitem__(self, idx): method _pad_short_samples (line 89) | def _pad_short_samples(self, audio, mel=None): method shuffle_mapping (line 104) | def shuffle_mapping(self): method load_item (line 107) | def load_item(self, idx): FILE: TTS/vocoder/datasets/preprocess.py function preprocess_wav_files (line 12) | def preprocess_wav_files(out_path: str, config: Coqpit, ap: AudioProcess... function find_wav_files (line 36) | def find_wav_files(data_path, file_ext="wav"): function find_feat_files (line 41) | def find_feat_files(data_path): function load_wav_data (line 46) | def load_wav_data(data_path, eval_split_size, file_ext="wav"): function load_wav_feat_data (line 54) | def load_wav_feat_data(data_path, feat_path, eval_split_size): FILE: TTS/vocoder/datasets/wavegrad_dataset.py class WaveGradDataset (line 12) | class WaveGradDataset(Dataset): method __init__ (line 19) | def __init__( method create_feature_cache (line 54) | def create_feature_cache(self): method find_wav_files (line 60) | def find_wav_files(path): method __len__ (line 63) | def __len__(self): method __getitem__ (line 66) | def __getitem__(self, idx): method load_test_samples (line 70) | def load_test_samples(self, num_samples: int) -> List[Tuple]: method load_item (line 92) | def load_item(self, idx): method collate_full_clips (line 136) | def collate_full_clips(batch): FILE: TTS/vocoder/datasets/wavernn_dataset.py class WaveRNNDataset (line 6) | class WaveRNNDataset(Dataset): method __init__ (line 12) | def __init__( method __len__ (line 31) | def __len__(self): method __getitem__ (line 34) | def __getitem__(self, index): method load_test_samples (line 38) | def load_test_samples(self, num_samples): method load_item (line 48) | def load_item(self, index): method collate (line 92) | def collate(self, batch): FILE: TTS/vocoder/layers/hifigan.py class ResStack (line 5) | class ResStack(nn.Module): method __init__ (line 6) | def __init__(self, kernel, channel, padding, dilations=[1, 3, 5]): method forward (line 22) | def forward(self, x): method remove_weight_norm (line 27) | def remove_weight_norm(self): class MRF (line 37) | class MRF(nn.Module): method __init__ (line 38) | def __init__(self, kernels, channel, dilations=[1, 3, 5]): # # pylint... method forward (line 44) | def forward(self, x): method remove_weight_norm (line 50) | def remove_weight_norm(self): FILE: TTS/vocoder/layers/losses.py class STFTLoss (line 15) | class STFTLoss(nn.Module): method __init__ (line 20) | def __init__(self, n_fft, hop_length, win_length): method forward (line 27) | def forward(self, y_hat, y): class MultiScaleSTFTLoss (line 37) | class MultiScaleSTFTLoss(torch.nn.Module): method __init__ (line 42) | def __init__(self, n_ffts=(1024, 2048, 512), hop_lengths=(120, 240, 50... method forward (line 48) | def forward(self, y_hat, y): class L1SpecLoss (line 61) | class L1SpecLoss(nn.Module): method __init__ (line 64) | def __init__( method forward (line 80) | def forward(self, y_hat, y): class MultiScaleSubbandSTFTLoss (line 88) | class MultiScaleSubbandSTFTLoss(MultiScaleSTFTLoss): method forward (line 93) | def forward(self, y_hat, y): class MSEGLoss (line 99) | class MSEGLoss(nn.Module): method forward (line 103) | def forward(self, score_real): class HingeGLoss (line 108) | class HingeGLoss(nn.Module): method forward (line 112) | def forward(self, score_real): class MSEDLoss (line 123) | class MSEDLoss(nn.Module): method __init__ (line 126) | def __init__( method forward (line 133) | def forward(self, score_fake, score_real): class HingeDLoss (line 140) | class HingeDLoss(nn.Module): method forward (line 144) | def forward(self, score_fake, score_real): class MelganFeatureLoss (line 151) | class MelganFeatureLoss(nn.Module): method __init__ (line 152) | def __init__( method forward (line 159) | def forward(self, fake_feats, real_feats): function _apply_G_adv_loss (line 175) | def _apply_G_adv_loss(scores_fake, loss_func): function _apply_D_loss (line 190) | def _apply_D_loss(scores_fake, scores_real, loss_func): class GeneratorLoss (line 218) | class GeneratorLoss(nn.Module): method __init__ (line 227) | def __init__(self, C): method forward (line 261) | def forward( class DiscriminatorLoss (line 311) | class DiscriminatorLoss(nn.Module): method __init__ (line 314) | def __init__(self, C): method forward (line 328) | def forward(self, scores_fake, scores_real): class WaveRNNLoss (line 354) | class WaveRNNLoss(nn.Module): method __init__ (line 355) | def __init__(self, wave_rnn_mode: Union[str, int]): method forward (line 366) | def forward(self, y_hat, y) -> Dict: FILE: TTS/vocoder/layers/lvc_block.py class KernelPredictor (line 5) | class KernelPredictor(torch.nn.Module): method __init__ (line 8) | def __init__( # pylint: disable=dangerous-default-value method forward (line 66) | def forward(self, c): class LVCBlock (line 86) | class LVCBlock(torch.nn.Module): method __init__ (line 89) | def __init__( method forward (line 136) | def forward(self, x, c): method location_variable_convolution (line 163) | def location_variable_convolution(x, kernel, bias, dilation, hop_size): FILE: TTS/vocoder/layers/melgan.py class ResidualStack (line 5) | class ResidualStack(nn.Module): method __init__ (line 6) | def __init__(self, channels, num_res_blocks, kernel_size): method forward (line 33) | def forward(self, x): method remove_weight_norm (line 38) | def remove_weight_norm(self): FILE: TTS/vocoder/layers/parallel_wavegan.py class ResidualBlock (line 5) | class ResidualBlock(torch.nn.Module): method __init__ (line 8) | def __init__( method forward (line 46) | def forward(self, x, c): FILE: TTS/vocoder/layers/pqmf.py class PQMF (line 9) | class PQMF(torch.nn.Module): method __init__ (line 10) | def __init__(self, N=4, taps=62, cutoff=0.15, beta=9.0): method forward (line 44) | def forward(self, x): method analysis (line 47) | def analysis(self, x): method synthesis (line 50) | def synthesis(self, x): FILE: TTS/vocoder/layers/upsample.py class Stretch2d (line 5) | class Stretch2d(torch.nn.Module): method __init__ (line 6) | def __init__(self, x_scale, y_scale, mode="nearest"): method forward (line 12) | def forward(self, x): class UpsampleNetwork (line 20) | class UpsampleNetwork(torch.nn.Module): method __init__ (line 22) | def __init__( method forward (line 55) | def forward(self, c): class ConvUpsample (line 66) | class ConvUpsample(torch.nn.Module): method __init__ (line 68) | def __init__( method forward (line 95) | def forward(self, c): FILE: TTS/vocoder/layers/wavegrad.py class Conv1d (line 7) | class Conv1d(nn.Conv1d): method __init__ (line 8) | def __init__(self, *args, **kwargs): class PositionalEncoding (line 14) | class PositionalEncoding(nn.Module): method __init__ (line 17) | def __init__(self, n_channels, max_len=10000): method forward (line 24) | def forward(self, x, noise_level): method init_pe_matrix (line 29) | def init_pe_matrix(self, n_channels, max_len, x): class FiLM (line 39) | class FiLM(nn.Module): method __init__ (line 40) | def __init__(self, input_size, output_size): method forward (line 51) | def forward(self, x, noise_scale): method remove_weight_norm (line 58) | def remove_weight_norm(self): method apply_weight_norm (line 62) | def apply_weight_norm(self): function shif_and_scale (line 68) | def shif_and_scale(x, scale, shift): class UBlock (line 73) | class UBlock(nn.Module): method __init__ (line 74) | def __init__(self, input_size, hidden_size, factor, dilation): method forward (line 94) | def forward(self, x, shift, scale): method remove_weight_norm (line 113) | def remove_weight_norm(self): method apply_weight_norm (line 122) | def apply_weight_norm(self): class DBlock (line 132) | class DBlock(nn.Module): method __init__ (line 133) | def __init__(self, input_size, hidden_size, factor): method forward (line 145) | def forward(self, x): method remove_weight_norm (line 155) | def remove_weight_norm(self): method apply_weight_norm (line 161) | def apply_weight_norm(self): FILE: TTS/vocoder/models/__init__.py function to_camel (line 7) | def to_camel(text): function setup_model (line 12) | def setup_model(config: Coqpit): function setup_generator (line 34) | def setup_generator(c): function setup_discriminator (line 97) | def setup_discriminator(c): FILE: TTS/vocoder/models/base_vocoder.py class BaseVocoder (line 8) | class BaseVocoder(BaseTrainerModel): method __init__ (line 23) | def __init__(self, config): method _set_model_args (line 27) | def _set_model_args(self, config: Coqpit): FILE: TTS/vocoder/models/fullband_melgan_generator.py class FullbandMelganGenerator (line 6) | class FullbandMelganGenerator(MelganGenerator): method __init__ (line 7) | def __init__( method inference (line 28) | def inference(self, cond_features): FILE: TTS/vocoder/models/gan.py class GAN (line 21) | class GAN(BaseVocoder): method __init__ (line 22) | def __init__(self, config: Coqpit, ap: AudioProcessor = None): method forward (line 47) | def forward(self, x: torch.Tensor) -> torch.Tensor: method inference (line 58) | def inference(self, x: torch.Tensor) -> torch.Tensor: method train_step (line 68) | def train_step(self, batch: Dict, criterion: Dict, optimizer_idx: int)... method _log (line 188) | def _log(self, name: str, ap: AudioProcessor, batch: Dict, outputs: Di... method train_log (line 207) | def train_log( method eval_step (line 216) | def eval_step(self, batch: Dict, criterion: nn.Module, optimizer_idx: ... method eval_log (line 221) | def eval_log( method load_checkpoint (line 229) | def load_checkpoint( method on_train_step_start (line 254) | def on_train_step_start(self, trainer) -> None: method get_optimizer (line 262) | def get_optimizer(self) -> List: method get_lr (line 278) | def get_lr(self) -> List: method get_scheduler (line 286) | def get_scheduler(self, optimizer) -> List: method format_batch (line 300) | def format_batch(batch: List) -> Dict: method get_data_loader (line 316) | def get_data_loader( # pylint: disable=no-self-use, unused-argument method get_criterion (line 367) | def get_criterion(self): method init_from_config (line 372) | def init_from_config(config: Coqpit, verbose=True) -> "GAN": FILE: TTS/vocoder/models/hifigan_discriminator.py class DiscriminatorP (line 9) | class DiscriminatorP(torch.nn.Module): method __init__ (line 29) | def __init__(self, period, kernel_size=5, stride=3, use_spectral_norm=... method forward (line 45) | def forward(self, x): class MultiPeriodDiscriminator (line 78) | class MultiPeriodDiscriminator(torch.nn.Module): method __init__ (line 84) | def __init__(self, use_spectral_norm=False): method forward (line 96) | def forward(self, x): class DiscriminatorS (line 117) | class DiscriminatorS(torch.nn.Module): method __init__ (line 126) | def __init__(self, use_spectral_norm=False): method forward (line 142) | def forward(self, x): class MultiScaleDiscriminator (line 162) | class MultiScaleDiscriminator(torch.nn.Module): method __init__ (line 167) | def __init__(self): method forward (line 178) | def forward(self, x): class HifiganDiscriminator (line 198) | class HifiganDiscriminator(nn.Module): method __init__ (line 201) | def __init__(self): method forward (line 206) | def forward(self, x): FILE: TTS/vocoder/models/hifigan_generator.py function get_padding (line 13) | def get_padding(k, d): class ResBlock1 (line 17) | class ResBlock1(torch.nn.Module): method __init__ (line 32) | def __init__(self, channels, kernel_size=3, dilation=(1, 3, 5)): method forward (line 83) | def forward(self, x): method remove_weight_norm (line 100) | def remove_weight_norm(self): class ResBlock2 (line 107) | class ResBlock2(torch.nn.Module): method __init__ (line 122) | def __init__(self, channels, kernel_size=3, dilation=(1, 3)): method forward (line 149) | def forward(self, x): method remove_weight_norm (line 156) | def remove_weight_norm(self): class HifiganGenerator (line 161) | class HifiganGenerator(torch.nn.Module): method __init__ (line 162) | def __init__( method forward (line 235) | def forward(self, x, g=None): method inference (line 267) | def inference(self, c): method remove_weight_norm (line 283) | def remove_weight_norm(self): method load_checkpoint (line 292) | def load_checkpoint( FILE: TTS/vocoder/models/melgan_discriminator.py class MelganDiscriminator (line 6) | class MelganDiscriminator(nn.Module): method __init__ (line 7) | def __init__( method forward (line 79) | def forward(self, x): FILE: TTS/vocoder/models/melgan_generator.py class MelganGenerator (line 9) | class MelganGenerator(nn.Module): method __init__ (line 10) | def __init__( method forward (line 71) | def forward(self, c): method inference (line 74) | def inference(self, c): method remove_weight_norm (line 79) | def remove_weight_norm(self): method load_checkpoint (line 87) | def load_checkpoint( FILE: TTS/vocoder/models/melgan_multiscale_discriminator.py class MelganMultiscaleDiscriminator (line 6) | class MelganMultiscaleDiscriminator(nn.Module): method __init__ (line 7) | def __init__( method forward (line 42) | def forward(self, x): FILE: TTS/vocoder/models/multiband_melgan_generator.py class MultibandMelganGenerator (line 7) | class MultibandMelganGenerator(MelganGenerator): method __init__ (line 8) | def __init__( method pqmf_analysis (line 29) | def pqmf_analysis(self, x): method pqmf_synthesis (line 32) | def pqmf_synthesis(self, x): method inference (line 36) | def inference(self, cond_features): FILE: TTS/vocoder/models/parallel_wavegan_discriminator.py class ParallelWaveganDiscriminator (line 9) | class ParallelWaveganDiscriminator(nn.Module): method __init__ (line 17) | def __init__( method forward (line 58) | def forward(self, x): method apply_weight_norm (line 68) | def apply_weight_norm(self): method remove_weight_norm (line 75) | def remove_weight_norm(self): class ResidualParallelWaveganDiscriminator (line 86) | class ResidualParallelWaveganDiscriminator(nn.Module): method __init__ (line 88) | def __init__( method forward (line 153) | def forward(self, x): method apply_weight_norm (line 171) | def apply_weight_norm(self): method remove_weight_norm (line 178) | def remove_weight_norm(self): FILE: TTS/vocoder/models/parallel_wavegan_generator.py class ParallelWaveganGenerator (line 11) | class ParallelWaveganGenerator(torch.nn.Module): method __init__ (line 19) | def __init__( method forward (line 88) | def forward(self, c): method inference (line 120) | def inference(self, c): method remove_weight_norm (line 125) | def remove_weight_norm(self): method apply_weight_norm (line 135) | def apply_weight_norm(self): method _get_receptive_field_size (line 144) | def _get_receptive_field_size(layers, stacks, kernel_size, dilation=la... method receptive_field_size (line 151) | def receptive_field_size(self): method load_checkpoint (line 154) | def load_checkpoint( FILE: TTS/vocoder/models/random_window_discriminator.py class GBlock (line 5) | class GBlock(nn.Module): method __init__ (line 6) | def __init__(self, in_channels, cond_channels, downsample_factor): method forward (line 27) | def forward(self, inputs, conditions): class DBlock (line 36) | class DBlock(nn.Module): method __init__ (line 37) | def __init__(self, in_channels, out_channels, downsample_factor): method forward (line 55) | def forward(self, inputs): class ConditionalDiscriminator (line 63) | class ConditionalDiscriminator(nn.Module): method __init__ (line 64) | def __init__(self, in_channels, cond_channels, downsample_factors=(2, ... method forward (line 95) | def forward(self, inputs, conditions): class UnconditionalDiscriminator (line 107) | class UnconditionalDiscriminator(nn.Module): method __init__ (line 108) | def __init__(self, in_channels, base_channels=64, downsample_factors=(... method forward (line 129) | def forward(self, inputs): class RandomWindowDiscriminator (line 137) | class RandomWindowDiscriminator(nn.Module): method __init__ (line 141) | def __init__( method forward (line 183) | def forward(self, x, c): FILE: TTS/vocoder/models/univnet_discriminator.py class SpecDiscriminator (line 12) | class SpecDiscriminator(nn.Module): method __init__ (line 15) | def __init__(self, fft_size=1024, hop_length=120, win_length=600, use_... method forward (line 34) | def forward(self, y): class MultiResSpecDiscriminator (line 51) | class MultiResSpecDiscriminator(torch.nn.Module): method __init__ (line 52) | def __init__( # pylint: disable=dangerous-default-value method forward (line 64) | def forward(self, x): class UnivnetDiscriminator (line 75) | class UnivnetDiscriminator(nn.Module): method __init__ (line 78) | def __init__(self): method forward (line 83) | def forward(self, x): FILE: TTS/vocoder/models/univnet_generator.py class UnivnetGenerator (line 12) | class UnivnetGenerator(torch.nn.Module): method __init__ (line 13) | def __init__( method forward (line 88) | def forward(self, c): method remove_weight_norm (line 110) | def remove_weight_norm(self): method apply_weight_norm (line 122) | def apply_weight_norm(self): method _get_receptive_field_size (line 133) | def _get_receptive_field_size(layers, stacks, kernel_size, dilation=la... method receptive_field_size (line 140) | def receptive_field_size(self): method inference (line 145) | def inference(self, c): FILE: TTS/vocoder/models/wavegrad.py class WavegradArgs (line 21) | class WavegradArgs(Coqpit): class Wavegrad (line 35) | class Wavegrad(BaseVocoder): method __init__ (line 59) | def __init__(self, config: Coqpit): method forward (line 105) | def forward(self, x, spectrogram, noise_scale): method load_noise_schedule (line 121) | def load_noise_schedule(self, path): method inference (line 126) | def inference(self, x, y_n=None): method compute_y_n (line 146) | def compute_y_n(self, y_0): method compute_noise_level (line 159) | def compute_noise_level(self, beta): method remove_weight_norm (line 177) | def remove_weight_norm(self): method apply_weight_norm (line 203) | def apply_weight_norm(self): method load_checkpoint (line 220) | def load_checkpoint( method train_step (line 244) | def train_step(self, batch: Dict, criterion: Dict) -> Tuple[Dict, Dict]: method train_log (line 259) | def train_log( # pylint: disable=no-self-use method eval_step (line 265) | def eval_step(self, batch: Dict, criterion: nn.Module) -> Tuple[Dict, ... method eval_log (line 268) | def eval_log( # pylint: disable=no-self-use method test (line 273) | def test(self, assets: Dict, test_loader: "DataLoader", outputs=None):... method get_optimizer (line 293) | def get_optimizer(self): method get_scheduler (line 296) | def get_scheduler(self, optimizer): method get_criterion (line 300) | def get_criterion(): method format_batch (line 304) | def format_batch(batch: Dict) -> Dict: method get_data_loader (line 310) | def get_data_loader(self, config: Coqpit, assets: Dict, is_eval: True,... method on_epoch_start (line 337) | def on_epoch_start(self, trainer): # pylint: disable=unused-argument method init_from_config (line 343) | def init_from_config(config: "WavegradConfig"): FILE: TTS/vocoder/models/wavernn.py function stream (line 23) | def stream(string, variables): class ResBlock (line 29) | class ResBlock(nn.Module): method __init__ (line 30) | def __init__(self, dims): method forward (line 37) | def forward(self, x): class MelResNet (line 47) | class MelResNet(nn.Module): method __init__ (line 48) | def __init__(self, num_res_blocks, in_dims, compute_dims, res_out_dims... method forward (line 58) | def forward(self, x): class Stretch2d (line 68) | class Stretch2d(nn.Module): method __init__ (line 69) | def __init__(self, x_scale, y_scale): method forward (line 74) | def forward(self, x): class UpsampleNetwork (line 81) | class UpsampleNetwork(nn.Module): method __init__ (line 82) | def __init__( method forward (line 109) | def forward(self, m): class Upsample (line 124) | class Upsample(nn.Module): method __init__ (line 125) | def __init__(self, scale, pad, num_res_blocks, feat_dims, compute_dims... method forward (line 133) | def forward(self, m): class WavernnArgs (line 148) | class WavernnArgs(Coqpit): class Wavernn (line 192) | class Wavernn(BaseVocoder): method __init__ (line 193) | def __init__(self, config: Coqpit): method forward (line 277) | def forward(self, x, mels): method inference (line 314) | def inference(self, mels, batched=None, target=None, overlap=None): method gen_display (line 414) | def gen_display(self, i, seq_len, b_size, start): method fold_with_overlap (line 422) | def fold_with_overlap(self, x, target, overlap): method get_gru_cell (line 465) | def get_gru_cell(gru): method pad_tensor (line 474) | def pad_tensor(x, pad, side="both"): method xfade_and_unfold (line 487) | def xfade_and_unfold(y, target, overlap): method load_checkpoint (line 542) | def load_checkpoint( method train_step (line 551) | def train_step(self, batch: Dict, criterion: Dict) -> Tuple[Dict, Dict]: method eval_step (line 566) | def eval_step(self, batch: Dict, criterion: Dict) -> Tuple[Dict, Dict]: method test (line 570) | def test( method test_log (line 592) | def test_log( method format_batch (line 600) | def format_batch(batch: Dict) -> Dict: method get_data_loader (line 606) | def get_data_loader( # pylint: disable=no-self-use method get_criterion (line 639) | def get_criterion(self): method init_from_config (line 644) | def init_from_config(config: "WavernnConfig"): FILE: TTS/vocoder/utils/distribution.py function gaussian_loss (line 9) | def gaussian_loss(y_hat, y, log_std_min=-7.0): function sample_from_gaussian (line 19) | def sample_from_gaussian(y_hat, log_std_min=-7.0, scale_factor=1.0): function log_sum_exp (line 33) | def log_sum_exp(x): function discretized_mix_logistic_loss (line 43) | def discretized_mix_logistic_loss(y_hat, y, num_classes=65536, log_scale... function sample_from_discretized_mix_logistic (line 112) | def sample_from_discretized_mix_logistic(y, log_scale_min=None): function to_one_hot (line 150) | def to_one_hot(tensor, n, fill_with=1.0): FILE: TTS/vocoder/utils/generic_utils.py function interpolate_vocoder_input (line 11) | def interpolate_vocoder_input(scale_factor, spec): function plot_results (line 32) | def plot_results(y_hat: torch.tensor, y: torch.tensor, ap: AudioProcesso... FILE: TTS_additional_material/hubconf.py function tts (line 10) | def tts(model_name='tts_models/en/ljspeech/tacotron2-DCA', FILE: demos/demo_da_vinci.py function generate_single_response (line 6) | def generate_single_response(prompt, model_engine="text-davinci-003", te... function get_answer (line 17) | def get_answer(message): FILE: demos/demo_google_search.py function generateGoogleAgent (line 16) | def generateGoogleAgent(): function news (line 61) | def news(keyword): function locate_me (line 76) | def locate_me(p): FILE: tests.py function load_keys (line 22) | def load_keys(): function check_whisper (line 33) | def check_whisper(): function check_openai (line 38) | def check_openai(): function check_virtual_assistant (line 57) | def check_virtual_assistant(): function suppress_stdout (line 81) | def suppress_stdout(): FILE: whisper_edits/__init__.py function _download (line 33) | def _download(url: str, root: str, in_memory: bool) -> Union[bytes, str]: function available_models (line 67) | def available_models() -> List[str]: function load_model (line 72) | def load_model(name: str, device: Optional[Union[str, torch.device]] = N... FILE: whisper_edits/model.py class ModelDimensions (line 16) | class ModelDimensions: class LayerNorm (line 29) | class LayerNorm(nn.LayerNorm): method forward (line 30) | def forward(self, x: Tensor) -> Tensor: class Linear (line 34) | class Linear(nn.Linear): method forward (line 35) | def forward(self, x: Tensor) -> Tensor: class Conv1d (line 41) | class Conv1d(nn.Conv1d): method _conv_forward (line 42) | def _conv_forward(self, x: Tensor, weight: Tensor, bias: Optional[Tens... function sinusoids (line 48) | def sinusoids(length, channels, max_timescale=10000): class MultiHeadAttention (line 57) | class MultiHeadAttention(nn.Module): method __init__ (line 58) | def __init__(self, n_state: int, n_head: int): method forward (line 66) | def forward( method qkv_attention (line 88) | def qkv_attention(self, q: Tensor, k: Tensor, v: Tensor, mask: Optiona... class ResidualAttentionBlock (line 103) | class ResidualAttentionBlock(nn.Module): method __init__ (line 104) | def __init__(self, n_state: int, n_head: int, cross_attention: bool = ... method forward (line 117) | def forward( class AudioEncoder (line 131) | class AudioEncoder(nn.Module): method __init__ (line 132) | def __init__(self, n_mels: int, n_ctx: int, n_state: int, n_head: int,... method forward (line 143) | def forward(self, x: Tensor): class TextDecoder (line 162) | class TextDecoder(nn.Module): method __init__ (line 163) | def __init__(self, n_vocab: int, n_ctx: int, n_state: int, n_head: int... method forward (line 177) | def forward(self, x: Tensor, xa: Tensor, kv_cache: Optional[dict] = No... class Whisper (line 197) | class Whisper(nn.Module): method __init__ (line 198) | def __init__(self, dims: ModelDimensions, name=''): method embed_audio (line 217) | def embed_audio(self, mel: torch.Tensor): method logits (line 220) | def logits(self, tokens: torch.Tensor, audio_features: torch.Tensor): method forward (line 223) | def forward(self, mel: torch.Tensor, tokens: torch.Tensor) -> Dict[str... method device (line 227) | def device(self): method is_multilingual (line 231) | def is_multilingual(self): method install_kv_cache_hooks (line 234) | def install_kv_cache_hooks(self, cache: Optional[dict] = None):