(param_dict)
| 54 | |
| 55 | |
| 56 | def get_quantize_enabled(param_dict): |
| 57 | if COMPRESSION_TRAINING not in param_dict.keys(): |
| 58 | return False |
| 59 | |
| 60 | sub_param_dict = param_dict[COMPRESSION_TRAINING] |
| 61 | output = get_weight_quantization_shared_parameters(sub_param_dict) |
| 62 | return output[WEIGHT_QUANTIZE_ENABLED] |
| 63 | |
| 64 | |
| 65 | def get_weight_quantization(param_dict): |
no test coverage detected