Skip to content

Commit

Permalink
Add arange() alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Holl committed Nov 25, 2024
1 parent 51c27f4 commit 33a6026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phiml/math/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
print_ as print,
slice_off,
zeros, ones, fftfreq, random_normal, random_normal as randn, random_uniform, random_uniform as rand, random_permutation, pick_random,
meshgrid, linspace, arange as range, range_tensor, # creation operators (use default backend)
meshgrid, linspace, arange, arange as range, range_tensor, # creation operators (use default backend)
zeros_like, ones_like,
pad,
swap_axes, # reshape operations
Expand Down

0 comments on commit 33a6026

Please sign in to comment.