Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for print_string (0.18 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batching_fallback.mlir

      %s = "tfrt_test.get_string"() { value = "Running @matmul_cpu" } : () -> !tfrt.string
      %ch4 = "tfrt_test.print_string"(%s, %ch3) : (!tfrt.string, !tfrt.chain) -> (!tfrt.chain)
    
      %ch5 = "tfrt_fallback_async.print_tensor"(%result, %ch4) : (!tfrt_fallback.tf_tensor, !tfrt.chain) -> !tfrt.chain
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 18 22:58:56 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. src/runtime/print.go

    }
    
    func printsp() {
    	printstring(" ")
    }
    
    func printnl() {
    	printstring("\n")
    }
    
    func printbool(v bool) {
    	if v {
    		printstring("true")
    	} else {
    		printstring("false")
    	}
    }
    
    func printfloat(v float64) {
    	switch {
    	case v != v:
    		printstring("NaN")
    		return
    	case v+v == v && v > 0:
    		printstring("+Inf")
    		return
    	case v+v == v && v < 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/ModelDslIntegrationTest.groovy

                        printStrings(Task) {
                            doLast {
                                println "strings: " + strings
                            }
                        }
                    }
                    strings {
                        add($('foo'))
                    }
                }
    '''
    
            then:
            succeeds "printStrings"
            output.contains "strings: [foo]"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/NestedModelDslUsageIntegrationSpec.groovy

                    model {
                        strings {
                            add "foo"
                        }
                    }
                }
    
            """
    
            then:
            succeeds "printStrings"
            output.contains "strings: [foo]"
    
            where:
            code << [
                    "subprojects",
                    "project(':a')",
                    "if (true)"
            ]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. 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)
  6. test/print.go

    	println(8.0)                // printfloat
    	println(complex(9.0, 10.0)) // printcomplex
    	println(true)               // printbool
    	println(false)              // printbool
    	println("hello")            // printstring
    	println("one", "two")       // printsp
    
    	// test goprintf
    	defer println((interface{})(nil))
    	defer println((interface {
    		f()
    	})(nil))
    	defer println((map[int]int)(nil))
    	defer println(([]int)(nil))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/cc/framework/cc_op_gen_util.h

    string ToTitle(StringPiece name);
    
    // Change:     Into:
    //   ABC         /// ABC
    //               ///
    //   DEF         /// DEF
    string MakeComment(StringPiece text, StringPiece indent);
    
    string PrintString(StringPiece str);
    
    string PrintTensorShape(const TensorShapeProto& shape_proto);
    
    template <typename T>
    string PrintArray(int64_t num_elts, const T* array) {
      string ret;
      for (int64_t i = 0; i < num_elts; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.goPanicSliceConvert", 1},
    	{"runtime.printbool", 1},
    	{"runtime.printfloat", 1},
    	{"runtime.printint", 1},
    	{"runtime.printhex", 1},
    	{"runtime.printuint", 1},
    	{"runtime.printcomplex", 1},
    	{"runtime.printstring", 1},
    	{"runtime.printpointer", 1},
    	{"runtime.printuintptr", 1},
    	{"runtime.printiface", 1},
    	{"runtime.printeface", 1},
    	{"runtime.printslice", 1},
    	{"runtime.printnl", 1},
    	{"runtime.printsp", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top