batching tests
This commit is contained in:
parent
8a071115b2
commit
28202792bc
7
test/batching.jl
Normal file
7
test/batching.jl
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
bs = Batch([[1,2,3],[4,5,6]])
|
||||||
|
|
||||||
|
@test typeof(bs) <: Batch
|
||||||
|
|
||||||
|
@test bs == [[1,2,3],[4,5,6]]
|
||||||
|
|
||||||
|
@test rawbatch(bs) == [1 2 3; 4 5 6]
|
@ -13,6 +13,7 @@ macro tfonly(ex)
|
|||||||
:(Base.find_in_path("TensorFlow") ≠ nothing && $(esc(ex)))
|
:(Base.find_in_path("TensorFlow") ≠ nothing && $(esc(ex)))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
include("batching.jl")
|
||||||
include("basic.jl")
|
include("basic.jl")
|
||||||
include("recurrent.jl")
|
include("recurrent.jl")
|
||||||
include("backend.jl")
|
include("backend.jl")
|
||||||
|
Loading…
Reference in New Issue
Block a user