Skip to content
Snippets Groups Projects
Commit fec67712 authored by auphelia's avatar auphelia
Browse files

[Test] Omit removing of the temporary file which contains the input values and...

[Test] Omit removing of the temporary file which contains the input values and created a .cpp for testing the single node execution
parent 0e681d8e
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,9 @@ def execute_custom_node(node, context, graph):
in_ind += 1
code_gen.execute(node, context, graph)
# deleting temporary files
for temp_file in temp_files:
os.remove(temp_file)
## deleting temporary files
#for temp_file in temp_files:
# os.remove(temp_file)
sys.exit(1)
else:
# exception if op_type is not supported
......
File added
#include "cnpy.h"
#include<iostream>
#include<complex>
int main(){
std::cout << "TEST" << std::endl;
cnpy::NpyArray arr = cnpy::npy_load("input_0.npy");
std::complex<double>* loaded_data = arr.data<std::complex<double>>();
std::cout << loaded_data << std::endl;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment