Commit 24bd105f authored by Sergey Shalnov's avatar Sergey Shalnov Committed by Scott Cyphers

IntelGPU backend: Fix reshape operation (#2201)

parent 31210402
......@@ -926,7 +926,10 @@ runtime::Handle runtime::intelgpu::IntelGPUBackend::compile(shared_ptr<Function>
}
else
{
do_equal_propagation(topology, get_input_name(op), get_output_name(op));
const cldnn::tensor new_shape =
intelgpu_space::create_cldnn_tensor(get_output_shape(op));
const cldnn::reshape reshape_op(get_output_name(op), get_input_name(op), new_shape);
topology.add(reshape_op);
}
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment