Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DepthwiseConv2dNativeOp (0.33 sec)

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

    void IdentifyDilatedConvPass::runOnOperation() {
      RewritePatternSet patterns(&getContext());
      auto func = getOperation();
    
      patterns.add<ConvertTFDilatedConvOp<TF::Conv2DOp>,
                   ConvertTFDilatedConvOp<TF::DepthwiseConv2dNativeOp>>(
          &getContext());
      (void)applyPatternsAndFoldGreedily(func, std::move(patterns));
    }
    }  // namespace
    std::unique_ptr<OperationPass<func::FuncOp>> CreateIdentifyDilatedConvPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 07 21:08:41 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold.cc

    // TODO: b/289744814 - Refactor to have a single source of truth of TF Quant
    // specs.
    absl::flat_hash_set<int> GetQuantizableOperands(Operation* op) {
      absl::flat_hash_set<int> quantizable_operands;
      if (isa<TF::DepthwiseConv2dNativeOp, TF::Conv2DOp, TF::Conv3DOp, TF::MatMulOp,
              TF::BatchMatMulOp>(op)) {
        quantizable_operands.insert(1);
      } else if (isa<TF::GatherOp>(op)) {
        quantizable_operands.insert(0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec.cc

      // Supported quantizable ops.
      return isa<TF::XlaConvV2Op, TF::XlaDotV2Op, TF::MatMulOp, TF::Conv2DOp,
                 TF::GatherOp, TF::GatherV2Op, TF::XlaGatherOp,
                 TF::ResourceGatherOp, TF::DepthwiseConv2dNativeOp, TF::Conv3DOp,
                 TF::BatchMatMulV2Op, TF::EinsumOp>(op);
    }
    
    bool IsOpWithInt8TypeOperand(Operation* op) {
      return (isa<TF::XlaConvV2Op, TF::XlaDotV2Op, TF::XlaGatherOp, TF::GatherOp,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top