Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AffineOpCoefficient (0.16 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_traits.h

    //
    //   class Conv2DOp
    //       : public Op<Conv2DOp, OpTrait::quant::AffineOpCoefficient<0>::Impl>
    //
    template <int QuantDim, int OperandIndex = 1>
    class AffineOpCoefficient {
     public:
      template <typename ConcreteType>
      class Impl
          : public TraitBase<ConcreteType,
                             AffineOpCoefficient<QuantDim, OperandIndex>::Impl> {
       public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization.td

    // and also the quantization dimension if per-axis quantization is support.
    // If the quantization dimension is -1, per-axis quantization isn't supported.
    class AffineOpCoefficient<int dim, int index> : NativeOpTrait<
      !strconcat("quant::AffineOpCoefficient<",
                 !interleave([dim, index], ", "),
                 ">::Impl")>;
    
    // Specify this trait if the op does have quantizable output. Quantizers will
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/tools/op_quant_spec_getters_gen.cc

    // TableGenMain.
    // NOLINTNEXTLINE
    static bool OpQuantSpecWriter(raw_ostream &os, RecordKeeper &records) {
      llvm::Regex acc_uniform_trait_regex{"AccumulatorUniformScale<([0-9]*),"};
      llvm::Regex coeff_index_trait_regex{"AffineOpCoefficient<(-?[0-9]*),"};
      llvm::Regex fixed_uniform_trait_regex{
          "FixedResultUniformScale<([0-9]+).*(true|false)>"};
      emitSourceFileHeader("Generated Ops Quant Spec Getters", os);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 11:18:44 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top