Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TfOp (0.05 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h

        const Value& indices, const ShapedType& indices_type, Value& updates,
        ShapedType& updates_type, ConversionPatternRewriter& rewriter);
    
    template <typename BinaryOp, typename TfOp>
    class ConvertScatterOp : public OpConversionPattern<mhlo::ScatterOp> {
     public:
      using OpConversionPattern::OpConversionPattern;
    
      LogicalResult matchAndRewrite(
          mhlo::ScatterOp scatter_op, OpAdaptor adaptor,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

              (MHLO_TransposeOp $arg, (CastElementsToI64Elements $permutation))>;
    
    
    // Lowering these ops with static shape to mhlo.reshape
    foreach TfOp = [TF_ExpandDimsOp, TF_ReshapeOp, TF_SqueezeOp, ] in {
      def : Pat<(TfOp:$res MHLO_Tensor:$arg, $ignored),
                (MHLO_ReshapeOp $arg), [(AnyStaticShapeTensor $res)], [],
                (addBenefit 2)>;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
Back to top