Skip to content

Commit

Permalink
remove unused codes in se_a.py (#3049)
Browse files Browse the repository at this point in the history
  • Loading branch information
nahso authored Dec 12, 2023
1 parent 2204ec1 commit 7648d7a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions deepmd/descriptor/se_a.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,13 +1002,6 @@ def _filter_lower(
[-1, two_side_type_embedding.shape[-1]],
)

atype_expand = tf.reshape(self.atype_nloc, [-1, 1])
idx_i = tf.tile(atype_expand * padding_ntypes, [1, self.nnei])
idx_j = tf.reshape(self.nei_type_vec, [-1, self.nnei])
idx = idx_i + idx_j
index_of_two_side = tf.reshape(idx, [-1])
self.extra_embedding_index = index_of_two_side

net_output = embedding_net(
two_side_type_embedding,
self.filter_neuron,
Expand Down

0 comments on commit 7648d7a

Please sign in to comment.