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

clang format

parent 94e3a2e4
......@@ -17,7 +17,7 @@ struct test_gru_bidirct_3args_und : verify_program<test_gru_bidirct_3args_und>
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_gru_bidirct_default_actv : verify_program<test_gru_bidirct_default_a
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_gru_bidirct_default_actv1 : verify_program<test_gru_bidirct_default_
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_gru_bidirct_seq1 : verify_program<test_gru_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_gru_forward : verify_program<test_gru_forward>
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_gru_forward_3args : verify_program<test_gru_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_gru_forward_3args_und : verify_program<test_gru_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_gru_forward_default_actv : verify_program<test_gru_forward_default_a
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_gru_forward_default_actv1 : verify_program<test_gru_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_gru_forward_seq1 : verify_program<test_gru_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_gru_reverse_3args : verify_program<test_gru_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_gru_reverse_last : verify_program<test_gru_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_gru_two_outputs : verify_program<test_gru_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();
......
......@@ -44,7 +44,7 @@ struct test_layernorm : verify_program<test_layernorm>
migraphx::program create_program() const
{
migraphx::program p;
auto* mm = p.get_main_module();
auto* mm = p.get_main_module();
std::vector<int> dims = {1, 1, 5};
auto x = mm->add_parameter("x", migraphx::shape{migraphx::shape::float_type, dims});
add_layernorm(*mm, x, dims);
......@@ -57,7 +57,7 @@ struct test_layernorm2 : verify_program<test_layernorm2>
migraphx::program create_program() const
{
migraphx::program p;
auto* mm = p.get_main_module();
auto* mm = p.get_main_module();
std::vector<int> dims = {1, 4, 24};
auto x = mm->add_parameter("x", migraphx::shape{migraphx::shape::float_type, dims});
add_layernorm(*mm, x, dims);
......@@ -70,7 +70,7 @@ struct test_layernorm_triadd : verify_program<test_layernorm_triadd>
migraphx::program create_program() const
{
migraphx::program p;
auto* mm = p.get_main_module();
auto* mm = p.get_main_module();
std::vector<int> dims = {1, 4, 24};
auto x = mm->add_parameter("x", migraphx::shape{migraphx::shape::float_type, dims});
auto y = mm->add_parameter("y", migraphx::shape{migraphx::shape::float_type, dims});
......@@ -87,7 +87,7 @@ struct test_layernorm_triadd_large : verify_program<test_layernorm_triadd_large>
migraphx::program create_program() const
{
migraphx::program p;
auto* mm = p.get_main_module();
auto* mm = p.get_main_module();
std::vector<int> dims = {1, 384, 1024};
auto x = mm->add_parameter("x", migraphx::shape{migraphx::shape::float_type, dims});
auto y = mm->add_parameter("y", migraphx::shape{migraphx::shape::float_type, dims});
......
......@@ -17,7 +17,7 @@ struct test_lstm_bidirct_3args : verify_program<test_lstm_bidirct_3args>
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_3args_und : verify_program<test_lstm_bidirct_3args_und>
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_default_actv : verify_program<test_lstm_bidirct_default
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_default_actv1 : verify_program<test_lstm_bidirct_defaul
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_default_actv2 : verify_program<test_lstm_bidirct_defaul
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_hs : verify_program<test_lstm_bidirct_hs>
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();
......
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