BUG: classinfo should be tuple

This commit is contained in:
Yan Facai (颜发才) 2017-08-26 16:44:09 +08:00 committed by Martin Wicke
parent c24535359b
commit 211534feec

View File

@ -238,7 +238,7 @@ def _FilterInt(v):
return _FirstNotNone([_FilterInt(x) for x in v])
return None if isinstance(
v,
compat.integral_types, tensor_shape.Dimension) else _NotNone(v)
(compat.integral_types, tensor_shape.Dimension)) else _NotNone(v)
def _FilterFloat(v):