Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AddQuantizationResult (0.19 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/report.h

      // Initializes `QuantizationReport` by collecting `QuantizationResults` from
      // `module_op`.
      explicit QuantizationReport(ModuleOp module_op);
    
      // Adds a `QuantizationResult` to the report.
      void AddQuantizationResult(
          ::stablehlo::quantization::QuantizationResult&& result);
    
      // Returns `QuantizationResults` that are registered in this report.
      const ::stablehlo::quantization::QuantizationResults& GetQuantizationResults()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 10:10:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/report_test.cc

      QuantizationReport report{};
    
      const QuantizationResults& results = report.GetQuantizationResults();
      ASSERT_THAT(results.results(), IsEmpty());
    }
    
    TEST_F(QuantizationReportTest, AddQuantizationResult) {
      // Construct a `QuantizationResult` to add, representing a unit named
      // `quantized_my_function` that is not quantized.
      QuantizationResult result{};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 10:10:34 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/report.cc

      QuantizationResults results{};
    
      PopulateQuantizedResults(module_op, results);
      PopulateNonQuantizedResults(module_op, results);
    
      return results;
    }
    
    void QuantizationReport::AddQuantizationResult(QuantizationResult&& result) {
      *quantization_results_.add_results() = std::move(result);
    }
    
    std::string QuantizationReport::ToString() const {
      std::string results_str{};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top