Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for has_dimension (0.17 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/config_test.cc

      ASSERT_TRUE(srq_spec.input_quantized_types().at(1).has_dimension_specs());
    
      const QuantizedDimension& dimension_specs =
          srq_spec.input_quantized_types().at(1).dimension_specs();
      ASSERT_TRUE(dimension_specs.has_dimension());
      EXPECT_THAT(dimension_specs.dimension(), Eq(3));
    
      // Test that representative dataset config has been transferred to the
      // `CalibrationOptions`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 06:59:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

        // second operand, which is weight.
        const QuantizedType& quantized_type = input_quantized_types.at(1);
        if (const auto& specs = quantized_type.dimension_specs();
            specs.has_dimension()) {
          return specs.dimension() >= 0 && specs.dimension() < rank;
        }
        return true;
      }
    
      static bool IsPerTensor(const WeightOnlyPtq& weight_only_ptq) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

              return false;
            }
            const QuantizedDimension& dimension_specs =
                weight_quantized_type.dimension_specs();
            return !dimension_specs.has_dimension() ||
                   dimension_specs.dimension() == 3;
          }
        }
        return false;
      }
    
     private:
      [[deprecated(
          "Do not rely on this field for per-channel quantization. Use `Method` "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top