Searched refs:IsReallyConstant (Results 1 – 4 of 4) sorted by relevance
371 bool ConstantFolding::IsReallyConstant(const NodeDef& node) const { in IsReallyConstant() function in tensorflow::grappler::ConstantFolding383 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 …]
588 bool IsReallyConstant(const NodeDef& node, in IsReallyConstant() function608 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()
72 bool IsReallyConstant(const NodeDef& node) const;
245 bool IsReallyConstant(const NodeDef& node) const { in IsReallyConstant() function in tensorflow::grappler::__anon327bfa1e0111::ArithmeticOptimizerStage281 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()