mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/47781 Test Plan: Imported from OSS Reviewed By: supriyar Differential Revision: D24900303 fbshipit-source-id: 1a2cb0ec536384abcd140e0d073f0965ed2800cd
10 lines
224 B
Python
10 lines
224 B
Python
"""
|
|
Utils shared by different modes of quantization (eager/graph)
|
|
"""
|
|
|
|
def get_combined_dict(default_dict, additional_dict):
|
|
d = default_dict.copy()
|
|
for k, v in additional_dict.items():
|
|
d[k] = v
|
|
return d
|