[Fix KernelKeyParser] Unify the logic of `operator()` in `KernelKeyParser` (#46560)
* add datatype check for ParseKernelKeyByInputArgs * polish error message * Actually, einsum has vector<Tensor> inpute with DataType::COMPLEX64, see test_einsum_v2.py * headerfile remove enforce.h
Showing
想要评论请 注册 或 登录