(self)
| 19 | """ |
| 20 | |
| 21 | def __init__(self): |
| 22 | # 词向量有多少维 |
| 23 | self.vec_dim = 0 |
| 24 | # 样本输入的x有多少维 |
| 25 | self.x_dim = 0 |
| 26 | # 当前最大的词编号是多大 |
| 27 | self.max_word_id = -1 |
| 28 | |
| 29 | def get_vec_dim(self): |
| 30 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected