def __init__(self, op): Benchmark.__init__(self) self.op = op
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
def __init__(self, cuda = False): Benchmark.__init__(self) self.cuda = cuda
def __init__(self, cuda=False): Benchmark.__init__(self) self.cuda = cuda
def __init__(self, op, cuda=False): Benchmark.__init__(self) self.op = op self.cuda = cuda