Searched refs:left_child_is_const (Results 1 – 2 of 2) sorted by relevance
3101 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 …]
163 bool left_child_is_const; member