| 1458 | } |
| 1459 | |
| 1460 | Status SavedModelOptimizer::GetFeature2IdAttr( |
| 1461 | const std::string& name, |
| 1462 | AttrValue* attr_value) { |
| 1463 | if (feature_names_to_ids.find(name) == |
| 1464 | feature_names_to_ids.end()) { |
| 1465 | return tensorflow::errors::Internal( |
| 1466 | "Not found a id of the featue. ", name); |
| 1467 | } |
| 1468 | |
| 1469 | SetAttrValue(feature_names_to_ids[name], |
| 1470 | attr_value); |
| 1471 | return Status::OK(); |
| 1472 | } |
| 1473 | |
| 1474 | Status SavedModelOptimizer::ConvertKVOps() { |
| 1475 |
nothing calls this directly
no test coverage detected