Skip to content

Commit 89743ff

Browse files
fix
1 parent c2e337f commit 89743ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/api_cc/src/DeepPotPD.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,12 +559,12 @@ void DeepPotPD::compute(ENERGYVTYPE& ener,
559559
std::vector<VALUETYPE> coord_wrapped = coord;
560560
int natoms = atype.size();
561561
int nframes = 1;
562-
auto coord_wrapped_Tensor = predictor->GetInputHandle("extended_coord");
562+
auto coord_wrapped_Tensor = predictor->GetInputHandle("coord");
563563
coord_wrapped_Tensor->Reshape({1, natoms, 3});
564564
coord_wrapped_Tensor->CopyFromCpu(coord_wrapped.data());
565565

566566
std::vector<std::int64_t> atype_64(atype.begin(), atype.end());
567-
auto atype_Tensor = predictor->GetInputHandle("extended_atype");
567+
auto atype_Tensor = predictor->GetInputHandle("atype");
568568
atype_Tensor->Reshape({1, natoms});
569569
atype_Tensor->CopyFromCpu(atype_64.data());
570570

0 commit comments

Comments
 (0)