Commit 9a43b32c authored by Shucai Xiao's avatar Shucai Xiao
Browse files

Merge branch 'adjust_gpu_allocation' into ins_fp32_fp16

parents 5856e5d0 29865b9a
......@@ -7,7 +7,7 @@ namespace gpu {
shape miopen_lrn::compute_shape(const std::vector<shape>& inputs) const
{
check_shapes{inputs, *this}.has(2).not_broadcasted();
check_shapes{inputs, *this}.has(2).standard();
return inputs.at(1);
}
......
......@@ -7,7 +7,7 @@ namespace gpu {
shape miopen_relu::compute_shape(const std::vector<shape>& inputs) const
{
check_shapes{inputs, *this}.has(2).not_broadcasted();
check_shapes{inputs, *this}.has(2).not_broadcasted().not_transposed();
return inputs.at(1);
}
......
......@@ -7,7 +7,7 @@ namespace gpu {
shape miopen_tanh::compute_shape(const std::vector<shape>& inputs) const
{
check_shapes{inputs, *this}.has(2).not_broadcasted();
check_shapes{inputs, *this}.has(2).not_broadcasted().not_transposed();
return inputs.at(1);
}
......
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