Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer.cc1930 const bool producer_is_cast = IsCastLike(*producer); in TrySimplify() local
1933 ((producer_is_cast && IsValuePreserving(*consumer)) || in TrySimplify()
1940 const NodeDef* cast_like_node = producer_is_cast ? producer : consumer; in TrySimplify()
1952 } else if (producer_is_cast && in TrySimplify()
1955 } else if (!producer_is_cast && in TrySimplify()
1985 producer_is_cast ? new_producer : new_consumer; in TrySimplify()
1987 producer_is_cast ? cast_src_type : cast_dst_type; in TrySimplify()