예제 #1
0
 def __repr__(self):
     return f"DataManager <{self.__class__}>: \n" \
            + indent(f'epoch_batch_num: {len(self)}') + '\n' \
            + indent(f'batch_size: {self.batch_size}') + '\n' \
            + indent(f'shuffle: {self.shuffle}') + '\n' \
            + indent(f'drop_last: {self.drop_last}') + '\n' \
            + indent(f'num_workers: {self.num_workers}') + '\n' \
            + indent(f'pin_memory: {self.pin_memory}') + '\n' \
            + indent(f'is_prefetch: {self.is_prefetch}') + '\n' \
            + indent(f'dataset: {self.dataset}') + '\n' \
            + indent(f'data_auger: {self.data_auger}')
예제 #2
0
 def __repr__(self):
     return f"FigureWall <{self.__class__.__name__}:>" + "\n" + \
             indent(f"#figs: {self.figs.shape[0]}") + "\n" + \
             indent(f"space width: {self.space_width}")
예제 #3
0
 def __repr__(self):
     return f"Prefetcher: {self.__class__.__name__}\n" \
             + indent(f"iter: {self.iter}")
예제 #4
0
 def __repr__(self):
     return f"PolynomialLR <{self.__class__}>: \n" \
            + indent(f"step_size: {self.step_size}") + '\n' \
            + indent(f"max_iter: {self.max_iter}") + '\n' \
            + indent(f"power: {self.power}")
예제 #5
0
 def __repr__(self):
     return f"OneOffTracker <{self.__class__}>: \n" \
         + indent(f"tracker: {self._tracker}\n") \
         + indent(f"tracker.is_in_one_off_block: {self._tracker.is_in_one_off_block}")
예제 #6
0
 def __repr__(self):
     return f"Dataset <{self.__class__.__name__}>:\n" + \
            indent("#data: {}".format(self.__len__()))
예제 #7
0
 def __repr__(self):
     return f"DataAuger <{self.__class__.__name__}>:\n" \
             + indent(f"graph: {self.graph}") + "\n" \
             + indent(f"dataset: {self.dataset}") + "\n" \
             + indent(f"#DataAuger: {len(self)}")