MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / get_output

Method get_output

nlp_class2/recursive_tensorflow.py:171–178  ·  view source on GitHub ↗
(self, tree)

Source from the content-addressed store, hash-verified

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:

Callers 2

fitMethod · 0.95
scoreMethod · 0.95

Calls 1

get_output_recursiveMethod · 0.95

Tested by

no test coverage detected