Skip to content

Commit 62da03b

Browse files
committed
fix a test break
1 parent 5726c05 commit 62da03b

File tree

1 file changed

+2
-2
lines changed
  • onnxruntime/core/providers/webgpu/math

1 file changed

+2
-2
lines changed

Diff for: onnxruntime/core/providers/webgpu/math/einsum.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ EinsumEquation::EinsumEquation(const std::vector<const Tensor*>& inputs, const s
6868
// Initialize RHS if not specified.
6969
if (rhs.empty()) {
7070
for (const auto& pair : symbol_to_info_) {
71-
if (pair.second.count == 1 || pair.first == "...") {
72-
rhs += pair.first;
71+
if (pair.second.count == 1 || pair.first == "..." || pair.first.starts_with("_")) {
72+
rhs += pair.first.starts_with("_") ? "..." : pair.first;
7373
}
7474
}
7575
} else {

0 commit comments

Comments
 (0)