fix: cast input and output types at model's interface #3352
5.55% of diff hit (within 100.00% threshold of 75.64%)
View this Pull Request on Codecov
5.55% of diff hit (within 100.00% threshold of 75.64%)
Annotations
Check warning on line 69 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L67-L69
Added lines #L67 - L69 were not covered by tests
Check warning on line 126 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L126
Added line #L126 was not covered by tests
Check warning on line 130 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L129-L130
Added lines #L129 - L130 were not covered by tests
Check warning on line 136 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L136
Added line #L136 was not covered by tests
Check warning on line 164 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L164
Added line #L164 was not covered by tests
Check warning on line 208 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L208
Added line #L208 was not covered by tests
Check warning on line 211 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L211
Added line #L211 was not covered by tests
Check warning on line 226 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L226
Added line #L226 was not covered by tests
Check warning on line 243 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L243
Added line #L243 was not covered by tests
Check warning on line 249 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L249
Added line #L249 was not covered by tests
Check warning on line 254 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L253-L254
Added lines #L253 - L254 were not covered by tests
Check warning on line 258 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L258
Added line #L258 was not covered by tests
Check warning on line 261 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L260-L261
Added lines #L260 - L261 were not covered by tests
Check warning on line 275 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L275
Added line #L275 was not covered by tests
Check warning on line 282 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L279-L282
Added lines #L279 - L282 were not covered by tests
Check warning on line 21 in deepmd/pt/model/model/make_model.py
codecov / codecov/patch
deepmd/pt/model/model/make_model.py#L21
Added line #L21 was not covered by tests
Check warning on line 67 in deepmd/pt/model/model/make_model.py
codecov / codecov/patch
deepmd/pt/model/model/make_model.py#L65-L67
Added lines #L65 - L67 were not covered by tests
Check warning on line 127 in deepmd/pt/model/model/make_model.py
codecov / codecov/patch
deepmd/pt/model/model/make_model.py#L127
Added line #L127 was not covered by tests
Check warning on line 130 in deepmd/pt/model/model/make_model.py
codecov / codecov/patch
deepmd/pt/model/model/make_model.py#L130
Added line #L130 was not covered by tests
Check warning on line 159 in deepmd/pt/model/model/make_model.py
codecov / codecov/patch
deepmd/pt/model/model/make_model.py#L159
Added line #L159 was not covered by tests
Check warning on line 203 in deepmd/pt/model/model/make_model.py
codecov / codecov/patch
deepmd/pt/model/model/make_model.py#L203
Added line #L203 was not covered by tests
Check warning on line 206 in deepmd/pt/model/model/make_model.py
codecov / codecov/patch
deepmd/pt/model/model/make_model.py#L206
Added line #L206 was not covered by tests
Check warning on line 221 in deepmd/pt/model/model/make_model.py
codecov / codecov/patch
deepmd/pt/model/model/make_model.py#L221
Added line #L221 was not covered by tests
Check warning on line 224 in deepmd/pt/model/model/make_model.py
codecov / codecov/patch
deepmd/pt/model/model/make_model.py#L224
Added line #L224 was not covered by tests
Check warning on line 238 in deepmd/pt/model/model/make_model.py
codecov / codecov/patch
deepmd/pt/model/model/make_model.py#L238
Added line #L238 was not covered by tests