def rpow(self, rhs):
 if isinstance(rhs, variable.Variable):
  return PowVarVar()(rhs, self)
 _check_constant_type(rhs)
 return PowConstVar(rhs)(self)

def rpow ( self , rhs ) : if isinstance ( rhs , variable . Variable ) : return PowVarVar ( ) ( rhs , self ) _check_constant_type ( rhs ) return PowConstVar ( rhs ) ( self )
element-wise power function .