''' Created on Mar 16, 2014 @author: joe ''' from layerobj import * if __name__ == '__main__': Discrete(1,1,[Distrib(1,3)]).flush(); Discrete(1,1, [SharedLinearity(1,1), MiscPipe(1,"<learnstop>"), MiscPipe(1,"<learnstop>"), ]).flush(); Discrete(1,1, [MiscPipe(1,"<softmax>"), MiscPipe(1), MiscPipe(1), ]).flush(); Discrete(1,1, [SharedLinearity(1,1), MiscPipe(1), MiscPipe(1), ]).flush(); Discrete(1,1, [MiscPipe(1,"<softmax>"), MiscPipe(1), MiscPipe(1), ]).flush(); Discrete(1,1, [MiscPipe(1,"<sigmoid>"), MiscPipe(1), MiscPipe(1), ]).flush(); Discrete(1,1, [Distrib(1,2), MiscPipe(1), MiscPipe(1), ]).flush(); Discrete(1,1, [MiscPipe(1,"<learnstop>"), SharedLinearity(1,1), SharedLinearity(1,1), MiscPipe(1), ]).flush(); Discrete(1,1, [MiscPipe(1), Combine(2), MiscPipe(1), ]).flush(); Discrete(1,1, [MiscPipe(1), SharedLinearity(1,1), MiscPipe(1), ]).flush(); Discrete(1,1, [MiscPipe(1), MiscPipe(1,"<sigmoid>"), MiscPipe(1), ]).flush(); Discrete(1,1, [SharedLinearity(1,1), SharedLinearity(1,1), SharedLinearity(1,1), ]).flush(); Discrete(1,1, [Combine(3) ]).flush(); MiscPipe(1,"<sigmoid>").flush() SharedLinearity(1,1).flush(); MiscPipe(1,"<softmax>").flush();