Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getInputSpecs (0.12 sec)

  1. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc

      // There are specifications for both inputs and outputs.
      if (getNumOperands() != getInputSpecs().size() ||
          getNumResults() != getOutputSpecs().size())
        return emitOpError(
            "has unmatched operands/results number and spec attributes number");
    
      // Verify that quantization specifications are valid.
      for (auto input : llvm::zip(getOperandTypes(), getInputSpecs())) {
        Type inputType = std::get<0>(input);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.cc

      // There are specifications for both inputs and outputs.
      if (getNumOperands() != getInputSpecs().size() ||
          getNumResults() != getOutputSpecs().size())
        return emitOpError(
            "has unmatched operands/results number and spec attributes number");
    
      // Verify that quantization specifications are valid.
      for (auto input : llvm::zip(getOperandTypes(), getInputSpecs())) {
        Type inputType = std::get<0>(input);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/device_target.cc

      auto rop = llvm::dyn_cast<quantfork::QuantizeRegionOp>(op);
      if (!rop) return failure();
    
      llvm::SmallVector<Type, 4> input_specs, out_specs;
      for (auto spec : rop.getInputSpecs()) {
        input_specs.push_back(spec.cast<TypeAttr>().getValue());
      }
      for (auto spec : rop.getOutputSpecs()) {
        out_specs.push_back(spec.cast<TypeAttr>().getValue());
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top