/* Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. 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 #ifndef _USE_MATH_DEFINES #define _USE_MATH_DEFINES #endif #ifndef NOMINMAX #define NOMINMAX #endif #include "paddle/pten/kernels/funcs/eigen/eigen_function.h" namespace paddle { namespace operators { template using EigenBroadcast = pten::funcs::EigenBroadcast; template using EigenBroadcastGrad = pten::funcs::EigenBroadcastGrad; template using EigenConstant = pten::funcs::EigenConstant; template using EigenSign = pten::funcs::EigenSign; template using EigenReverse = pten::funcs::EigenReverse; template using EigenAdd = pten::funcs::EigenAdd; template using EigenSub = pten::funcs::EigenSub; template using EigenSlice = pten::funcs::EigenSlice; template using EigenPad = pten::funcs::EigenPad; template using EigenScale = pten::funcs::EigenScale; template using EigenErf = pten::funcs::EigenErf; template using EigenErfGrad = pten::funcs::EigenErfGrad; template using EigenRankLoss = pten::funcs::EigenRankLoss; template using EigenRankLossGrad = pten::funcs::EigenRankLossGrad; template using EigenLogLoss = pten::funcs::EigenLogLoss; template using EigenLogLossGrad = pten::funcs::EigenLogLossGrad; template using EigenHingeLoss = pten::funcs::EigenHingeLoss; template using EigenHingeLossGrad = pten::funcs::EigenHingeLossGrad; template using EigenL1Norm = pten::funcs::EigenL1Norm; template using EigenL1NormGrad = pten::funcs::EigenL1NormGrad; } // namespace operators } // namespace paddle