MCPcopy Create free account
hub / github.com/tensorpack/tensorpack / inputs

Method inputs

tensorpack/train/model_desc.py:54–67  ·  view source on GitHub ↗

A subclass is expected to implement this method. If returning placeholders, the placeholders **have to** be created inside this method. Don't return placeholders created in other places. Also, users should never call this method by yourself. Return

(self)

Source from the content-addressed store, hash-verified

52 return [k.name for k in self.get_input_signature()]
53
54 def inputs(self):
55 """
56 A subclass is expected to implement this method.
57
58 If returning placeholders,
59 the placeholders **have to** be created inside this method.
60 Don't return placeholders created in other places.
61
62 Also, users should never call this method by yourself.
63
64 Returns:
65 list[tf.TensorSpec or tf.placeholder].
66 """
67 raise NotImplementedError()
68
69 def build_graph(self, *args):
70 """

Callers 1

get_input_signatureMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected