Skip to content

Commit

Permalink
dataframe: passing device to PHETensor convertion
Browse files Browse the repository at this point in the history
Signed-off-by: mgqa34 <mgq3374541@163.com>
Signed-off-by: weiwee <wbwmat@gmail.com>
  • Loading branch information
mgqa34 authored and sagewe committed Aug 9, 2023
1 parent 070bf26 commit 0e6c30f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/fate/arch/dataframe/manager/block_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ def convert_to_phe_tensor(self, block, shape):
coder=self._coder,
shape=shape,
data=block,
device=self._device,
dtype=self._dtype)

@property
Expand Down

0 comments on commit 0e6c30f

Please sign in to comment.