Functions
flatten_tuple(x)
flatten_tuple
这包装了normalize_index。
is_functor(obj)
is_functor
当且仅当定义了 obj.__call__ 时返回 true。