Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for has_static_range_ptq (0.24 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.cc

    void PopulateCoeffOpQuantDimIfPerChannelQuantized(
        TF::XlaCallModuleOp xla_call_module_op, OpQuantSpec& spec) {
      absl::StatusOr<Method> method = GetQuantizationMethod(xla_call_module_op);
      if (method.ok() && method->has_static_range_ptq()) {
        // TODO: b/331145946 - Use `Method` accessors.
        const StaticRangePtq& static_range_ptq_spec = method->static_range_ptq();
        // Look for quantized dimension specs for each quantized type and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/instrumentations/save_report_test.cc

      ASSERT_THAT(results.results(), SizeIs(1));
      EXPECT_THAT(results.results(0).quantizable_unit().name(),
                  StrEq("composite_dot_general_fn"));
      EXPECT_TRUE(results.results(0).method().has_static_range_ptq());
    }
    
    TEST_F(SaveQuantizationReportInstrumentationTest,
           ReportNotSavedWhenNoQuantizeCompositeFunctionsPass) {
      constexpr absl::string_view kModuleWithCompositeDotGeneral = R"mlir(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top