8000 Comment to trigger CI rerun · pytorch/pytorch@688460c · GitHub
[go: up one dir, main page]

Skip to content

Commit 688460c

Browse files
Comment to trigger CI rerun
1 parent f2715f4 commit 688460c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torch/csrc/jit/passes/onnx/remove_inplace_ops_for_onnx.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ Node* addDummyClone(
137137
auto* noneNode = graph->create(prim::Constant);
138138
noneNode->output()->setType(NoneType::get());
139139
// For scripting mode, aten::clone requires input to be a TensorType
140-
// Hence if we encounter an IntType or FloatType, we set the input
141-
// to the appropriate TensorType
140+
// Hence if we encounter an IntType, FloatType, or BoolType,
141+
// we set the input to the appropriate TensorType
142142
if (orig_data->type()->kind() == TypeKind::IntType &&
143143
insertBefore == false) {
144144
orig_data->setType(TensorType::fromNumberType(*IntType::get()));

0 commit comments

Comments
 (0)
0