Commit 1b8cb243 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 6ea3abe0
......@@ -16,15 +16,15 @@ struct hip_convert : unary_device<hip_convert, device::convert>
{
op::convert op;
hip_convert(const op::convert& oper) : op(oper) { }
hip_convert(const op::convert&& oper) : op(std::move(oper)) { }
shape compute_shape(std::vector<shape> inputs) const
{
inputs.pop_back();
check_shapes{inputs}.packed();
return op.compute_shape(inputs);
}
hip_convert(const op::convert& oper) : op(oper) {}
hip_convert(const op::convert&& oper) : op(std::move(oper)) {}
shape compute_shape(std::vector<shape> inputs) const
{
inputs.pop_back();
check_shapes{inputs}.packed();
return op.compute_shape(inputs);
}
};
} // namespace gpu
......
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