vector is now passed as a reference type.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
return inputs;
}
- void set(TFLBIN *replacer, std::vector<loco::Node *> to) override
+ void set(TFLBIN *replacer, std::vector<loco::Node *> &to) override
{
assert(to.size() == 2);
virtual std::vector<loco::Node *> getInputsToConvert(CanonicalT *origin) = 0;
/// @brief Set the inputs of replacer to new_inputs
- virtual void set(TFLT *replacer, std::vector<loco::Node *> new_inputs) = 0;
+ virtual void set(TFLT *replacer, std::vector<loco::Node *> &new_inputs) = 0;
/// @brief Set the inputs to nullptr
virtual void nullify(CanonicalT *origin) = 0;