add eng mock bert

This commit is contained in:
rcell
2023-07-21 13:34:44 +08:00
parent b601991286
commit abac0cb146
3 changed files with 9 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
import torch
def get_bert_feature(norm_text, word2ph):
return torch.zeros(1024, sum(word2ph))