Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
add new data
  • Loading branch information
Abdurrahheem committed Aug 8, 2024
commit 93a4cad1d0c705e5118c0a0278b6c83c30f0c45b
Binary file modified testdata/dnn/onnx/data/input_conv2dPadding.npy
Binary file not shown.
Binary file modified testdata/dnn/onnx/data/output_conv2dPadding.npy
Binary file not shown.
2 changes: 1 addition & 1 deletion testdata/dnn/onnx/generate_onnx_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1589,7 +1589,7 @@ def forward(self, x):
return self.layer(x)

model = Conv2D(3, 6, 3, 1, 1)
x = torch.randn(1, 3, 30, 30)
x = torch.randn(1, 3, 30, 30) * 30
save_data_and_model("conv2dPadding", x, model, export_params=True)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all lowercase names are preferable for files.


def _extract_value_info(x, name, type_proto=None): # type: (Union[List[Any], np.ndarray, None], Text, Optional[TypeProto]) -> onnx.ValueInfoProto
Expand Down