Sam4onnx

Latest version: v1.0.16

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.0.10

- Supports the specification of `-np.inf`, `-np.inf`, `"Infinity"`, and `"-Infinity"`
![image](https://user-images.githubusercontent.com/33194443/183275681-4aa47989-03bf-4334-a956-b0c827093ddc.png)

1.0.9

- Support for constant rewriting when the same constant is shared. Valid only when `op_name` is specified. Generates a new constant that is different from the shared constant.

- `Reshape_156 onnx::Reshape_391 int64 [1, -1, 85]`
![image](https://user-images.githubusercontent.com/33194443/179403146-c0cc9881-29c2-485d-904a-31b976cd7ac2.png)
- `Reshape_174 onnx::Reshape_391 int64 [1, -1, 85]`
![image](https://user-images.githubusercontent.com/33194443/179403184-9f3cbf0e-582a-4e58-81a8-7ae4cbb140c2.png)
bash
sam4onnx \
--input_onnx_file_path yolov7-tiny_test_sim.onnx \
--output_onnx_file_path yolov7-tiny_test_sim_mod.onnx \
--op_name Reshape_156 \
--input_constants onnx::Reshape_391 int64 [1,14400,85]

- `Reshape_156 onnx::Reshape_391 int64 [1, -1, 85]` -> `Reshape_156 onnx::Reshape_391_mod_3 int64 [1, 14400, 85]`
![image](https://user-images.githubusercontent.com/33194443/179403335-0137bcb4-5186-426f-8afe-ab0feef73e30.png)
- `Reshape_174 onnx::Reshape_391 int64 [1, -1, 85]`
![image](https://user-images.githubusercontent.com/33194443/179403354-e6fbd739-87ed-4b3b-9b7d-1ebf42414c34.png)

1.0.8

- `string` attributes bug fixes

1.0.7

- Security update
- README update

1.0.6

- `eval()` -> `ast.literal_eval()`

1.0.5

- Fixed a bug that caused rewriting of direct constants to fail

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.