Skip to content

Commit

Permalink
common: move default_attr back
Browse files Browse the repository at this point in the history
  • Loading branch information
dzarukin committed Dec 16, 2024
1 parent 0b8567e commit 96e5888
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/common/primitive_attr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
namespace dnnl {
namespace impl {

const primitive_attr_t &default_attr();

struct rnn_data_qparams_t : public c_compatible {
rnn_data_qparams_t() : scale_(1.f), shift_(0.f) {}
bool has_default_values() const { return (scale_ == 1. && shift_ == 0.); }
Expand Down
1 change: 0 additions & 1 deletion src/common/primitive_attr_quant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
namespace dnnl {
namespace impl {

const primitive_attr_t &default_attr();
struct runtime_scales_t;
const runtime_scales_t &default_runtime_scale();

Expand Down

0 comments on commit 96e5888

Please sign in to comment.