Created by: grygielski
TransferInplaceVarsBack() function doesn't preserve shape of original tensor. I've found this bug during preparing LayerNorm MKL-DNN kernel in Bert model.
For example, reshape operator in Bert model works inplace but now, only data pointer is preserved and changed shape of tensor is lost.