From 60e3a94952fde5cb76c1ebb979a4df51a1a30ca9 Mon Sep 17 00:00:00 2001 From: Ali Hamdi Date: Fri, 9 Jun 2017 07:23:54 +0200 Subject: [PATCH] update tests --- test/backend/tensorflow.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/backend/tensorflow.jl b/test/backend/tensorflow.jl index 4cdb353b..178de761 100644 --- a/test/backend/tensorflow.jl +++ b/test/backend/tensorflow.jl @@ -24,7 +24,7 @@ test_anon(tf) end @testset "Ops" begin - A = convert(Array{Float32},randn(5,5)) + A = randn(Float32,(5,5)) u,s,v = tf(@net x -> svd(x))(A) @test A ≈ u*diagm(s)*transpose(v) @test tf(@net x -> inv(x))(A) ≈ inv(A)