Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
co63oc authored Nov 18, 2024
1 parent 81a2d43 commit a11367a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slm/model_zoo/bert/static_ipu/dataset_ipu.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def post_fetch(self):

lod_feed_list = []
for data in np_feed_list:
tensor = paddle.fluid.core.LoDTensor()
tensor = paddle.fluid.core.DenseTensor()
place = paddle.CPUPlace()
tensor.set(data, place)
lod_feed_list.append(tensor)
Expand Down

0 comments on commit a11367a

Please sign in to comment.