Browse Source

modified: ge/graph/common/transop_util.cc

pull/916/head
zhaoxinxin 4 years ago
parent
commit
a608eee4e2
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 { namespace {
const int kInvalidTransopDataIndex = -1; const int kInvalidTransopDataIndex = -1;
const int kTransOpOutIndex = 0; 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


namespace ge { namespace ge {


Loading…
Cancel
Save