Implementing kernel
C++ engine symbols that back this Python API.An nn.Conv2d with a BOFT rotation of its flattened in x kernel axis and a scale of its filters.
boft_s is (1, out_channels), as in the reference.
Parameters
base_ layernn.Conv2dThe layer to adapt; the other parameters are those of
BOFTLayer.adapter_ namestrName of the first butterfly.
configBOFTConfigBlock size or count, butterfly factors, dropout,
init_weights.