mirror of
https://github.com/Laurent2916/Diffusers.jl.git
synced 2024-09-16 17:45:29 +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
|
||||
xₜ = Diffusers.add_noise(ddpm, x₀, ϵ, t)
|
||||
|
||||
@test std(xₜ) ≈ 1.0 atol=1f-3
|
||||
@test mean(xₜ) ≈ 0.0 atol=1f-3
|
||||
end
|
||||
end
|
||||
@test std(xₜ) ≈ 1.0 atol = 1.0f-3
|
||||
@test mean(xₜ) ≈ 0.0 atol = 1.0f-2
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue