diff --git a/src/finn/core/execute_custom_node.py b/src/finn/core/execute_custom_node.py index e1afa3347b92692547f9018483a7c81336d08931..a6fb34fdb9276baeffe6ea68c9c5549eb4da428f 100644 --- a/src/finn/core/execute_custom_node.py +++ b/src/finn/core/execute_custom_node.py @@ -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 diff --git a/tests/input_0.npy b/tests/input_0.npy new file mode 100644 index 0000000000000000000000000000000000000000..fe284575770741535ba3ef7d5db9a363590a866f Binary files /dev/null and b/tests/input_0.npy differ diff --git a/tests/layer_streaming_maxpool.cpp b/tests/layer_streaming_maxpool.cpp new file mode 100755 index 0000000000000000000000000000000000000000..59615cf55262c0299d5db94f79cc9a95168ffd42 --- /dev/null +++ b/tests/layer_streaming_maxpool.cpp @@ -0,0 +1,12 @@ +#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; + +}