Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc3101 ctx->left_child_is_const = IsReallyConstant(*left_child); in PrepareConstantPushDown()
3103 ctx->op_child = ctx->left_child_is_const ? right_child : left_child; in PrepareConstantPushDown()
3104 ctx->const_child = ctx->left_child_is_const ? left_child : right_child; in PrepareConstantPushDown()
3107 if (!ctx->left_child_is_const && !ctx->right_child_is_const) { in PrepareConstantPushDown()
3219 if (ctx.left_child_is_const && parent_is_bias_add) return false; in ConstantPushDownBiasAdd()
3249 const int const_idx = ctx.left_child_is_const ? 0 : 1; in ConstantPushDownBiasAdd()
3350 (*ctx.parent_input_props)[ctx.left_child_is_const ? 0 : 1].shape()); in ConstantPushDown()
3375 ctx.left_child_is_const ? node->input(0) : node->input(1); in ConstantPushDown()
3377 ctx.left_child_is_const ? node->input(1) : node->input(0); in ConstantPushDown()
3420 bool child_negated = !is_symmetric && (ctx.left_child_is_const); in ConstantPushDown()
[all …]
Dconstant_folding.h163 bool left_child_is_const; member