Closed beomyeol closed 8 years ago
I'll do a pass today.
I finished my pass, @beomyeol.
@beomyeol @jsjason Is this PR ready to be merged?
@bgchun @beomyeol Sorry, I didn't have the chance to do another pass up till now. I'll do a review right away.
@beomyeol I did another pass. I'll merge this right away after you check my comments. Thanks.
@jsjason Thank you for your review. I've addressed your comments and pushed one more commit for updating README. Please take another look :)
@beomyeol I did another pass for the new README commit you added. Thanks.
@jsjason Thank you for your comments. I've address them.
@beomyeol Great. I'll merge.
This pull request removes
num_input
andnum_output
options for layer configurations. Thenum_input
andnum_output
not only are meaningful only with 1-dimensional inputs, but also input and output shapes of layers can be inferred by other options for layers, such as kernel size for convolutional layers and the number of outputs for fully connected layers.Moreover, the codes for instantiating layers and generating layer parameters are repeatedly used at several points. This PR introduces the utility class for neural network,
NeuralNetworkUtils
, for neural network related operations including generating layer instances and layer parameters.In addition, this pull request brings back the support for arbitrary dimensional inputs that was lost in #148. While input data had its dimension information with ND4J library, each layer has its input shape with which layers can process spatial operations on input data.
This closes #146.