rm empty_tensor inputs for merge

pull/432/head
chenyemeng 4 years ago
parent 17d1e9dac5
commit a910c80fbf

@ -34,7 +34,7 @@ using domi::SUCCESS;
namespace ge {
const int kValueIndexOutputIndex = 1;
bool IsEmptyTensor(const GeShape &shpae) {
bool IsEmptyTensor(const GeShape &shape) {
const auto &dims = shape.GetDims();
return std::any_of(dims.begin(), dims.end(), [](int64_t dim) { return dim == 0; });
}

Loading…
Cancel
Save