ivy icon indicating copy to clipboard operation
ivy copied to clipboard

passing postitional args as kw for `paddle.Tensor.astype` at paddle frontend

Open akshatvishu opened this issue 1 year ago • 0 comments

Currently the implementation for paddle.Tensor.astype is passing positional argument dtype as keyword argument which is throwing an error.

Implementation: code

Also, fixed the decorator to specify bfloat16 as the only supportive as ivy doesn't it at paddle backend yet, other than that all dtypes should be accepted by astype

akshatvishu avatar Jun 30 '23 11:06 akshatvishu