@@ -94,9 +94,9 @@ struct VMFunction {
9494 instructions(std::move(instructions)),
9595 register_file_size(register_file_size),
9696 param_device_indexes(std::move(param_device_indexes)) {
97- ICHECK_EQ (params.size (), param_device_indexes.size ())
98- << " The number of provided parameters doesn't match the number of assigned devices" ;
99- }
97+ ICHECK_EQ (params.size (), param_device_indexes.size ())
98+ << " The number of provided parameters doesn't match the number of assigned devices" ;
99+ }
100100
101101 VMFunction () = default;
102102
@@ -280,7 +280,7 @@ class VirtualMachine : public runtime::ModuleNode {
280280 * function. If the tensor is not of the correct device for the function,
281281 * they will be copied to the device.
282282 */
283- void SetOneInputTensor (std::string func_name , TVMArgs args);
283+ void SetOneInputTensor (std::string name , TVMArgs args);
284284
285285 /* !
286286 * \brief Internal hook for profiling the start of an op.
@@ -305,15 +305,17 @@ class VirtualMachine : public runtime::ModuleNode {
305305 * \param input_name The input tensor name.
306306 * \return The input tensor index.
307307 */
308- int64_t getInputIndexFromVMFunction (const std::string& func_name, const std::string& input_name) const ;
308+ int64_t getInputIndexFromVMFunction (const std::string& func_name,
309+ const std::string& input_name) const ;
309310
310311 /* !
311312 * \brief Get index of input tensor from its name.
312313 * \param params parameter names.
313314 * \param input_name The input tensor name.
314315 * \return The input tensor index.
315316 */
316- int64_t getInputIndexFromName (const std::vector<std::string>& params, const std::string& input_name) const ;
317+ int64_t getInputIndexFromName (const std::vector<std::string>& params,
318+ const std::string& input_name) const ;
317319
318320 /* !
319321 * \brief Check executable exists and get VM function from it.
0 commit comments