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.cc371 bool ConstantFolding::IsReallyConstant(const NodeDef& node) const { in IsReallyConstant() function in tensorflow::grappler::ConstantFolding
383 return node != nullptr && IsReallyConstant(*node) && in GetTensorFromConstNode()
464 if (IsReallyConstant(*array_size)) { in MaterializeShapes()
607 (shape_node1->op() != "Shape" && !IsReallyConstant(*shape_node1)) || in MaterializeBroadcastGradientArgs()
609 (shape_node2->op() != "Shape" && !IsReallyConstant(*shape_node2))) { in MaterializeBroadcastGradientArgs()
731 if (!indices || IsReallyConstant(*indices)) { in MaterializeReductionIndices()
848 if (input_node == nullptr || !IsReallyConstant(*input_node)) { in MaterializeConstantValuedNode()
910 if (IsReallyConstant(*input)) { in MaterializeOutputValues()
979 bool is_const = IsReallyConstant(*input_node); in IsFoldableUncached()
1346 if (!IsReallyConstant(*input_node)) { in EvaluateOneFoldable()
[all …]
Dloop_optimizer.cc588 bool IsReallyConstant(const NodeDef& node, in IsReallyConstant() function
608 if (IsReallyConstant(*switch_predicate, feed_nodes)) { in CheckForDeadFanout()
652 if (IsReallyConstant(*node, feed_nodes)) { in CheckForDeadFanout()
669 if (IsReallyConstant(*node, feed_nodes)) { in CheckForDeadFanout()
677 if (IsReallyConstant(*node, feed_nodes)) { in CheckForDeadFanout()
Dconstant_folding.h72 bool IsReallyConstant(const NodeDef& node) const;
Darithmetic_optimizer.cc245 bool IsReallyConstant(const NodeDef& node) const { in IsReallyConstant() function in tensorflow::grappler::__anon327bfa1e0111::ArithmeticOptimizerStage
281 return node != nullptr && IsReallyConstant(*node) && in GetTensorFromConstNode()
3236 if (!IsReallyConstant(*n)) return Status::OK(); in GetSimpleSliceAxis()
3346 if (!IsReallyConstant(*n)) return Status::OK(); in GetStridedSliceAxis()