[GPU] Fixed uninit axis field in pooling prim (#9598)

This commit is contained in:
Vladimir Paramuzov 2022-01-13 10:53:20 +03:00 committed by GitHub
parent f68dd90413
commit ef3df6de03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -231,7 +231,7 @@ struct pooling : public primitive_base<pooling> {
/// @brief Defines a shift, relative to the end of padding shape.
tensor pad_end;
/// @brief first dimension of input that should be used to calculate the upper bound of index output
int64_t axis;
int64_t axis = 0;
/// @brief type of index output
data_types index_element_type = data_types::i32;
bool maxPoolOpset8Features{false};