| 26 | tableHeader = 'lengthx,lengthy,lengthz,batch,device,inlay,outlay,place,precision,label,GFLOPS' |
| 27 | |
| 28 | class TestCombination: |
| 29 | def __init__(self, |
| 30 | lengthx, lengthy, lengthz, batchsize, |
| 31 | device, inlayout, outlayout, placeness, precision, |
| 32 | label): |
| 33 | self.x = lengthx |
| 34 | self.y = lengthy |
| 35 | self.z = lengthz |
| 36 | self.batchsize = batchsize |
| 37 | self.device = device |
| 38 | self.inlayout = inlayout |
| 39 | self.outlayout = outlayout |
| 40 | self.placeness = placeness |
| 41 | self.precision = precision |
| 42 | self.label = label |
| 43 | |
| 44 | def __str__(self): |
| 45 | return self.x + 'x' + self.y + 'x' + self.z + ':' + self.batchsize + ', ' + self.device + ', ' + self.inlayout + '/' + self.outlayout + ', ' + self.placeness + ', ' + self.precision + ' -- ' + self.label |
| 46 | |
| 47 | class GraphPoint: |
| 48 | def __init__(self, |
no outgoing calls
no test coverage detected