Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for printToString (0.18 sec)

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

      *quantization_results_.add_results() = std::move(result);
    }
    
    std::string QuantizationReport::ToString() const {
      std::string results_str{};
      TextFormat::PrintToString(quantization_results_, &results_str);
    
      return absl::StrCat("===== Quantization Report =====\n\n", results_str,
                          "\n===== Quantization Report End =====\n\n");
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

    FailureOr<std::string> QuantizationMethodToTextProto(const Method& method) {
      TextFormat::Printer printer;
      printer.SetSingleLineMode(true);
    
      std::string method_txtpb;
      if (!printer.PrintToString(method, &method_txtpb)) {
        LLVM_DEBUG(llvm::dbgs() << "Failed to convert Method to textproto\n.");
        return failure();
      }
    
      // Single line mode might have an extra space at the end, due to the internal
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top