Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.h167 bool left_leaf_is_const; member
Dconstant_folding.cc3143 ctx->left_leaf_is_const = IsReallyConstant(*ctx->left_leaf); in PrepareConstantPushDown()
3146 if (ctx->left_leaf_is_const && ctx->right_leaf_is_const) { in PrepareConstantPushDown()
3343 ctx.left_leaf_is_const ? ctx.left_leaf : ctx.right_leaf; in ConstantPushDown()
3352 (*ctx.op_child_input_props)[ctx.left_leaf_is_const ? 0 : 1].shape()); in ConstantPushDown()
3370 ctx.left_leaf_is_const ? ctx.op_child->input(1) : ctx.op_child->input(0); in ConstantPushDown()
3426 bool neg_x = is_leaf_negated(ctx.left_leaf_is_const); in ConstantPushDown()
3427 bool neg_y = is_leaf_negated(!ctx.left_leaf_is_const); in ConstantPushDown()