Improve efficiency and refact LabelTensor, codacy correction and fix bug in PinaBatch
This commit is contained in:
committed by
Nicola Demo
parent
ccc5f5a322
commit
ea3d1924e7
@@ -32,11 +32,20 @@ class AbstractProblem(metaclass=ABCMeta):
|
||||
# training all type self.collector.full, which returns true if all
|
||||
# points are ready.
|
||||
self.collector.store_fixed_data()
|
||||
self._batching_dimension = 0
|
||||
|
||||
@property
|
||||
def collector(self):
|
||||
return self._collector
|
||||
|
||||
@property
|
||||
def batching_dimension(self):
|
||||
return self._batching_dimension
|
||||
|
||||
@batching_dimension.setter
|
||||
def batching_dimension(self, value):
|
||||
self._batching_dimension = value
|
||||
|
||||
# TODO this should be erase when dataloading will interface collector,
|
||||
# kept only for back compatibility
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user