Example #1
0
 def __init__(self, mark=None):
   # Call parent's initializer
   Predictor.__init__(self, mark)
   # Private fields
   self._branch_index = -1
   self._output_list = []
   self._losses = []
   self._train_ops = []
   self._metrics = []
Example #2
0
 def __init__(self, mark=None, **kwargs):
     # Call parent's initializer
     Predictor.__init__(self, mark)
     # Private fields
     self._output_list = []
     self._losses = []
     self._metrics = []
     self._train_ops = []
     self._var_list = []
     self._branch_index = 0
     self._identity_initial = kwargs.get('identity', False)
Example #3
0
 def __init__(self, mark=None):
     # Call parent's initializer
     Predictor.__init__(self, mark)
     # Private attributes
     # .. Options
     self.strict_residual = True
     # .. tframe objects
     self._master = 0
     self._boutputs = []
     self._losses = []
     self._train_steps = []
     self._metrics = []
     self._train_step_summaries = []
     self._validation_summaries = []