input : ext_test_template,
output : ext_test_path_each,
command : [copy, '-f', '@INPUT@', '@OUTPUT@', \
- '&&', 'sed', '-i', sed_ext_name_option, '@OUTPUT@', \
- '&&', 'sed', '-i', sed_ext_abbrv_option, '@OUTPUT@', \
- '&&', 'sed', '-i', sed_ext_mf_option, '@OUTPUT@']
+ '&&', 'sed', '-i\'.cc\'', sed_ext_name_option, '@OUTPUT@', \
+ '&&', 'sed', '-i\'.cc\'', sed_ext_abbrv_option, '@OUTPUT@', \
+ '&&', 'sed', '-i\'.cc\'', sed_ext_mf_option, '@OUTPUT@']
)
exec = executable(
{
int ret;
void *data = NULL;
- GstTensorMemory input[NNS_TENSOR_SIZE_LIMIT] = { 0, };
- GstTensorMemory output[NNS_TENSOR_SIZE_LIMIT] = { 0, };
+ GstTensorMemory input[NNS_TENSOR_SIZE_LIMIT] = { {0}, };
+ GstTensorMemory output[NNS_TENSOR_SIZE_LIMIT] = { {0}, };
gchar **model_files;
model_files = get_model_files ();
int ret;
int ret_get_in, ret_get_out, ret_set_in;
void *data = NULL;
- GstTensorMemory input[NNS_TENSOR_SIZE_LIMIT] = { 0, };
- GstTensorMemory output[NNS_TENSOR_SIZE_LIMIT] = { 0, };
+ GstTensorMemory input[NNS_TENSOR_SIZE_LIMIT] = { {0}, };
+ GstTensorMemory output[NNS_TENSOR_SIZE_LIMIT] = { {0}, };
gchar **model_files;
GstTensorsInfo input_info, output_info;
guint i;
{"second_model", 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &second_model_path,
"The path of second model file",
"e.g., models/mobilenet_v2_1.0_224_quant.tflite"},
- {"silent", 's', G_OPTION_FLAG_NONE, G_OPTION_FLAG_NONE, &silent,
+ {"silent", 's', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &silent,
"Hide debug message", "TRUE (default)"},
{NULL}
};