(self,
lengthx, lengthy, lengthz, batchsize,
ldsfraction, device, label,
gflops)
| 48 | |
| 49 | class GraphPoint: |
| 50 | def __init__(self, |
| 51 | lengthx, lengthy, lengthz, batchsize, |
| 52 | ldsfraction, device, label, |
| 53 | gflops): |
| 54 | self.x = lengthx |
| 55 | self.y = lengthy |
| 56 | self.z = lengthz |
| 57 | self.batchsize = batchsize |
| 58 | self.device = device |
| 59 | self.label = label |
| 60 | self.ldsfraction = ldsfraction |
| 61 | self.gflops = gflops |
| 62 | self.problemsize = str(int(self.x) * int(self.y) * int(self.z) * int(self.batchsize)) |
| 63 | |
| 64 | def __str__(self): |
| 65 | # ALL members must be represented here (x, y, z, batch, device, label, ldsfraction, etc) |
nothing calls this directly
no outgoing calls
no test coverage detected