code: public static int cudnnScaleTensor(
          cudnnHandle handle, 
          cudnnTensorDescriptor yDesc, 
          Pointer y, 
          Pointer alpha)
      {
          return checkResult(cudnnScaleTensorNative(handle, yDesc, y, alpha));
      }
docs: Scale all values of a tensor by a given factor : y[i] = alpha * y[i]