code: public SDVariable pow(String varName, double scalar) {
          SDVariable ret = f().pow(this, scalar);
          return sameDiff.updateVariableNameAndReference(ret, varName);
      }
docs: Scalar power operation: {@code out = this ^ scalar}<br>
  Output variable has the same shape as the input variable
  
  @param varName Output variable name
  @param scalar  Scalar for operation
  @return Output variable