infer shape for noop

pull/9378/head
wilfChen 4 years ago
parent 0363a7401a
commit 4520c088cf

@ -22,8 +22,6 @@
#include <exception>
#include <algorithm>
#include <thread>
#include <stack>
#include "abstract/primitive_infer_map.h"
#include "debug/data_dump/e2e_dump_util.h"
#include "runtime/device/ascend/ascend_device_address.h"
#include "runtime/device/cpu/mpi/mpi_interface.h"

@ -16,6 +16,7 @@
#include "runtime/device/executor/dynamic_kernel.h"
#include <vector>
#include <stack>
#include <algorithm>
#include "backend/session/anf_runtime_algorithm.h"
#include "backend/optimizer/common/helper.h"

@ -48,7 +48,6 @@ class DynamicKernel {
virtual void Initialize();
std::string GetKernelName() { return cnode_ptr_->fullname_with_scope(); }
int GetKernelType();
CNodePtr kernel_node() const { return cnode_ptr_; }
protected:
void RebuildDependTensor();

Loading…
Cancel
Save