Please check this https://github.com/VinAIResearch/blur-kernel-space-exploring/blob/619c9b3b33961ef9311399d7cbbf92050a0c6b51/models/kernel_encoding/kernel_wizard.py#L72 I think you mean it to be F.