Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR reformat DPA1 descriptor consistent for TF/PT/DP - Clean up the implementation of DPA1 descriptor in TF/PT - Add numpy implementation for DPA1 descriptor - Add `serialize` and `deserialize` for DPA1 descriptor in TF/PT/DP - Add consistence test for TF/PT/DP Now DPA1 descriptor in TF and PT&DP are consistent when: `smooth_type_embdding` == False `env_protection` == 0.0 `stripped_type_embedding` == False DPA1 descriptor in PT and DP are always consistent. Need to fix - consistence in TF: when `excluded_types` != [] and `attn_layer` > 0. --------- Signed-off-by: Duo <50307526+iProzd@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
- Loading branch information