!38268 解决ApplyAdamWithAmsgrad算子的r1.8构建告警问题-同步更新master
Merge pull request !38268 from OwenSec/master
This commit is contained in:
commit
058f6a2577
|
@ -21,7 +21,6 @@
|
|||
#include "kernel/common_utils.h"
|
||||
#include "plugin/device/cpu/kernel/apply_adam_with_amsgrad_cpu_kernel.h"
|
||||
#include "plugin/device/cpu/hal/device/cpu_device_address.h"
|
||||
#include "plugin/device/cpu/kernel/nnacl/errorcode.h"
|
||||
#include "plugin/device/cpu/kernel/nnacl/fp32/adam_fp32.h"
|
||||
#include "mindspore/core/ops/apply_adam_with_amsgrad.h"
|
||||
#include "utils/ms_utils.h"
|
||||
|
|
|
@ -35,7 +35,7 @@ class ApplyAdamWithAmsgradCpuKernelMod : public NativeCpuKernelMod {
|
|||
const std::vector<KernelTensorPtr> &outputs) override;
|
||||
|
||||
int Resize(const BaseOperatorPtr &base_operator, const std::vector<KernelTensorPtr> &inputs,
|
||||
const std::vector<KernelTensorPtr> &outputs, const std::map<uint32_t, tensor::TensorPtr> &) override;
|
||||
const std::vector<KernelTensorPtr> &outputs, const std::map<uint32_t, tensor::TensorPtr> &others) override;
|
||||
|
||||
bool Launch(const std::vector<AddressPtr> &inputs, const std::vector<AddressPtr> &workspace,
|
||||
const std::vector<AddressPtr> &outputs) override;
|
||||
|
|
Loading…
Reference in New Issue