Implement FunctionTraits to support two kinds of elementwise functor and remove some old codes for broadcast. (#35688)
Revert "Implement FunctionTraits to support two kinds of elementwise functor and remove some old codes for broadcast. (#35487)" (#35686)
Implement FunctionTraits to support two kinds of elementwise functor and remove some old codes for broadcast. (#35487)