Devectorize.jl icon indicating copy to clipboard operation
Devectorize.jl copied to clipboard

Support for sign()

Open ZacCranko opened this issue 9 years ago • 0 comments

Are there plans to support sign()? Just experimented with Devectorize.jl with a little function to implement soft thresholding and got the following error

julia> @inspect_devec y = sign(x) .* max(abs(x) .- λ,0)
ERROR: Devectorize.DeError("Unrecognized function sign with 1 arguments (in Devectorize)")

ZacCranko avatar Jun 06 '15 03:06 ZacCranko