- Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The following example does not work when base is defined.
>>> import dpnp >>> x=dpnp.array([2,3,4,5], device="gpu") >>> dpnp.logspace(1, x[2:4], 4, device="cpu") # array([[1.00000000e+01, 1.00000000e+01], # [1.00000000e+02, 2.15443469e+02], # [1.00000000e+03, 4.64158883e+03], # [1.00000000e+04, 1.00000000e+05]]) >>> dpnp.logspace(x[0:2], 10, 4, device="cpu") array([[1.00000000e+02, 1.00000000e+03], [4.64158883e+04, 2.15443469e+05], [2.15443469e+07, 4.64158883e+07], [1.00000000e+10, 1.00000000e+10]]) >>> dpnp.logspace(1, 10, 4, base=x[2:4], device="cpu") File ~/dpnp/dpnp_algo/dpnp_arraycreation.py:288 ExecutionPlacementError: Execution placement can not be unambiguously inferred from input arguments.Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working