Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 52 of 52 for replaceMap (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

      // indicating what `Method` has been applied to the quantized unit.
      call_op->setAttr(
          kQuantizationMethodAttr,
          xla_call_module_op->getAttrOfType<StringAttr>(kQuantizationMethodAttr));
    
      rewriter.replaceOp(xla_call_module_op, call_op);
    }
    
    // Replaces a quantized `xla_call_module_op` with a `func::CallOp`. The callee
    // is expected to remain unquantized (thus having a signature mismatch), and it
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

          // Make sure the ordering is the same for the pack op & unpack op.
          if (pack_input != unpack_output) return failure();
        }
    
        // Replace the pack's output to the unpack's input.
        rewriter.replaceOp(pack_op, input_unpack_op.getOperand());
        // At this point, we don't manually remove the redundant pack op & unpack op
        // (we cannot actually), but trust the PatterRewriter to garbage collect
        // these two ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top