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

Method __init__

tensorpack/dataflow/common.py:465–473  ·  view source on GitHub ↗

Args: df_lists (list): a list of DataFlow. All DataFlow must implement ``__len__()``.

(self, df_lists)

Source from the content-addressed store, hash-verified

463 """
464
465 def __init__(self, df_lists):
466 """
467 Args:
468 df_lists (list): a list of DataFlow.
469 All DataFlow must implement ``__len__()``.
470 """
471 super(RandomMixData, self).__init__()
472 self.df_lists = df_lists
473 self.sizes = [len(k) for k in self.df_lists]
474
475 def reset_state(self):
476 super(RandomMixData, self).reset_state()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected