forked from xuos/xiuos
add makefiles to adapt nnom and cmsis-nn for xizi
This commit is contained in:
6
APP_Framework/Framework/knowing/nnom/Makefile
Normal file
6
APP_Framework/Framework/knowing/nnom/Makefile
Normal file
@@ -0,0 +1,6 @@
|
||||
SRC_DIR :=
|
||||
ifeq ($(CONFIG_USING_NNOM),y)
|
||||
SRC_FILES := $(wildcard src/backends/*.c) $(wildcard src/core/*.c) $(wildcard src/layers/*.c)
|
||||
endif
|
||||
|
||||
include $(KERNEL_ROOT)/compiler.mk
|
||||
@@ -45,7 +45,7 @@ nnom_layer_t *reshape_s(const nnom_reshape_config_t *config)
|
||||
|
||||
// config
|
||||
//nnom_memcpy(layer->dim, config->dim, config->num_dim * sizeof(nnom_shape_data_t));
|
||||
layer->super.config = config;
|
||||
layer->super.config = (void*)config;
|
||||
layer->dim = config->dim; // temporary use the config directly. (not preferable.)
|
||||
layer->num_dim = config->num_dim;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user