code: public static int cudnnSetFilterNdDescriptor(
          cudnnFilterDescriptor filterDesc, 
          int dataType, /** image data type */
          int format, 
          int nbDims, 
          int[] filterDimA)
      {
          return checkResult(cudnnSetFilterNdDescriptorNative(filterDesc, dataType, format, nbDims, filterDimA));
      }
docs: width of  each input filter