Searched refs:IsReallyConstant (Results 1 – 4 of 4) sorted by relevance
336 bool ConstantFolding::IsReallyConstant(const NodeDef& node) const { in IsReallyConstant() function in tensorflow::grappler::ConstantFolding414 if (IsReallyConstant(*array_size)) { in MaterializeShapes()553 (shape_node1->op() != "Shape" && !IsReallyConstant(*shape_node1)) || in MaterializeBroadcastGradientArgs()555 (shape_node2->op() != "Shape" && !IsReallyConstant(*shape_node2))) { in MaterializeBroadcastGradientArgs()676 if (!indices || IsReallyConstant(*indices)) { in MaterializeReductionIndices()790 if (input_node == nullptr || !IsReallyConstant(*input_node)) { in MaterializeConstantValuedNode()947 bool is_const = IsReallyConstant(*input_node); in IsFoldable()1186 if (!IsReallyConstant(*input_node)) { in EvaluateOneFoldable()1247 if (!IsReallyConstant(*input_node)) { in FoldMergeNode()1505 if (!IsReallyConstant(*new_shape)) { in IsSimplifiableReshape()[all …]
586 bool IsReallyConstant(const NodeDef& node, in IsReallyConstant() function606 if (IsReallyConstant(*switch_predicate, feed_nodes)) { in CheckForDeadFanout()645 if (IsReallyConstant(*node, feed_nodes)) { in CheckForDeadFanout()661 if (IsReallyConstant(*node, feed_nodes)) { in CheckForDeadFanout()669 if (IsReallyConstant(*node, feed_nodes)) { in CheckForDeadFanout()
62 bool IsReallyConstant(const NodeDef& node) const;
3083 bool IsReallyConstant(const NodeDef& node) const { in IsReallyConstant() function in tensorflow::grappler::__anonbb66c6470111::RemoveStackStridedSliceSameAxis3162 if (!IsReallyConstant(*n)) return Status::OK(); in GetSliceAxis()