Skip to content

Commit be7489a

Browse files
committed
fix(jax): setattr case_embd
`case_embd` was supported but the JAX backend was not touched.
1 parent b9c82d7 commit be7489a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

deepmd/jax/fitting/fitting.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def setattr_for_general_fitting(name: str, value: Any) -> Any:
4343
"fparam_inv_std",
4444
"aparam_avg",
4545
"aparam_inv_std",
46+
"case_embd",
4647
"default_fparam_tensor",
4748
}:
4849
value = to_jax_array(value)

0 commit comments

Comments
 (0)