nnabla-c-runtime icon indicating copy to clipboard operation
nnabla-c-runtime copied to clipboard

Structure of NNB File

Open omgitsdango opened this issue 6 years ago • 0 comments

Hi,

could someone tell me the exact structure of the nnb File? As far as i understand the nnb File starts with this structure:

typedef struct {
  uint32_t version;    ///< binary format version
  uint32_t api_level;  ///< function-level compatibility revision
  nn_list_t buffers;   ///< list of nn_variable_buffer_t
  nn_list_t variables; ///< list of nn_variable_t
  nn_list_t functions; ///< list of nn_function_t
  nn_list_t inputs;    ///< list of input variable ids
  nn_list_t outputs;   ///< list of output variable ids
  nn_memory_t memory;  ///< memory to store all data.
} nn_network_t;

But whats the structure in the memory part?

Thank you for your time dango

omgitsdango avatar Oct 31 '19 14:10 omgitsdango