Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMelt committed Nov 15, 2024
1 parent eacbebc commit 7474b89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ctorch.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,11 @@ EXPORT_C int torch_tensor_get_rank(const torch_tensor_t tensor);
* @param Torch Tensor to determine the rank of
* @return pointer to the sizes array of the Torch Tensor
*/
#ifdef UNIX
EXPORT_C const long int* torch_tensor_get_sizes(const torch_tensor_t tensor);
#else
EXPORT_C const long long int* torch_tensor_get_sizes(const torch_tensor_t tensor);
#endif

/**
* Function to delete a Torch Tensor to clean up
Expand Down

0 comments on commit 7474b89

Please sign in to comment.