| 241 | } |
| 242 | |
| 243 | extern inline bool IsComplexType(const proto::VarType::Type& type) { |
| 244 | return (type == proto::VarType::COMPLEX64 || |
| 245 | type == proto::VarType::COMPLEX128); |
| 246 | } |
| 247 | |
| 248 | extern inline bool IsComplexType(const phi::DataType& type) { |
| 249 | return (type == phi::DataType::COMPLEX64 || |
no outgoing calls
no test coverage detected