Commit 3272b22e authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 94e3a2e4
......@@ -17,7 +17,7 @@ struct test_lstm_bidirct_last : verify_program<test_lstm_bidirct_last>
int hidden_size = 5;
int input_size = 8;
int num_dirct = 2;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_lstm_bidirct_seq1 : verify_program<test_lstm_bidirct_seq1>
int hidden_size = 5;
int input_size = 8;
int num_dirct = 2;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_lstm_forward_3args : verify_program<test_lstm_forward_3args>
int hidden_size = 5;
int input_size = 8;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_lstm_forward_3args_und : verify_program<test_lstm_forward_3args_und>
int hidden_size = 5;
int input_size = 8;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_lstm_forward_default_actv : verify_program<test_lstm_forward_default
int hidden_size = 5;
int input_size = 8;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_lstm_forward_default_actv1 : verify_program<test_lstm_forward_defaul
int hidden_size = 5;
int input_size = 8;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_lstm_forward_hs : verify_program<test_lstm_forward_hs>
int hidden_size = 5;
int input_size = 8;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_lstm_forward_last : verify_program<test_lstm_forward_last>
int hidden_size = 5;
int input_size = 8;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_lstm_forward_seq1 : verify_program<test_lstm_forward_seq1>
int hidden_size = 5;
int input_size = 8;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_lstm_reverse_3args : verify_program<test_lstm_reverse_3args>
int hidden_size = 5;
int input_size = 8;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_lstm_reverse_3args_cell_output : verify_program<test_lstm_reverse_3a
int hidden_size = 5;
int input_size = 8;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_lstm_reverse_last : verify_program<test_lstm_reverse_last>
int hidden_size = 5;
int input_size = 8;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_lstm_three_outputs : verify_program<test_lstm_three_outputs>
int hidden_size = 5;
int input_size = 8;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_lstm_two_outputs : verify_program<test_lstm_two_outputs>
int hidden_size = 5;
int input_size = 8;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -9,10 +9,10 @@ struct test_multinomial : verify_program<test_multinomial>
migraphx::program create_program() const
{
migraphx::program p;
auto* mm = p.get_main_module();
auto* mm = p.get_main_module();
int sample_size = 10;
int batch_size = 2;
float seed = 0.0f;
float seed = 0.0f;
std::mt19937 gen(seed);
std::uniform_real_distribution<> dis(0.0, 1.0);
std::vector<float> rand_samples(batch_size * sample_size);
......
......@@ -17,7 +17,7 @@ struct test_rnn_3args : verify_program<test_rnn_3args>
int hidden_size = 4;
int input_size = 3;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_rnn_4args : verify_program<test_rnn_4args>
int hidden_size = 4;
int input_size = 3;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_rnn_5args : verify_program<test_rnn_5args>
int hidden_size = 4;
int input_size = 3;
int num_dirct = 1;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_rnn_bi_3args : verify_program<test_rnn_bi_3args>
int hidden_size = 4;
int input_size = 3;
int num_dirct = 2;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
......@@ -17,7 +17,7 @@ struct test_rnn_bidirectional : verify_program<test_rnn_bidirectional>
int hidden_size = 4;
int input_size = 3;
int num_dirct = 2;
float clip = 0.0f;
float clip = 0.0f;
migraphx::program p;
auto* mm = p.get_main_module();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment