示例#1
0
 def __init__(self, **kwargs):
     kwargs['variables'] = create_in(kwargs['name'])
     Notifier.__init__(self)
     UnitsRBMSigmoid.__init__(self)
     UnitsDropOut.__init__(self, **kwargs)
     RBM.__init__(self, **kwargs)
     CostPCD.__init__(self, **kwargs)
     WeightRegular.__init__(self, **kwargs)
     SerializeLayer.__init__(self)
     Monitor.__init__(self)
     self.notify(Notifier.MAKE_FINISHED)
     self.notify(Notifier.COMPILE_FUNCTIONS)
     self.notify(Notifier.REGISTER_PLOTTING)
示例#2
0
 def __init__(self, **kwargs):
     kwargs['variables'] = create_in_trg(kwargs['name'])
     Notifier.__init__(self)
     UnitsNNSigmoid.__init__(self)
     UnitsDropOut.__init__(self, **kwargs)
     NN_BN.__init__(self, **kwargs)
     CostCrossEntropy.__init__(self, **kwargs)
     WeightRegular.__init__(self, **kwargs)
     MaxNormRegular.__init__(self, **kwargs)
     SparsityLee.__init__(self, **kwargs)
     SerializeLayer.__init__(self)
     Monitor.__init__(self)
     self.notify(Notifier.MAKE_FINISHED)
     self.notify(Notifier.COMPILE_FUNCTIONS)
     self.notify(Notifier.REGISTER_PLOTTING)
示例#3
0
 def __init__(self, **kwargs):
     assert kwargs[
         "convolutional"] == True, "Set 'convolutional = True' in configuration."
     kwargs['variables'] = create_in_conv(kwargs['name'])
     Notifier.__init__(self)
     UnitsCRBMSigmoid.__init__(self)
     UnitsDropOut.__init__(self)
     CRBM.__init__(self, **kwargs)
     CostCD.__init__(self, **kwargs)
     MaxNormRegular.__init__(self, **kwargs)
     WeightRegular.__init__(self, **kwargs)
     SerializeLayer.__init__(self)
     Monitor.__init__(self)
     self.notify(Notifier.MAKE_FINISHED)
     self.notify(Notifier.COMPILE_FUNCTIONS)
     self.notify(Notifier.REGISTER_PLOTTING)
示例#4
0
 def __init__(self, **kwargs):
     kwargs['variables'] = create_in(kwargs['name'])
     Notifier.__init__(self)
     UnitsNNLinear.__init__(self)
     UnitsDropOut.__init__(self, **kwargs)
     NonNegative.__init__(self, **kwargs)
     NNAuto.__init__(self, **kwargs)
     CostSquaredError.__init__(self, **kwargs)
     SparsityLee.__init__(self, **kwargs)
     WeightRegular.__init__(self, **kwargs)
     SerializeLayer.__init__(self)
     Monitor.__init__(self)
     Plotter.__init__(self)
     self.notify(Notifier.MAKE_FINISHED)
     self.notify(Notifier.COMPILE_FUNCTIONS)
     self.notify(Notifier.REGISTER_PLOTTING)
示例#5
0
 def __init__(self, **kwargs):
     kwargs['variables'] = create_in(kwargs['name'])
     Notifier.__init__(self)
     UnitsRBMReLU.__init__(self)
     UnitsDropOut.__init__(self, **kwargs)
     SparsityLee.__init__(self, **kwargs)
     RBM.__init__(self, **kwargs)
     CostCD.__init__(self, **kwargs)
     WeightRegular.__init__(self, **kwargs)
     MaxNormRegular.__init__(self, **kwargs)
     SerializeLayer.__init__(self)
     ActivationCrop.__init__(self, **kwargs)
     Monitor.__init__(self)
     self.notify(Notifier.MAKE_FINISHED)
     self.notify(Notifier.COMPILE_FUNCTIONS)
     self.notify(Notifier.REGISTER_PLOTTING)
示例#6
0
 def __init__(self, **kwargs):
     assert kwargs[
         "convolutional"] == True, "Set 'convolutional = True' in configuration."
     kwargs['variables'] = create_in_trg_conv(kwargs['name'])
     Notifier.__init__(self)
     Plotter.__init__(self)
     UnitsCNNLinear.__init__(self, **kwargs)
     UnitsDropOut.__init__(self, **kwargs)
     CNN_BN.__init__(self, **kwargs)
     CostCrossEntropy.__init__(self, **kwargs)
     WeightRegular.__init__(self, **kwargs)
     MaxNormRegular.__init__(self, **kwargs)
     SparsityLeeConv.__init__(self, **kwargs)
     SerializeLayer.__init__(self)
     Monitor.__init__(self)
     self.notify(Notifier.MAKE_FINISHED)
     self.notify(Notifier.COMPILE_FUNCTIONS)
     self.notify(Notifier.REGISTER_PLOTTING)
示例#7
0
 def __init__(self, **kwargs):
     assert kwargs[
         "convolutional"] == True, "Set 'convolutional = True' in configuration."
     kwargs['variables'] = create_in_trg_conv(kwargs['name'])
     Notifier.__init__(self)
     Plotter.__init__(self)
     try:
         UnitsCNNReLU.__init__(self,
                               downsample_out=kwargs['downsample_out'])
     except KeyError:
         raise ValueError("Entry 'downsample_out' in kwargs needed.")
     UnitsDropOut.__init__(self, **kwargs)
     CNN_BN.__init__(self, **kwargs)
     CostCrossEntropy.__init__(self)
     WeightRegular.__init__(self, **kwargs)
     SparsityLeeConv.__init__(self, **kwargs)
     MaxNormRegular.__init__(self, **kwargs)
     SerializeLayer.__init__(self)
     Monitor.__init__(self)
     self.notify(Notifier.MAKE_FINISHED)
     self.notify(Notifier.COMPILE_FUNCTIONS)
     self.notify(Notifier.REGISTER_PLOTTING)