| 59 | } |
| 60 | |
| 61 | constexpr bool isInteger(af::dtype type) { |
| 62 | return (type == s32 || type == u32 || type == s64 || type == u64 || |
| 63 | type == s16 || type == u16 || type == s8 || type == u8); |
| 64 | } |
| 65 | |
| 66 | constexpr bool isBool(af::dtype type) { return (type == b8); } |
| 67 |
no outgoing calls
no test coverage detected