|
17 | 17 | AT_PRIVATE_CASE_TYPE(at::ScalarType::Double, double, __VA_ARGS__) \
|
18 | 18 | AT_PRIVATE_CASE_TYPE(at::ScalarType::Float, float, __VA_ARGS__) \
|
19 | 19 | default: \
|
20 |
| - AT_ERROR(#NAME, " not implemented for '", the_type.toString(), "'"); \ |
| 20 | + AT_ERROR(#NAME, " not implemented for '", the_type.toString(), "'"); \ |
21 | 21 | } \
|
22 | 22 | }()
|
23 | 23 |
|
|
29 | 29 | AT_PRIVATE_CASE_TYPE(at::ScalarType::Float, float, __VA_ARGS__) \
|
30 | 30 | AT_PRIVATE_CASE_TYPE(at::ScalarType::Half, Half, __VA_ARGS__) \
|
31 | 31 | default: \
|
32 |
| - AT_ERROR(#NAME, " not implemented for '", the_type.toString(), "'"); \ |
| 32 | + AT_ERROR(#NAME, " not implemented for '", the_type.toString(), "'"); \ |
33 | 33 | } \
|
34 | 34 | }()
|
35 | 35 |
|
|
43 | 43 | AT_PRIVATE_CASE_TYPE(at::ScalarType::Long, int64_t, __VA_ARGS__) \
|
44 | 44 | AT_PRIVATE_CASE_TYPE(at::ScalarType::Short, int16_t, __VA_ARGS__) \
|
45 | 45 | default: \
|
46 |
| - AT_ERROR(#NAME, " not implemented for '", the_type.toString(), "'"); \ |
| 46 | + AT_ERROR(#NAME, " not implemented for '", the_type.toString(), "'"); \ |
47 | 47 | } \
|
48 | 48 | }()
|
49 | 49 |
|
|
59 | 59 | AT_PRIVATE_CASE_TYPE(at::ScalarType::Long, int64_t, __VA_ARGS__) \
|
60 | 60 | AT_PRIVATE_CASE_TYPE(at::ScalarType::Short, int16_t, __VA_ARGS__) \
|
61 | 61 | default: \
|
62 |
| - AT_ERROR(#NAME, " not implemented for '", the_type.toString(), "'"); \ |
| 62 | + AT_ERROR(#NAME, " not implemented for '", the_type.toString(), "'"); \ |
63 | 63 | } \
|
64 | 64 | }()
|
65 | 65 |
|
|
74 | 74 | AT_PRIVATE_CASE_TYPE(at::ScalarType::Int, int32_t, __VA_ARGS__) \
|
75 | 75 | AT_PRIVATE_CASE_TYPE(at::ScalarType::Long, int64_t, __VA_ARGS__) \
|
76 | 76 | AT_PRIVATE_CASE_TYPE(at::ScalarType::Short, int16_t, __VA_ARGS__) \
|
77 |
| - AT_PRIVATE_CASE_TYPE(at::ScalarType::Half, Half, __VA_ARGS__) \ |
| 77 | + AT_PRIVATE_CASE_TYPE(at::ScalarType::Half, at::Half, __VA_ARGS__) \ |
78 | 78 | default: \
|
79 |
| - AT_ERROR(#NAME, " not implemented for '", the_type.toString(), "'"); \ |
| 79 | + AT_ERROR(#NAME, " not implemented for '", the_type.toString(), "'"); \ |
80 | 80 | } \
|
81 | 81 | }()
|
0 commit comments