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 Jan 24, 2025
1 parent d3af801 commit 8854f3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/common/primitive_attr.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright 2017-2024 Intel Corporation
* Copyright 2017-2025 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down 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 8854f3c

Please sign in to comment.