Ejemplo n.º 1
0
 def __init__(self, output_type, inplace=False):
     Op.__init__(self)
     self.output_type = output_type
     self.inplace = inplace
     if inplace:
         self.destroy_map = {0: [0]}
     self.warned_numpy_version = False
Ejemplo n.º 2
0
 def __init__(self, output_type, inplace=False):
     Op.__init__(self)
     self.output_type = output_type
     self.inplace=inplace
     if inplace:
         self.destroy_map = {0:[0]}
     self.warned_numpy_version = False
Ejemplo n.º 3
0
 def __init__(self, **kwargs):
     Op.__init__(self, **kwargs)
Ejemplo n.º 4
0
 def __init__(self, **kwargs):
     Op.__init__(self, **kwargs)
Ejemplo n.º 5
0
 def __init__(self, inplace=False, *args, **kwargs):
     Op.__init__(self, *args, **kwargs)
     self.inplace = inplace
     if self.inplace:
         self.destroy_map = {0: [0]}