Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/docker/ci_commit_pins/pytorch.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
53a2908a10f414a2f85caa06703a26a40e873869
gh/benjaminglass1/106/orig
2 changes: 1 addition & 1 deletion backends/apple/mps/test/test_mps.py
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,7 @@ def test_mps_backend_constant_pad_nd(self):
class PadModule(torch.nn.Module):
def __init__(self):
super().__init__()
self.constant_pad = torch.nn.ConstantPad2d((1, 2), 0)
self.constant_pad = torch.nn.ConstantPad2d((1, 2, 0, 0), 0)

def forward(self, x):
return self.constant_pad(x)
Expand Down
2 changes: 1 addition & 1 deletion backends/xnnpack/test/ops/test_static_constant_pad.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def forward(self, x, y, z):
class StaticConstantPad2d(torch.nn.Module):
def __init__(self):
super().__init__()
self.pad = torch.nn.ConstantPad2d([1, 2, 3, 4], 2.3)
self.pad = torch.nn.ConstantPad2d((1, 2, 3, 4), 2.3)

def forward(self, x):
y = self.pad(x)
Expand Down
Loading