Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions kernels/portable/cpu/op_fill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ Tensor& fill_tensor_out(
CTYPE_A b_casted;
ET_SWITCH_REALHBBF16_TYPES(b_type, ctx, "fill.Tensor_out", CTYPE_B, [&] {
CTYPE_B b_val;
ET_DCHECK_MSG(
extract_scalar_tensor(b, &b_val), "extract_scalar_tensor failed!");
ET_EXTRACT_SCALAR_TENSOR(b, b_val);
b_casted = static_cast<CTYPE_A>(b_val);
});

Expand Down
Loading