Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FoldBroadcastInDimBeforeMulOp (0.17 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

        }
        Value new_const_op =
            rewriter.create<mhlo::ConstantOp>(bcast_op.getLoc(), result);
        rewriter.replaceOp(bcast_op, {new_const_op});
        return success();
      }
    };
    
    using FoldBroadcastInDimBeforeMulOp =
        FoldBroadcastInDimBeforeBinaryElementwiseOp<mhlo::MulOp>;
    
    // Constant folds mhlo.mul, this folder doesn't have an upper limit on how many
    // elements can be folded.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top