(self, output_size, keep_pro)
| 122 | keep_pro: float, the keep probability of the dropout layer |
| 123 | """ |
| 124 | def __init__(self, output_size, keep_pro): |
| 125 | super(Audio2Face, self).__init__() |
| 126 | self.output_size = output_size |
| 127 | self.keep_pro = keep_pro |
| 128 | self.FormantLayer = FormantLayer() |
| 129 | self.ArticulationLayer = ArticulationLayer() |
| 130 | self.OutputLayer = OutputLayer(self.output_size, self.keep_pro) |
| 131 | |
| 132 | def call(self, x): |
| 133 | x = self.FormantLayer(x) |
no test coverage detected