Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for printToString (0.17 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/failure/FailurePrinterTest.groovy

            def f = toFailure(e)
    
            expect:
            FailurePrinter.printToString(f) == getTraceString(e)
        }
    
        def "prints same as JVM for an exception with cause"() {
            def e = new RuntimeException("BOOM", SimulatedJavaException.simulateDeeperException())
            def f = toFailure(e)
    
            expect:
            FailurePrinter.printToString(f) == getTraceString(e)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:12:10 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/FailurePrinter.java

     * <p>
     * The printer additionally allows reacting to each frame to be printed via a {@link FailurePrinterListener}.
     */
    public class FailurePrinter {
    
        public static String printToString(Failure failure) {
            StringBuilder output = new StringBuilder();
            print(output, failure, FailurePrinterListener.NO_OP);
            return output.toString();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:45:41 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. 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