Home
last modified time | relevance | path

Searched refs:IsReallyConstant (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc336 bool ConstantFolding::IsReallyConstant(const NodeDef& node) const { in IsReallyConstant() function in tensorflow::grappler::ConstantFolding
414 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 …]
Dloop_optimizer.cc586 bool IsReallyConstant(const NodeDef& node, in IsReallyConstant() function
606 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()
Dconstant_folding.h62 bool IsReallyConstant(const NodeDef& node) const;
Darithmetic_optimizer.cc3083 bool IsReallyConstant(const NodeDef& node) const { in IsReallyConstant() function in tensorflow::grappler::__anonbb66c6470111::RemoveStackStridedSliceSameAxis
3162 if (!IsReallyConstant(*n)) return Status::OK(); in GetSliceAxis()