Now, subnet constructor includes ANeuralNetworksModel_finish call.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
// Emit ANeuralNetworksModel_identifyInputsAndOutputs call
res->ctor() << ArgumentDecl{mname, binder};
- // TODO Emit ANeuralNetworksModel_finish call
- res->ctor()->append(S(assert("NYI");));
+ // Emit ANeuralNetworksModel_finish call
+ res->ctor()->append("ANeuralNetworksModel_finish(", mname, ");");
// Create compilation
res->ctor()->append("ANeuralNetworksCompilation_create(", mname, ", &", cname, ");");