Searched refs:body_attr (Results 1 – 2 of 2) sorted by relevance
420 const AttrValue* body_attr = n->attrs().Find("body"); in RewriteWhileNode() local421 if (body_attr == nullptr) { in RewriteWhileNode()431 n, cond_attr->func().name(), body_attr->func().name(), in RewriteWhileNode()
259 NameAttrList body_attr; in PropagateConstIntoWhileNode() local260 TF_RETURN_IF_ERROR(GetNodeAttr(while_node->def(), "body", &body_attr)); in PropagateConstIntoWhileNode()261 const FunctionDef* body_func = lookup_fld->Find(body_attr.name()); in PropagateConstIntoWhileNode()263 return errors::Internal("Cannot find body function ", body_attr.name(), in PropagateConstIntoWhileNode()286 body_attr.name()); in PropagateConstIntoWhileNode()