Lines Matching refs:self
95 def __init__(self, *args):
96 self.lists = list(args)
97 self.numLists = len(args)
98 self.numCombinations = reduce(operator.mul, map(len, self.lists), 1)
99 print(self.lists)
100 print(self.numCombinations)
102 def iterate(self):
103 return [tuple(map(lambda x: x[0], self.lists))]
167 def __init__(self, name, precision, dataType, swizzle, inputs, outputs):
168 self.name = name
169 self.precision = precision
170 self.dataType = dataType
171 self.swizzle = swizzle
172 self.inputs = inputs
173 self.outputs = outputs
174 self.op = "out0 = in0.%s;" % swizzle
176 def __str__(self):
178 "NAME": self.name,
179 "VALUES": genValues(self.inputs, self.outputs),
180 "OP": self.op