Searched refs:immutable_states (Results 1 – 2 of 2) sorted by relevance
196 std::vector<quant::QuantState *> mutable_states, immutable_states; in GetQuantParamsForSameScaleConstraint() local200 immutable_states.push_back(&state); in GetQuantParamsForSameScaleConstraint()206 int immutable_operands_num = immutable_states.size(); in GetQuantParamsForSameScaleConstraint()211 return immutable_states.front()->params; in GetQuantParamsForSameScaleConstraint()217 immutable_states.push_back(&state); in GetQuantParamsForSameScaleConstraint()223 int immutable_results_num = immutable_states.size() - immutable_operands_num; in GetQuantParamsForSameScaleConstraint()227 return immutable_states.back()->params; in GetQuantParamsForSameScaleConstraint()235 if (!immutable_states.empty()) return immutable_states.front()->params; in GetQuantParamsForSameScaleConstraint()
616 std::vector<QuantState *> mutable_states, immutable_states; in GetQuantParamsForSameScaleConstraint() local620 immutable_states.push_back(&state); in GetQuantParamsForSameScaleConstraint()626 int immutable_operands_num = immutable_states.size(); in GetQuantParamsForSameScaleConstraint()631 return immutable_states.front()->params; in GetQuantParamsForSameScaleConstraint()637 immutable_states.push_back(&state); in GetQuantParamsForSameScaleConstraint()643 int immutable_results_num = immutable_states.size() - immutable_operands_num; in GetQuantParamsForSameScaleConstraint()647 return immutable_states.back()->params; in GetQuantParamsForSameScaleConstraint()651 if (!immutable_states.empty()) return immutable_states.front()->params; in GetQuantParamsForSameScaleConstraint()