concrete.ml.sklearn.qnn_module.md
module concrete.ml.sklearn.qnn_module
Global Variables
class SparseQuantNeuralNetwork
method __init__
__init__(
input_dim: int,
n_layers: int,
n_outputs: int,
n_hidden_neurons_multiplier: int = 4,
n_w_bits: int = 3,
n_a_bits: int = 3,
n_accum_bits: int = 8,
n_prune_neurons_percentage: float = 0.0,
activation_function: Type = <class 'torch.nn.modules.activation.ReLU'>,
quant_narrow: bool = False,
quant_signed: bool = True
)method enable_pruning
method forward
method make_pruning_permanent
method max_active_neurons
Last updated
Was this helpful?