def __init__(self, op):
   Benchmark.__init__(self)
   self.op = op
Exemplo n.º 2
0
 def __init__(self, gen):
   Benchmark.__init__(self)
   self.gen = gen
 def __init__(self, op, cuda = False):
   Benchmark.__init__(self)
   self.op = op
   self.cuda = cuda
Exemplo n.º 4
0
 def __init__(self, cuda = False):
   Benchmark.__init__(self)
   self.cuda = cuda
Exemplo n.º 5
0
 def __init__(self, gen):
     Benchmark.__init__(self)
     self.gen = gen
Exemplo n.º 6
0
 def __init__(self, cuda=False):
     Benchmark.__init__(self)
     self.cuda = cuda
Exemplo n.º 7
0
 def __init__(self, op):
     Benchmark.__init__(self)
     self.op = op
Exemplo n.º 8
0
 def __init__(self, op, cuda=False):
     Benchmark.__init__(self)
     self.op = op
     self.cuda = cuda