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))]
171 def __init__(self, name, precision, dataType, swizzle, inputs, outputs):
172 self.name = name
173 self.precision = precision
174 self.dataType = dataType
175 self.swizzle = swizzle
176 self.inputs = inputs
177 self.outputs = outputs
178 self.op = "out0 = in0.%s;" % swizzle
180 def __str__(self):
182 "NAME": self.name,
183 "VALUES": genValues(self.inputs, self.outputs),
184 "OP": self.op