Commit 50f87a87 authored by Paul's avatar Paul
Browse files

Formatting

parent 6106ed16
...@@ -132,7 +132,7 @@ struct mlir_program ...@@ -132,7 +132,7 @@ struct mlir_program
return mlirRankedTensorTypeGet(lens.size(), lens.data(), make_type(s.type())); return mlirRankedTensorTypeGet(lens.size(), lens.data(), make_type(s.type()));
} }
template<class Range> template <class Range>
std::vector<MlirType> make_tensors(const Range& r) std::vector<MlirType> make_tensors(const Range& r)
{ {
std::vector<MlirType> result; std::vector<MlirType> result;
...@@ -212,12 +212,9 @@ struct mlir_program ...@@ -212,12 +212,9 @@ struct mlir_program
} }
} }
MlirAttribute attribute(MlirType t) const MlirAttribute attribute(MlirType t) const { return mlirTypeAttrGet(t); }
{
return mlirTypeAttrGet(t);
}
template<class T> template <class T>
MlirNamedAttribute name_attribute(const std::string_view& key, const T& x) const MlirNamedAttribute name_attribute(const std::string_view& key, const T& x) const
{ {
MlirNamedAttribute attr; MlirNamedAttribute attr;
...@@ -226,7 +223,6 @@ struct mlir_program ...@@ -226,7 +223,6 @@ struct mlir_program
return attr; return attr;
} }
mlir_context ctx; mlir_context ctx;
}; };
......
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