convnetjs
convnetjs copied to clipboard
Allow specific input shape
trafficstars
Currently it assumes the input layer is 1x1xINPUT_LENGTH. This does not support 2D or 3D inputs, my changes allow the user to specify the shape.
This could also be achieved by getting the X,Y,Z sizes from the input data:
layer_defs.push({type: 'input', out_sx: this.data[0].sx:, out_sy: this.data[0].sy, out_depth:this.data[0].depth});
this is currently hard coded to:
layer_defs.push({type: 'input', out_sx: 1, out_sy: 1, out_depth: input_depth});
It works the same either way bruh.
您好,我是薛文毅,已收到您的邮件,一会查收,谢谢!!