Commit 9b07e06
fix(paddle): Change object to Any in _can_be_converted_to_float
- Changed parameter type from object to Any in _can_be_converted_to_float function
- Added Any import to deepmd/pd/model/model/__init__.py
- Addresses code review feedback about using Any instead of object for better type flexibility
Addresses feedback from review comment 2715579252.
Co-authored-by: njzjz <9496702+njzjz@users.noreply.github.com>1 parent 5b4c024 commit 9b07e06
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
68 | | - | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| |||
0 commit comments