deepmodeling / deepmodeling/deepmd-kit

refactorize `compute_input_stat`

Open
#4,732 0 comments 1 reaction 1 assignee Assigned to @Copilot View on GitHub
enhancement
Dominant language
Python
Stars
2k
Forks
649
Avg merge
6d 18h
Merged PRs (30d)
15

Description

I feel we should refactorize all the comput_input_stat, as almost all the classes implement the method in exactly the same way.

Shall we consider firstly refactorize the pt backend and then implement the python backend?

_Originally posted by @wanghan-iapcm in https://github.com/deepmodeling/deepmd-kit/pull/4729#pullrequestreview-2831683472_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.