| 147 | } |
| 148 | |
| 149 | bool IsQuantized(const TensorT& tensor) { |
| 150 | return (tensor.quantization != nullptr) && |
| 151 | !tensor.quantization->zero_point.empty(); |
| 152 | } |
| 153 | |
| 154 | // Create the MLIR NamedLoc location corresponding to a given tensor |
| 155 | Location TensorLoc(const TensorT& tensor, Builder builder, Location base) { |
no test coverage detected