mirror of
https://github.com/Laurent2916/Diffusers.jl.git
synced 2024-09-20 19:45:26 +00:00
🐛 fix bad syntax in Schedulers tests
This commit is contained in:
parent
8b098c4c09
commit
ada324cae2
|
@ -50,9 +50,7 @@ using Test
|
||||||
# corrupt x₀ with noise
|
# corrupt x₀ with noise
|
||||||
xₜ = Diffusers.add_noise(ddpm, x₀, ϵ, t)
|
xₜ = Diffusers.add_noise(ddpm, x₀, ϵ, t)
|
||||||
|
|
||||||
@test std(xₜ) ≈ 1.0 atol=1f-3
|
@test std(xₜ) ≈ 1.0 atol = 1.0f-3
|
||||||
@test mean(xₜ) ≈ 0.0 atol=1f-3
|
@test mean(xₜ) ≈ 0.0 atol = 1.0f-2
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue