Skip to content

Commit e8a7b1f

Browse files
print bfloat16 tensor data
1 parent 400b2a5 commit e8a7b1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/evalue_util/print_evalue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ void print_tensor(std::ostream& os, executorch::aten::Tensor tensor) {
160160
break;
161161

162162
switch (tensor.scalar_type()) {
163-
ET_FORALL_REAL_TYPES_AND2(Bool, Half, PRINT_TENSOR_DATA)
163+
ET_FORALL_REALHBBF16_TYPES(PRINT_TENSOR_DATA)
164164
default:
165165
os << "[<unhandled scalar type " << (int)tensor.scalar_type() << ">]";
166166
}

0 commit comments

Comments
 (0)