mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-05 00:14:54 +08:00
Fix stride printing/parsing formatting (#45156)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/45156 Test Plan: Imported from OSS Reviewed By: gmagogsfm Differential Revision: D24078695 Pulled By: ansley fbshipit-source-id: dab993277d43b31105c38d12098c37653747b42a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
255b0e839f
commit
5072728d88
@ -79,11 +79,11 @@ graph():
|
||||
ConstantPooling(graph);
|
||||
testing::FileCheck()
|
||||
.check_count(
|
||||
"Float(2:1, requires_grad=0, device=cpu) = prim::Constant",
|
||||
"Float(2, strides=[1], requires_grad=0, device=cpu) = prim::Constant",
|
||||
1,
|
||||
/*exactly*/ true)
|
||||
->check_count(
|
||||
"Long(2:1, requires_grad=0, device=cpu) = prim::Constant",
|
||||
"Long(2, strides=[1], requires_grad=0, device=cpu) = prim::Constant",
|
||||
1,
|
||||
/*exactly*/ true)
|
||||
->run(*graph);
|
||||
|
||||
Reference in New Issue
Block a user