Commit fcb1a503 authored by Artur Wojcik's avatar Artur Wojcik
Browse files

dnnl: fix clang-tidy

parent 4f9088ad
...@@ -112,17 +112,17 @@ struct dnnl_op : auto_register_op<Derived> ...@@ -112,17 +112,17 @@ struct dnnl_op : auto_register_op<Derived>
#endif #endif
public: public:
// clang-format off // clang-format off
executable(const dnnl_op& op, const shape& _output_shape, const std::vector<shape>& _inputs) executable(const dnnl_op& op, const shape& out_shape, const std::vector<shape>& in_shapes)
: md{op.to_memory_desc(_output_shape, _inputs)}, : md{op.to_memory_desc(out_shape, in_shapes)},
prim{op.get_primitive(md)}, prim{op.get_primitive(md)},
arg_lookup{op.create_arg_map(_inputs.size())} arg_lookup{op.create_arg_map(in_shapes.size())}
#ifdef _DEBUG #ifdef _DEBUG
, self{op}, , self{op},
derived{static_cast<const Derived&>(op)}, derived{static_cast<const Derived&>(op)},
name{derived.name()}, name{derived.name()},
prim_attr{op.get_primitive_attr(md)}, prim_attr{op.get_primitive_attr(md)},
inputs{_inputs}, inputs{in_shapes},
output_shape{_output_shape} output_shape{out_shape}
#endif #endif
// clang-format on // clang-format on
{ {
......
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