max_m5: enhanced model loading process

Add more conditions to check for plausible data.
Prevent loading incorrect values from causing inaccurate calculation results

Bug: 275009537
Change-Id: I02a656a1ace1f582cac9295651e7aec7f37f5df8
Signed-off-by: Jenny Ho <hsiufangho@google.com>
1 file changed