parameters: (self, other)
return_statement: return Blob(PythonWrapper.blob_pow(self._internal, float(other)))
docstring: Computes the power of self to other.
docstring_summary: Computes the power of self to other.
docstring_tokens: Computes the power of self to other .
function: def __pow__(self, other):
          """Computes the power of self to other.
          """
          if self.size == 0:
              raise ValueError("The blob mustn't be empty.")
  
          if type(other) is Blob:
              if not neoml.Utils.check_can_broadcast(self, other):
                  raise ValueError("The blobs have incompatible shapes.")
              return Blob(PythonWrapper.blob_pow(self._internal, other._internal))
  
          return Blob(PythonWrapper.blob_pow(self._internal, float(other)))
function_tokens: def __pow__ ( self , other ) : if self . size == 0 : raise ValueError ( "The blob mustn't be empty." ) if type ( other ) is Blob : if not neoml . Utils . check_can_broadcast ( self , other ) : raise ValueError ( "The blobs have incompatible shapes." ) return Blob ( PythonWrapper . blob_pow ( self . _internal , other . _internal ) ) return Blob ( PythonWrapper . blob_pow ( self . _internal , float ( other ) ) )