Searched refs:ref_metadata (Results 1 – 2 of 2) sorted by relevance
91 const DomainMetadata* ref_metadata = nullptr; in VerifyDomain() local101 if (ref_metadata == nullptr) { in VerifyDomain()102 ref_metadata = &meta; in VerifyDomain()104 TF_RET_CHECK(meta.Matches(*ref_metadata)) in VerifyDomain()106 << meta.ToString() << " vs " << ref_metadata->ToString(); in VerifyDomain()113 if (ref_metadata == nullptr) { in VerifyDomain()114 ref_metadata = &meta; in VerifyDomain()116 TF_RET_CHECK(meta.Matches(*ref_metadata)) in VerifyDomain()118 << meta.ToString() << " vs " << ref_metadata->ToString(); in VerifyDomain()121 return ref_metadata; in VerifyDomain()
46 TF_ASSIGN_OR_RETURN(const DomainMetadata* ref_metadata, in VerifyAndNormalizeDomain()48 if (ref_metadata != nullptr) { in VerifyAndNormalizeDomain()49 VLOG(4) << "Applying domain normalization: " << ref_metadata->ToString(); in VerifyAndNormalizeDomain()50 TF_RETURN_IF_ERROR(remover_->normalizer_(domain, ref_metadata)); in VerifyAndNormalizeDomain()