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

Method graph_structure

examples/OpticalFlow/flownet_models.py:152–157  ·  view source on GitHub ↗

Args: inputs: [2, C, H, W]

(self, inputs)

Source from the content-addressed store, hash-verified

150 tf.TensorSpec((1, 2, self.height, self.width), tf.float32, 'gt_flow')]
151
152 def graph_structure(self, inputs):
153 """
154 Args:
155 inputs: [2, C, H, W]
156 """
157 raise NotImplementedError()
158
159 def preprocess(self, left, right):
160 x = tf.concat([left, right], axis=0) # 2CHW

Callers 1

build_graphMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected