Closed syt123450 closed 5 years ago
Make TensorSpace's layer can be created by directly given the shape. For example:
let depthwiseConv2d = new TSP.DepthwiseConv2d({ shape: [28, 28, 32], name: "depthwise_1" });
For 1d layer, use config:
{ shape: [ 28 ] }
For 2d layer, use config:
{ shape: [ 28, 28 ] }
For 3d layer, use config:
{ shape: [ 28, 28, 3 ] }
Make TensorSpace's layer can be created by directly given the shape. For example: