Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SanitizeGatherOpOutputToI4 (0.26 sec)

  1. tensorflow/compiler/mlir/lite/transforms/reduce_type_precision.cc

            shaped_type, mlir::cast<DenseElementsAttr>(op.getValue()).getRawData());
        rewriter.replaceOpWithNewOp<arith::ConstantOp>(op, newAttr);
    
        return success();
      }
    };
    
    class SanitizeGatherOpOutputToI4 : public OpRewritePattern<TFL::GatherOp> {
     public:
      using OpRewritePattern<TFL::GatherOp>::OpRewritePattern;
    
      LogicalResult matchAndRewrite(TFL::GatherOp op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top