AIMC Modeling and Parameter Tuning for Layer-Wise Optimal Operating Point in DNN Inference