Exemple #1
0
 public DNNPoolingDesc(DNNPoolingMode mode, int dimA, int dimB, int padA, int padB, int strideA, int strideB)
 {
     this.Mode       = mode;
     this.WindowDims = new int[] { dimA, dimB };
     this.Padding    = new int[] { padA, padB };
     this.Strides    = new int[] { strideA, strideB };
 }
Exemple #2
0
 public DNNPoolingDesc(DNNPoolingMode mode, int[] windowDims, int[] padding, int[] strides)
 {
     this.Mode       = mode;
     this.WindowDims = windowDims;
     this.Padding    = padding;
     this.Strides    = strides;
 }