[GPU] Fixed bias fusion tests (#14285)
This commit is contained in:
parent
a0814953a4
commit
52b02c190b
@ -35,6 +35,9 @@ void post_optimize_weights::optimize_weights(T& node, program& p) {
|
|||||||
if (!impl)
|
if (!impl)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (impl->is_dynamic())
|
||||||
|
return;
|
||||||
|
|
||||||
auto output_layout = node.get_output_layout();
|
auto output_layout = node.get_output_layout();
|
||||||
auto& weights_reorder_params = impl->_weights_reorder_params;
|
auto& weights_reorder_params = impl->_weights_reorder_params;
|
||||||
|
|
||||||
|
@ -230,7 +230,7 @@ class fc_fp32_bias_dynamic : public FullyConnectedFusingTest {};
|
|||||||
TEST_P(fc_fp32_bias_dynamic, basic) {
|
TEST_P(fc_fp32_bias_dynamic, basic) {
|
||||||
auto p = GetParam();
|
auto p = GetParam();
|
||||||
auto test_input_layout = get_input_layout(p);
|
auto test_input_layout = get_input_layout(p);
|
||||||
auto dynamic_input_layout = layout{ov::PartialShape::dynamic(test_input_layout.get_rank()), test_input_layout.data_type, test_input_layout.format};
|
auto dynamic_input_layout = layout{ov::PartialShape::dynamic(test_input_layout.get_partial_shape().rank()), test_input_layout.data_type, test_input_layout.format};
|
||||||
create_topologies(
|
create_topologies(
|
||||||
input_layout("input", dynamic_input_layout),
|
input_layout("input", dynamic_input_layout),
|
||||||
data("weights", get_mem(get_weights_layout(p))),
|
data("weights", get_mem(get_weights_layout(p))),
|
||||||
|
Loading…
Reference in New Issue
Block a user