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 3319ed9 commit bac333fCopy full SHA for bac333f
specdb/db.py
@@ -1284,12 +1284,7 @@
1284
cp.Value.Ge(lambda deps, length, ix: 1),
1285
],
1286
),
1287
- InPosArg( # transposed
1288
- ArgType.Bool,
1289
- name="transposed",
1290
- # TODO(mcandales): Executorch specific constraint
1291
- # constraints=[cp.Value.Eq(lambda deps: False)],
1292
- ),
+ InPosArg(ArgType.Bool, name="transposed"),
1293
InPosArg( # output_padding
1294
ArgType.LengthList,
1295
name="output_padding",
@@ -1320,7 +1315,14 @@
1320
1315
1321
1316
1322
1317
outspec=[
1323
- OutArg(ArgType.Tensor),
1318
+ OutArg(
1319
+ ArgType.Tensor,
+ constraints=[
+ cp.Dtype.Eq(
+ lambda deps: deps[0].dtype,
+ ),
1324
+ ],
1325
+ )
1326
1327
1328
Spec(
0 commit comments