File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments