Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetDynamicRangeQuantKernelSupport (0.35 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization.td

          (ins), [{}], [{return {};}]>,
        InterfaceMethod<
          [{Returns whether the op has the kernel support for dynamic range
          quantization.}],
          "bool", "GetDynamicRangeQuantKernelSupport",
          (ins), [{}], [{return false;}]>,
        InterfaceMethod<
          [{Returns whether the op requires asymmetric quantize input attribute
          setting.}],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/quantize.cc

          const auto op_name = quantized_op->getName().getStringRef().str();
          is_blocklisted = ops_blocklist.find(op_name) != ops_blocklist.end();
    
          bool kernel_support =
              dynamic_range_op.GetDynamicRangeQuantKernelSupport();
    
          return is_blocklisted || !kernel_support || weight_only_quantization;
        }
      }
    };
    
    // Full integer quantization rewrite pattern using DQ as the root op.
    struct TFLFullQuantization
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/tools/tflite_op_coverage_spec_getters_gen.cc

      });
    
      return *entries;
    }
    
    void EmitDynamicRangeOp(std::vector<Record *> &defs, raw_ostream *ostream) {
      std::string dynamic_quant_kernel_support_regex =
          "bool GetDynamicRangeQuantKernelSupport() { return true; }";
      raw_ostream &os = *ostream;
      std::vector<std::string> weight_only;
      llvm::sort(defs, LessRecord());
    
      os.indent(0) << "const std::set<std::string> &ExportDynamicRangeSpec() {\n";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        // Returns whether the return types are compatible.
        static bool isCompatibleReturnTypes(TypeRange l, TypeRange r);
    
        // DynamicRangeQuantizedOpInterface:
        bool GetDynamicRangeQuantKernelSupport() { return true; }
        std::vector<int> GetQuantizableOperandIndices() { return {1}; }
      }];
    }
    
    def TFL_CosOp: TFL_Op<"cos", [
        Pure,
        TF_SameOperandsAndResultTypeResolveRef]> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top