bitorch.models.quicknet.QuickNet¶
- class bitorch.models.quicknet.QuickNet(input_shape: List[int], section_filters: Optional[List[int]] = None, section_blocks: Optional[List[int]] = None, num_classes: int = 0)[source]¶
QuickNet model from “Larq Compute Engine: Design, Benchmark, and Deploy State-of-the-Art Binarized Neural Networks” paper.
Methods
Initializes internal Module state, shared by both nn.Module and ScriptModule.
Clips weights in quantized convolution layer in Residual Blocks
Is used with the pytorch lighting on_train_batch_end callback
Attributes
name
- __init__(input_shape: List[int], section_filters: Optional[List[int]] = None, section_blocks: Optional[List[int]] = None, num_classes: int = 0) None [source]¶
Initializes internal Module state, shared by both nn.Module and ScriptModule.