#include "data_inst.h"
#include "reorder_inst.h"
+#include "reshape_inst.h"
#include "generic_layer.hpp"
#include <sstream>
layout{ data_types::f32, format::bfyx, tensor{} }).format;
} else if (node.is_type<reorder>() || node.is_type<input_layout>()) {
expected = node.get_output_layout().format;
+ } else if (node.is_type<reshape>()) {
+ if (node.get_output_layout().format.dimension() == 6) {
+ expected = format::bfwzyx;
+ } else if (node.get_output_layout().format.dimension() == 5) {
+ expected = format::bfzyx;
+ } else if (node.get_output_layout().format.dimension() == 4) {
+ expected = format::bfyx;
+ }
} else if (node.is_type<deconvolution>()) {
auto& deconv_node = node.as<deconvolution>();
auto weights_layout = deconv_node.weights(0).get_output_layout();