bitorch_engine.layers.qconv.binary.cpp.extension.get_ext

bitorch_engine.layers.qconv.binary.cpp.extension.get_ext(path: Path)[source]

Retrieves the C++ extension for binary convolution.

Parameters:

path (Path) – The path to the directory containing the binary convolution C++ code.

Returns:

The C++ extension for binary convolution.

Return type:

torch.utils.cpp_extension.CppExtension