Thanks for the report! This behavior is coming from the fact that your sample_flatten function only effectively compiles a single iteration, while your sample_unflatten compiles N iterations. Look at ...
Abstract: The increasing number of Internet-enabled devices has demonstrated the need to have accurate intrusion detection systems (IDSs). To address this, we adapt the structure of two-dimensional ...