Skip to content

Commit c1bc381

Browse files
authored
[Bug Fix] new sample STFPM to validate fix_hash (#273)
* Use astor instead of ast to unparse source code of paddle model, to avoid unstable result between different python versions. * fix hash bug cased by python-version 3.10/3.12
1 parent 2e977e3 commit c1bc381

File tree

6 files changed

+1986
-0
lines changed

6 files changed

+1986
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
32db5c97231520cb0081bc48365b4cb65eeda8c2a860564cbce9488f14392121
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"framework": "paddle",
3+
"model_name": "STFPM",
4+
"num_devices_required": 1,
5+
"num_nodes_required": 1
6+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
class Program_weight_tensor_data_0:
2+
name = "data_0"
3+
shape = [1, 3, 256, 256]
4+
dtype = "float32"
5+
min_val = float("-1.54422")
6+
max_val = float("1.21516")
7+
mean = float("-0.201062")
8+
std = float("0.553945")
9+
data = None

0 commit comments

Comments
 (0)