Searched refs:IsIdentityNSingleInput (Results 1 – 8 of 8) sorted by relevance
131 IsIdentityN(node) && !IsIdentityNSingleInput(node); in NumEdgesIfBypassed()168 const bool is_identity = IsIdentity(node) || IsIdentityNSingleInput(node); in BypassingNodeIsBeneficial()170 IsIdentityN(node) && !IsIdentityNSingleInput(node); in BypassingNodeIsBeneficial()229 const bool is_identity = IsIdentity(*node) || IsIdentityNSingleInput(*node); in OptimizeNode()231 IsIdentityN(*node) && !IsIdentityNSingleInput(*node); in OptimizeNode()
120 if (IsIdentity(node) || IsIdentityNSingleInput(node)) { in IsNodeOutputPortHostFriendly()
65 if (IsIdentity(node) || IsIdentityNSingleInput(node)) { in IsTrivialOp()
255 if (IsIdentity(*output) || IsIdentityNSingleInput(*output)) { in AddControlDependency()2389 if ((!IsIdentity(*fanout) && !IsIdentityNSingleInput(*fanout)) || in SimplifySwitch()3013 if ((IsIdentityN(*node) || IsIdentityNSingleInput(*node)) && in PartialConstPropThroughIdentityN()
83 bool IsIdentityNSingleInput(const NodeDef& node);
262 bool IsIdentityNSingleInput(const NodeDef& node) { in IsIdentityNSingleInput() function
63 if ((IsIdentity(node) || IsIdentityNSingleInput(node)) && in IsIdentityConsumingSwitch()974 if (IsIdentity(*fanout.node) || IsIdentityNSingleInput(*fanout.node)) { in GetControllingFaninToAdd()
1474 } else if (IsIdentity(node) || IsIdentityNSingleInput(node)) { in MaybeUpdateNodeContextOutput()