Closed zetwhite closed 4 months ago
I made a draft (https://github.com/Samsung/ONE/pull/12649) that injects training parameters into circle, referencing circle/oxri(inner source) implmentation.
After I made this draft work somehow, I started to think that it is NOT helpful because of the input format.
IMHO, python API is more useful than command line executing tools. But most of the tools in ONE are kinds of command line tools, so I'm hesitant to work on it.
#simple pseudo API
import onert # new package
training_pram = onert.TrainingParameter(SGD(learning_rate = 0.01), MSE(from_logits=true), batch_size=32)
circle = onert.open("mnist.circle")
circle.inject_tparam(training_param)
circle.export("mnist_with_meta.circle")
/cc @Samsung/one_onert
After some talks with @Samsung/one_onert yesterday, I rethink this issue.
onecc-cmd
. But it might take some time. onecc
later.basic features are all added in https://github.com/Samsung/ONE/tree/master/tools/circle_plus_gen. So close this issue
There is no way to create a circle+ file in public. So, Let's generate tools for generating circle+, More exactly tools that inject training parameters into the circle file.