@@ -117,28 +117,28 @@ class OpGluOutTest : public OperatorTest {
117117TEST_F (OpGluOutTest, AllInputFloatOutputSupport) {
118118#define TEST_ENTRY (ctype, dtype ) \
119119 test_glu_out<ScalarType::dtype, ScalarType::Float>();
120- ET_FORALL_FLOAT_TYPES (TEST_ENTRY);
120+ ET_FORALL_FLOATHBF16_TYPES (TEST_ENTRY);
121121#undef TEST_ENTRY
122122}
123123
124124TEST_F (OpGluOutTest, AllInputDoubleOutputSupport) {
125125#define TEST_ENTRY (ctype, dtype ) \
126126 test_glu_out<ScalarType::dtype, ScalarType::Double>();
127- ET_FORALL_FLOAT_TYPES (TEST_ENTRY);
127+ ET_FORALL_FLOATHBF16_TYPES (TEST_ENTRY);
128128#undef TEST_ENTRY
129129}
130130
131131TEST_F (OpGluOutTest, AllInputHalfOutputSupport) {
132132#define TEST_ENTRY (ctype, dtype ) \
133133 test_glu_out<ScalarType::dtype, ScalarType::Half>();
134- ET_FORALL_FLOAT_TYPES (TEST_ENTRY);
134+ ET_FORALL_FLOATHBF16_TYPES (TEST_ENTRY);
135135#undef TEST_ENTRY
136136}
137137
138138TEST_F (OpGluOutTest, AllInputBFloat16OutputSupport) {
139139#define TEST_ENTRY (ctype, dtype ) \
140140 test_glu_out<ScalarType::dtype, ScalarType::BFloat16>();
141- ET_FORALL_FLOAT_TYPES (TEST_ENTRY);
141+ ET_FORALL_FLOATHBF16_TYPES (TEST_ENTRY);
142142#undef TEST_ENTRY
143143}
144144
0 commit comments