(self, __x: QuantizationOptimizationPass)
| 49 | return len(self._pipeline) |
| 50 | |
| 51 | def __contains__(self, __x: QuantizationOptimizationPass) -> bool: |
| 52 | assert isinstance(__x, QuantizationOptimizationPass), \ |
| 53 | f'Quantization Optimization Pipeline object only suppose to contain optimization passes, '\ |
| 54 | f'while you require to check a/an {type(__x)} whether in the optimization list' |
| 55 | return __x in self._pipeline |
| 56 | |
| 57 | def __iter__(self) -> Iterator[QuantizationOptimizationPass]: |
| 58 | return self._pipeline.__iter__() |
no outgoing calls
no test coverage detected