text: //*****************************************************************************
  // Copyright 2017-2020 Intel Corporation
  //
  // Licensed under the Apache License, Version 2.0 (the "License");
  // you may not use this file except in compliance with the License.
  // You may obtain a copy of the License at
  //
  //     http://www.apache.org/licenses/LICENSE-2.0
  //
  // Unless required by applicable law or agreed to in writing, software
  // distributed under the License is distributed on an "AS IS" BASIS,
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  // See the License for the specific language governing permissions and
  // limitations under the License.
  //*****************************************************************************
  
  #pragma once
  
  #include "ngraph/axis_vector.hpp"
  #include "ngraph/code_writer.hpp"
  #include "ngraph/coordinate.hpp"
  #include "ngraph/shape.hpp"
  
  namespace ngraph
  {
      namespace runtime
      {
          namespace cpu
          {
              namespace kernel
              {
                  void emit_broadcast(CodeWriter& writer,
                                      const std::string& element_type,
                                      const std::string& arg0, // replacement context
                                      const std::string& out,
                                      const Shape& arg0_shape,
                                      const Shape& out_shape,
                                      const AxisSet& broadcast_axes);
                  void emit_concat(CodeWriter& writer,
                                   const std::string& element_type,
                                   const std::vector<std::string>& args,
                                   const std::string& out,
                                   const std::vector<Shape>& in_shapes,
                                   const Shape& out_shape,
                                   const size_t concatenation_axis);
  
                  void emit_replace_slice(CodeWriter& writer,
                                          const std::string& element_type,
                                          const std::string& arg0, // replacement context
                                          const std::string& arg1, // replacement value
                                          const std::string& out,
                                          const Shape& arg1_shape,
                                          const Shape& out_shape,
                                          const Coordinate& lower_bounds,
                                          const Coordinate& upper_bounds,
                                          const Strides& strides);
                  void emit_replace_slice_inplace(CodeWriter& writer,
                                                  const std::string& element_type,
                                                  const std::string& arg0, // replacement context
                                                  const std::string& arg1, // replacement value
                                                  const Shape& arg1_shape,
                                                  const Shape& out_shape,
                                                  const Coordinate& lower_bounds,
                                                  const Coordinate& upper_bounds,
                                                  const Strides& strides);
                  void emit_slice(CodeWriter& writer,
                                  const std::string& element_type,
                                  const std::string& arg0, // replacement context
                                  const std::string& out,
                                  const Shape& arg0_shape,
                                  const Shape& out_shape,
                                  const Coordinate& lower_bounds,
                                  const Coordinate& upper_bounds,
                                  const Strides& strides);
                  void emit_reshape(CodeWriter& writer,
                                    const std::string& element_type,
                                    const std::string& arg0, // replacement context
                                    const std::string& out,
                                    const Shape& arg0_shape,
                                    const Shape& out_shape,
                                    const AxisVector& arg0_axis_order);
                  void emit_sum(CodeWriter& writer,
                                const std::string& element_type,
                                const std::string& arg0, // replacement context
                                const std::string& out,
                                const Shape& arg0_shape,
                                const Shape& out_shape,
                                const AxisSet& reduction_axes);
                  void emit_reduce(CodeWriter& writer,
                                   const std::string& element_type,
                                   const std::string& arg0, // replacement context
                                   const std::string& arg1,
                                   const std::string& out,
                                   const Shape& arg0_shape,
                                   const Shape& out_shape,
                                   const AxisSet& reduction_axes);
              }
          }
      }
  }
  