Skip to content

Commit 9c73998

Browse files
authored
Update layer_attributes.py
1 parent 58d5112 commit 9c73998

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

nncf/common/graph/layer_attributes.py

-8
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,10 @@ def __init__(self, weight_requires_grad: bool, dtype: Dtype = Dtype.FLOAT, with_
6666
self.dtype = dtype
6767
self.with_bias = with_bias
6868

69-
@abstractmethod
70-
def get_weight_shape(self) -> List[int]:
71-
pass
72-
7369
def get_num_filters(self) -> int:
7470
weight_shape = self.get_weight_shape()
7571
return weight_shape[self.get_target_dim_for_compression()]
7672

77-
@abstractmethod
78-
def get_target_dim_for_compression(self) -> int:
79-
pass
80-
8173

8274
class GenericWeightedLayerAttributes(WeightedLayerAttributes):
8375
"""

0 commit comments

Comments
 (0)