You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""The :class:`QuanDenseLayerWithBN` class is a quantized fully connected layer with BN, which weights are 'bitW' bits and the output of the previous layer
18
+
classQuanDenseWithBN(Layer):
19
+
"""The :class:`QuanDenseWithBN` class is a quantized fully connected layer with BN, which weights are 'bitW' bits and the output of the previous layer
20
20
are 'bitA' bits while inferencing.
21
21
22
22
Parameters
@@ -47,16 +47,19 @@ class QuanDenseLayerWithBN(Layer):
47
47
The initializer for the the weight matrix.
48
48
W_init_args : dictionary
49
49
The arguments for the weight matrix initializer.
50
+
in_channels: int
51
+
The number of channels of the previous layer.
52
+
If None, it will be automatically detected when the layer is forwarded for the first time.
0 commit comments