Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
torch / _inductor / quantized_lowerings.py
Size: Mime:
import torch


def register_quantized_ops():
    from . import lowering

    quantized = torch.ops.quantized

    lowering.add_needs_realized_inputs(
        [
            quantized.max_pool2d,
        ]
    )

    lowering.make_fallback(quantized.max_pool2d)