def set_input_shape(self, input_shape): NNetwork.set_input_shape(self, input_shape) self.add_node(MatrixMultiplyingNode(self.output_size)) self.add_node(BiasNode())
def __init__(self, output_size): NNetwork.__init__(self) self.output_size = output_size