Files
sbv2-v2/text/english_bert_mock.py
2023-07-21 13:34:44 +08:00

6 lines
100 B
Python

import torch
def get_bert_feature(norm_text, word2ph):
return torch.zeros(1024, sum(word2ph))