Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ConcatenateOp (0.26 sec)

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

      }
    
      auto lhs_new_concat = rewriter.create<mhlo::ConcatenateOp>(
          concat->getLoc(), concat.getType().clone(lhs_new_concat_shape),
          all_dot_lhs, rewriter.getI64IntegerAttr(lhs_batch_dim));
      auto rhs_new_concat = rewriter.create<mhlo::ConcatenateOp>(
          concat->getLoc(), concat.getType().clone(rhs_new_concat_shape),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.cc

    std::unique_ptr<OpQuantScaleSpec> GetStableHloQuantConstraints(Operation* op) {
      auto scale_spec = std::make_unique<OpQuantScaleSpec>();
      if (llvm::isa<mlir::stablehlo::BroadcastInDimOp,
                    mlir::stablehlo::ConcatenateOp,
                    mlir::stablehlo::DynamicReshapeOp,
                    mlir::stablehlo::DynamicSliceOp, mlir::stablehlo::GatherOp,
                    mlir::stablehlo::PadOp, mlir::stablehlo::ReduceWindowOp,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

    class RewriteQuantizedConcatenateOp
        : public OpRewritePattern<stablehlo::ConcatenateOp> {
     public:
      using OpRewritePattern<stablehlo::ConcatenateOp>::OpRewritePattern;
    
      LogicalResult match(stablehlo::ConcatenateOp op) const override {
        return success(IsOpFullyQuantized(op));
      }
    
      void rewrite(stablehlo::ConcatenateOp op,
                   PatternRewriter& rewriter) const override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

    namespace mlir::quant::stablehlo {
    
    namespace {
    
    using ::mlir::quant::FindUserOfType;
    using ::mlir::quant::TryCast;
    using ::mlir::stablehlo::AddOp;
    using ::mlir::stablehlo::BroadcastInDimOp;
    using ::mlir::stablehlo::ConcatenateOp;
    using ::mlir::stablehlo::ConvolutionOp;
    using ::mlir::stablehlo::DotGeneralOp;
    using ::mlir::stablehlo::DynamicBroadcastInDimOp;
    using ::mlir::stablehlo::GatherOp;
    using ::mlir::stablehlo::GetDimensionSizeOp;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        // offset. This also works if shift is not constant.
        // DynamicSliceOp requires the sizes being integer, and we can get the
        // information from input shape.
        auto concat = b.create<ConcatenateOp>(
            ValueRange{op.getInput(), op.getInput()}, b.getI64IntegerAttr(axis));
        Value zero = b.create<mhlo::ConstantOp>(
            b.getIntegerAttr(getElementTypeOrSelf(offset.getType()), 0));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

              conv_op.getPrecisionConfigAttr());
    
          conv_results.push_back(conv_result);
        }
    
        auto final_output = rewriter.create<mhlo::ConcatenateOp>(
            conv_op.getLoc(), conv_results,
            rewriter.getI64IntegerAttr(dnums.getOutputFeatureDimension()));
        rewriter.replaceOp(conv_op, final_output.getResult());
        return mlir::success();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top