(tensor)
| 10 | return tensor is None or getattr(tensor, "tensor_type", None) in TORCH_COMPATIBLE_QTYPES |
| 11 | |
| 12 | def is_quantized(tensor): |
| 13 | return not is_torch_compatible(tensor) |
| 14 | |
| 15 | def dequantize_tensor(tensor, dtype=None, dequant_dtype=None): |
| 16 | qtype = getattr(tensor, "tensor_type", None) |
no test coverage detected