Skip to content

Commit

Permalink
Fix compressor options (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
Only-bottle authored Jul 9, 2024
1 parent 1150a20 commit aa5cded
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion netspresso/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.1.b3
1.7.1
2 changes: 2 additions & 0 deletions netspresso/clients/compressor/v2/schemas/compression/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def __post_init__(self):
)


@dataclass
class Options(OptionsBase):
policy: Policy = Policy.AVERAGE
layer_norm: LayerNorm = LayerNorm.STANDARD_SCORE
Expand All @@ -25,6 +26,7 @@ class Options(OptionsBase):
reverse: bool = False


@dataclass
class RecommendationOptions(Options):
min_num_of_value: int = 8

Expand Down

0 comments on commit aa5cded

Please sign in to comment.