| 824 | } |
| 825 | |
| 826 | Status GraphConstructor::ModifyNodeDefForImport(NodeDef* node_def) { |
| 827 | const OpDef* op_def; |
| 828 | TF_RETURN_IF_ERROR(g_->op_registry()->LookUpOpDef(node_def->op(), &op_def)); |
| 829 | AddDefaultsToNodeDef(*op_def, node_def); |
| 830 | TF_RETURN_IF_ERROR(ValidateNodeDef(*node_def, *op_def)); |
| 831 | if (versions()) { |
| 832 | TF_RETURN_IF_ERROR(CheckOpDeprecation(*op_def, versions()->producer())); |
| 833 | } |
| 834 | return Status::OK(); |
| 835 | } |
| 836 | |
| 837 | void RemoveInputs(const std::vector<int>& inputs_to_remove, NodeDef* node_def, |
| 838 | std::vector<bool>* input_already_exists) { |
nothing calls this directly
no test coverage detected