Browse Source

modified: ge/graph/common/transop_util.cc

tags/v1.2.0
zhaoxinxin 4 years ago
parent
commit
41e8e51bc9
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      ge/graph/common/transop_util.cc

+ 4
- 1
ge/graph/common/transop_util.cc View File

@@ -23,7 +23,10 @@
namespace {
const int kInvalidTransopDataIndex = -1;
const int kTransOpOutIndex = 0;
std::map<ge::DataType, ge::DataType> precision_loss_transfer_map = {{ge::DT_FLOAT, ge::DT_BOOL}};
std::map<ge::DataType, ge::DataType> precision_loss_transfer_map = {
{ge::DT_FLOAT, ge::DT_BOOL},
{ge::DT_INT64, ge::DT_BOOL}
};
} // namespace

namespace ge {


Loading…
Cancel
Save