From 2b6632e052321a7dadc2687ae690f3a4581e035c Mon Sep 17 00:00:00 2001 From: 0x45f Date: Wed, 8 Dec 2021 10:58:50 +0000 Subject: [PATCH] code format --- python/paddle/fluid/layers/control_flow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle/fluid/layers/control_flow.py b/python/paddle/fluid/layers/control_flow.py index 8bc191651f4db..668cb01549f6c 100755 --- a/python/paddle/fluid/layers/control_flow.py +++ b/python/paddle/fluid/layers/control_flow.py @@ -110,8 +110,8 @@ def select_input_with_buildin_type(inputs, mask): if isinstance(false_var, Variable) and isinstance(true_var, Variable): return select_input(inputs, mask) - elif (isinstance(false_var, (support_ret_buildin_type)) and isinstance( - false_var, type(true_var))): + elif (isinstance(false_var, (support_ret_buildin_type)) and + isinstance(false_var, type(true_var))): if false_var == true_var: return false_var else: