Skip to content

Commit 7eac034

Browse files
satymishfacebook-github-bot
authored andcommitted
Add normalize_l2 boolean to distributed training API
Summary: Add normalize_l2 boolean to distributed training API. This is just adding the field, implementation will come in the next diff Reviewed By: junjieqi Differential Revision: D72621956 fbshipit-source-id: 830794250837ff17e3adcd2f8f5c332601d2386f
1 parent 0dfb599 commit 7eac034

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

benchs/bench_fw/descriptors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ class CodecDescriptor(IndexBaseDescriptor):
223223
factory: Optional[str] = None
224224
construction_params: Optional[List[Dict[str, int]]] = None
225225
training_vectors: Optional[DatasetDescriptor] = None
226+
normalize_l2: bool = False
226227
FILENAME_PREFIX: str = "xt"
227228

228229
def __post_init__(self):

0 commit comments

Comments
 (0)