Пример #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
Пример #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
Пример #3
0
 def __init__(self, **kwargs):
     Op.__init__(self, **kwargs)
Пример #4
0
 def __init__(self, **kwargs):
     Op.__init__(self, **kwargs)
Пример #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]}