Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

normalise broke due to unsupport kw argument corrected on TrackedArray #610

Closed
chengchingwen opened this issue Feb 9, 2019 · 2 comments
Closed

Comments

@chengchingwen
Copy link
Member

in #587 and #592 the std in normalize add a keyword argument corrected, but the std define for TrackedArray only support for dims and mean keyword argument. which cause the following error

ERROR: MethodError: no method matching std(::TrackedArray{…,Array{Float64,2}}; dims=1, mean=[-0.300933 0.
033949 -0.415278] (tracked), corrected=false)
Closest candidates are:
  std(::TrackedArray; dims, mean) at /home/peter/.julia/packages/Flux/8XpDt/src/tracker/lib/array.jl:315 
got unsupported keyword argument "corrected"
  std(::AbstractArray; corrected, mean, dims) at /home/peter/peter/julia/usr/share/julia/stdlib/v1.0/Stat
istics/src/Statistics.jl:356
  std(::Any; corrected, mean) at /home/peter/peter/julia/usr/share/julia/stdlib/v1.0/Statistics/src/Stati
stics.jl:370 got unsupported keyword argument "dims"
@KristofferC
Copy link
Contributor

Fixed by #606?

@chengchingwen
Copy link
Member Author

@KristofferC Thanks, I didn't notice that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants