wrong enforce in temporal_shift_op
Created by: luotao1
https://github.com/PaddlePaddle/Paddle/blob/a6daf6fe5f778ceb83509723eb3eb8651b4e58c2/paddle/fluid/operators/temporal_shift_op.cc#L38-L40
->: shift_ratio > 0 && shift_ratio < .5
- since #19088,
PADDLE_ENFORCE
is not recommended. Please usePADDLE_ENFORCE_EQ/NE/GT/GE/LT/LE
orPADDLE_ENFORCE_NOT_NULL
instead. - Besides, Please add Error Message in
PADDLE_ENFORCE_XXX
interface.