File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ The embedding is made as follows:
60604) The element-wize `neg_tensor` function to get cell weights of proper sign to apply shortest path algorithms.
61615) A squeeze function to forget the two last dimensions.
6262"""
63- function Utils. generate_statistical_model (:: WarcraftBenchmark )
64- Random. seed! (67 )
63+ function Utils. generate_statistical_model (:: WarcraftBenchmark ; seed = 0 )
64+ Random. seed! (seed )
6565 resnet18 = ResNet (18 ; pretrain= false , nclasses= 1 )
6666 model_embedding = Chain (
6767 resnet18. layers[1 ][1 ][1 ],
Original file line number Diff line number Diff line change 2626
2727 y_bellman = bellman_maximizer (θ)
2828 y_dijkstra = dijkstra_maximizer (θ)
29+ @test size (y_bellman) == size (y_true)
30+ @test size (y_dijkstra) == size (y_true)
2931 @test objective_value (b, θ_true, y_bellman) ==
3032 objective_value (b, θ_true, y_dijkstra)
3133
You can’t perform that action at this time.
0 commit comments