(self, tree)
| 169 | return x |
| 170 | |
| 171 | def get_output(self, tree): |
| 172 | logits = [] |
| 173 | # try: |
| 174 | self.get_output_recursive(tree, logits) |
| 175 | # except Exception as e: |
| 176 | # display_tree(tree) |
| 177 | # raise e |
| 178 | return tf.concat(logits, 0) |
| 179 | |
| 180 | def score(self, trees): |
| 181 | if trees is None: |
no test coverage detected