// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Licensed under the MIT License.
|
|
#pragma once
|
|
#include "contrib_ops/cpu/bert/embed_layer_norm.h"
|
#include "core/common/common.h"
|
#include "core/framework/op_kernel.h"
|
|
namespace onnxruntime {
|
namespace contrib {
|
|
// Quantized version of QEmbedLayerNorm.
|
template <typename T>
|
class QEmbedLayerNorm final : public EmbedLayerNormBase {
|
public:
|
explicit QEmbedLayerNorm(const OpKernelInfo& op_kernel_info);
|
Status Compute(OpKernelContext* context) const override;
|
};
|
|
} // namespace contrib
|
} // namespace onnxruntime
|