Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Fix for unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
chang-l committed Feb 23, 2024
1 parent cc633b9 commit b04cfc1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ def host_sample_all_neighbors(
output_id = output_sample_offset_tensor[i]
for j in range(end - start):
output_dest_tensor[output_id + j] = host_csr_col_ptr[start + j]
output_center_localid_tensor[output_id + j] = node_id
output_center_localid_tensor[output_id + j] = i
output_edge_gid_tensor[output_id + j] = start + j
return output_dest_tensor, output_center_localid_tensor, output_edge_gid_tensor
return output_sample_offset_tensor, output_dest_tensor, output_center_localid_tensor, output_edge_gid_tensor


def copy_host_1D_tensor_to_wholememory(
Expand Down

0 comments on commit b04cfc1

Please sign in to comment.