code: public static INDArray sigmoidDerivative(INDArray ndArray, boolean dup) {
          return exec(dup ? new SigmoidDerivative(ndArray, ndArray.ulike()) : new SigmoidDerivative(ndArray));
      }
docs: Sigmoid function
  
  @param ndArray
  @param dup
  @return