message: Don't log to ERROR if an unsupported type is encountered in neutral/absorbing element optimizer. This is not an error, at worst a missed optimization oppportunity. See
diff: @@ -1256,6 +1256,7 @@ bool ConstantFolding::IsOnes(const NodeDef& node) const {
  }
  const auto dtype = node.attr().at("dtype").type();
  switch (dtype) {
  + // TODO(rmlarsen): Make DT_HALF case compile.
  // IS_ONES_CASE(DT_HALF);
  IS_ONES_CASE(DT_FLOAT);
  IS_ONES_CASE(DT_DOUBLE);
  @@ -1268,7 +1269,7 @@ bool ConstantFolding::IsOnes(const NodeDef& node) const {
  IS_ONES_CASE(DT_COMPLEX64);
  IS_ONES_CASE(DT_COMPLEX128);
  default:
  - LOG(ERROR) << "Unexpected type " << DataTypeString(dtype);
  + VLOG(1) << "Unsupported type " << DataTypeString(dtype);
  return false;
  }
  return false;
  @@ -1286,6 +1287,7 @@ bool ConstantFolding::IsZeros(const NodeDef& node) const {
  }
  const auto dtype = node.attr().at("dtype").type();
  switch (dtype) {
  + // TODO(rmlarsen): Make DT_HALF case compile.
  // IS_ZEROS_CASE(DT_HALF);
  IS_ZEROS_CASE(DT_FLOAT);
  IS_ZEROS_CASE(DT_DOUBLE);
  @@ -1298,7 +1300,7 @@ bool ConstantFolding::IsZeros(const NodeDef& node) const {
  IS_ZEROS_CASE(DT_COMPLEX64);
  IS_ZEROS_CASE(DT_COMPLEX128);
  default:
  - LOG(ERROR) << "Unexpected type " << DataTypeString(dtype);
  + VLOG(1) << "Unsupported type " << DataTypeString(dtype);
  return false;
  }
  return false;
  