Commit 51dc51eb authored by nishant.b.patel's avatar nishant.b.patel

change file name to quantization_utils

parent a91abd8b
...@@ -38,8 +38,8 @@ set (SRC ...@@ -38,8 +38,8 @@ set (SRC
builder/quantization/quantized_linear_matmul.cpp builder/quantization/quantized_linear_matmul.cpp
builder/quantization/quantized_linear_matmul.hpp builder/quantization/quantized_linear_matmul.hpp
builder/quantization_util.hpp builder/quantization_util.hpp
builder/quantization_scale.hpp builder/quantization_utils.hpp
builder/quantization_scale.cpp builder/quantization_utils.cpp
builder/reduce_ops.cpp builder/reduce_ops.cpp
builder/reduce_ops.hpp builder/reduce_ops.hpp
builder/reshape.cpp builder/reshape.cpp
......
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
// limitations under the License. // limitations under the License.
//***************************************************************************** //*****************************************************************************
#include "quantization_scale.hpp" #include "quantization_utils.hpp"
namespace ngraph namespace ngraph
{ {
namespace builder namespace builder
{ {
namespace quantization_scale namespace quantization_utils
{ {
std::shared_ptr<Node> max_abs(std::shared_ptr<Node> a, std::shared_ptr<Node> b) std::shared_ptr<Node> max_abs(std::shared_ptr<Node> a, std::shared_ptr<Node> b)
{ {
......
...@@ -35,7 +35,7 @@ namespace ngraph ...@@ -35,7 +35,7 @@ namespace ngraph
{ {
namespace builder namespace builder
{ {
namespace quantization_scale namespace quantization_utils
{ {
std::shared_ptr<Node> max_abs(std::shared_ptr<Node> a, std::shared_ptr<Node> b); std::shared_ptr<Node> max_abs(std::shared_ptr<Node> a, std::shared_ptr<Node> b);
......
...@@ -45,10 +45,10 @@ namespace ngraph ...@@ -45,10 +45,10 @@ namespace ngraph
const ngraph::AxisSet& output_axes) const ngraph::AxisSet& output_axes)
{ {
auto input_scale = auto input_scale =
quantization_scale::get_scale(min_input, max_input, input->get_element_type()); quantization_utils::get_scale(min_input, max_input, input->get_element_type());
auto filter_scale = auto filter_scale =
quantization_scale::get_scale(min_filter, max_filter, filters->get_element_type()); quantization_utils::get_scale(min_filter, max_filter, filters->get_element_type());
auto output_scale = quantization_scale::get_scale(min_output, max_output, output_type); auto output_scale = quantization_utils::get_scale(min_output, max_output, output_type);
// TODO: Check for this later // TODO: Check for this later
// For Builders the zero point is assumed to be zero (for now) // For Builders the zero point is assumed to be zero (for now)
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "ngraph/coordinate_diff.hpp" #include "ngraph/coordinate_diff.hpp"
#include "ngraph/node.hpp" #include "ngraph/node.hpp"
#include "ngraph/op/quantized_convolution.hpp" #include "ngraph/op/quantized_convolution.hpp"
#include "quantization_scale.hpp" #include "quantization_utils.hpp"
namespace ngraph namespace ngraph
{ {
......
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