File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ static c10::optional<MatchedSchema> tryMatchSchema(
352
352
auto schema_namespace = schema.operator_name ().getNamespace ();
353
353
bool is_aten = false ;
354
354
if (schema_namespace.has_value ()) {
355
- if (schema_namespace.value () == " aten" ){
355
+ if (schema_namespace.value () == " aten" ) {
356
356
is_aten = true ;
357
357
}
358
358
}
@@ -400,7 +400,8 @@ static c10::optional<MatchedSchema> tryMatchSchema(
400
400
// used
401
401
actual_named_value = args[used_args];
402
402
used_args++;
403
- } else if (auto kwarg_idx = findInputWithName (arg.name (), kwargs, is_aten)) {
403
+ } else if (
404
+ auto kwarg_idx = findInputWithName (arg.name (), kwargs, is_aten)) {
404
405
const NamedValue& nv = kwargs[*kwarg_idx];
405
406
if (used_kwarg[*kwarg_idx]) {
406
407
if (failure_messages) {
You can’t perform that action at this time.
0 commit comments