From aa954c6561007f3ef05ddb78822fe78cd1dc8a45 Mon Sep 17 00:00:00 2001 From: sprouteer Date: Tue, 4 Apr 2023 19:48:05 +0800 Subject: [PATCH] fix temporal_shift bug test=develop --- lite/operators/temporal_shift_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lite/operators/temporal_shift_op.cc b/lite/operators/temporal_shift_op.cc index 4b69252b312..d362d19e641 100644 --- a/lite/operators/temporal_shift_op.cc +++ b/lite/operators/temporal_shift_op.cc @@ -43,7 +43,7 @@ bool TemporalShiftOpLite::AttachImpl(const cpp::OpDesc &op_desc, if (op_desc.HasAttr("seg_num")) { param_.seg_num = op_desc.GetAttr("seg_num"); } - if (op_desc.HasAttr("shift_radio")) { + if (op_desc.HasAttr("shift_ratio")) { param_.shift_ratio = op_desc.GetAttr("shift_ratio"); } if (op_desc.HasAttr("data_format")) {