MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / size

Method size

examples/OpticalFlow/flownet2.py:61–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59 self.flows = glob.glob(os.path.join(self.path_prefix, '*', '*.flo'))
60
61 def size(self):
62 return len(self.flows)
63
64 def __iter__(self):
65 for flow_path in self.flows:

Callers 15

Image2Image.pyFile · 0.45
CycleGAN.pyFile · 0.45
eval_classificationFunction · 0.45
optimizerMethod · 0.45
ptb_producerFunction · 0.45
finalize_configsFunction · 0.45
predict_dataflowFunction · 0.45
train.pyFile · 0.45
proposal_metricsFunction · 0.45
sample_fg_bgFunction · 0.45
fastrcnn_lossesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected