Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for populateWithGenerated (0.21 sec)

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

      patterns.add<ConvertTFDilatedConvOp<TF::Conv2DOp>, FusedBatchNormV3Pat,
                   ConvertTFDilatedConvOp<TF::DepthwiseConv2dNativeOp>>(ctx);
    
      patterns.add<RemoveIdentity>(ctx);
      TFL::populateWithGenerated(patterns);
      // TODO(fengliuai): Implement similar rule in the QuantizePass if the constant
      // folding hook of tfl.transpose and tfl.reshape are implemented.
      patterns.add<ReorderFakeQuantPattern<TF::ReshapeOp>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        }
      }
    
      // Constant quantization is a lossy transformation, so they are applied only
      // after all the other patterns have been applied.
      RewritePatternSet patterns_2(ctx);
      populateWithGenerated(patterns_2);
      patterns_2.add<ReplaceQuantizePattern, ReplaceDequantizePattern>(
          ctx, target_opset_);
      patterns_2.add<QuantizeConstPattern>(ctx, target_opset_);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

      target.addLegalOp<TFL::UnidirectionalSequenceRNNOp>();
      target.addLegalOp<TFL::BidirectionalSequenceLSTMOp>();
    
      RewritePatternSet patterns(&getContext());
      populateWithGenerated(patterns);
      patterns.add<ConvertConst, ConvertIdentity, ConvertTensorListGetItem,
                   ConvertTensorListLength, ConvertTensorListPushBack,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

          LowerSpaceToBatchNDOp,
          LowerResizeNearestNeighbor,
          LowerSparseMatMulOp,
          Lower_UnaryOpsComposition,
          LowerRollOp>(context);
      // clang-format on
      populateWithGenerated(*patterns);
    }
    
    void PopulateTFLoweringBeforeHLOPatterns(MLIRContext *context,
                                             RewritePatternSet *patterns) {
      // clang-format off
      patterns->add<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
Back to top