↓ 5 callersFunctionprepare_model_to_compare(
model, config_dict, config_dict_qdq, module_type="Linear", scale_method="MAXABS_HW", scale_format="CONST
test/torch/algorithms/fp8_quant/unit_tests/test_qdq.py:86
↓ 4 callersMethod__init__(self, name, mod, d_shape=None, params=None, device=cur_device)
neural_compressor/torch/algorithms/fp8_quant/observer.py:39
↓ 4 callersFunctiondict_to_scale_method_config Converts a dictionary specifying scale method parameters (granularity, scale_value_type, rounding_method, backoff, params) into a ScaleMethod
neural_compressor/torch/algorithms/fp8_quant/_core/scale_methods/scale_method_config.py:186
↓ 4 callersFunctioninference(
args,
dlrm,
best_acc_test,
best_auc_test,
test_ld,
trace=True
)
examples/pytorch/recommendation/dlrm/static_quant/ipex/dlrm_s_pytorch.py:447
↓ 4 callersFunctionnormalize_answerNormalize the answer text. Lower text, remove punctuation, articles and extra whitespace, and replace other whitespace (newline, tab, etc.) t
examples/tensorflow/nlp/bert_large_squad_model_zoo/quantization/ptq/data_process.py:51