We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8482efb commit ba38445Copy full SHA for ba38445
torch/csrc/jit/ir.cpp
@@ -885,8 +885,6 @@ bool Node::hasSideEffects() const {
885
case prim::Print:
886
case prim::RaiseException:
887
case prim::SetAttr:
888
- case aten::clear:
889
- case aten::setdefault:
890
case aten::warn:
891
case aten::save:
892
case aten::manual_seed:
torch/csrc/jit/register_prim_ops.cpp
@@ -2438,7 +2438,7 @@ RegisterOperators reg2({
2438
" key, t default_value) -> t(*)", \
2439
dictGet<true>), \
2440
Operator( \
2441
- "aten::setdefault(Dict(" key_type ", t) self, " key_type \
+ "aten::setdefault(Dict(" key_type ", t)(a!) self, " key_type \
2442
2443
dictSetDefault), \
2444
0 commit comments