fix typo in primitive_inst.cpp (#18417)

This commit is contained in:
Tanmay 2023-07-07 02:55:56 +05:30 committed by GitHub
parent f5baec14aa
commit e0d7ce691b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -974,7 +974,7 @@ event::ptr primitive_inst::update_weights() {
_impl_params->weights_layout = optional_layout(original_layout);
} else {
auto expected_layout = reorder_kernel_params->get_output_layout();
// Set original patrial shape, because it may be lost during kernel_selector::weights_tensor -> layout conversion
// Set original partial shape, because it may be lost during kernel_selector::weights_tensor -> layout conversion
expected_layout.set_partial_shape(original_layout.get_partial_shape());
_impl_params->weights_layout = optional_layout(expected_layout);