code: public static int cudnnDeriveBNTensorDescriptor(
          cudnnTensorDescriptor derivedBnDesc, 
          cudnnTensorDescriptor xDesc, 
          int mode)
      {
          return checkResult(cudnnDeriveBNTensorDescriptorNative(derivedBnDesc, xDesc, mode));
      }
docs: <pre>
  Derives a tensor descriptor from layer data descriptor for BatchNormalization
  scale, invVariance, bnBias, bnScale tensors. Use this tensor desc for
  bnScaleBiasMeanVarDesc and bnScaleBiasDiffDesc in Batch Normalization forward and backward functions.
  </pre>