The config proto objects can be created by reading the config file like Caffe or be created using the protobuf APIs (not widely used, https://github.com/apache/incubator-singa/blob/master/ examples/cifar10/alexnet.cc#L37)
On Mon, Oct 23, 2017 at 1:08 PM, Wang Wei <[email protected]> wrote: > The declarative config is mainly used for using SINGA C++ APIs. > For Python APIs, it is more convenient to use the python layer APIs. > > > On Sat, Oct 21, 2017 at 5:41 AM, Cliff Berg (JIRA) <[email protected]> > wrote: > >> >> [ https://issues.apache.org/jira/browse/SINGA-333?page=com.atl >> assian.jira.plugin.system.issuetabpanels:comment-tabpanel& >> focusedCommentId=16213282#comment-16213282 ] >> >> Cliff Berg commented on SINGA-333: >> ---------------------------------- >> >> Related to that, it appears that the declarative config that is used in >> the Singa documentation (e.g., the layer definitions) do not appear in any >> of the examples. Is this because the declarative approach has been shelved, >> in favor of an API approach? >> >> >> > Add support for Open Neural Network Exchange (ONNX) format >> > ---------------------------------------------------------- >> > >> > Key: SINGA-333 >> > URL: https://issues.apache.org/jira/browse/SINGA-333 >> > Project: Singa >> > Issue Type: New Feature >> > Reporter: Moaz Reyad >> > >> > The [Open Neural Network Exchange (ONNX)|https://onnx.ai/] is a format >> for interchanging neural network models between AI systems. >> > The ONNX code is available here: >> > https://github.com/onnx/onnx >> > It can be a useful feature for SINGA to support this format. However, >> ONNX is graph based and some extra work will be required to convert SINGA >> models to this format. May be some core parts of SINGA must to be upgraded >> first. >> > This issue is open for studying and discussing the proposed feature of >> supporting ONNX. >> >> >> >> -- >> This message was sent by Atlassian JIRA >> (v6.4.14#64029) >> > >
