Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for check_output_ (0.13 sec)

  1. tensorflow/compiler/jit/build_xla_ops_pass.cc

            new_output = print_op;
          }
    
          if (debugging_opts.check_output_numerics &&
              DataTypeIsFloating(new_output.type())) {
            ops::CheckNumerics check_numerics_op(
                s.WithOpName("check_output_", oidx)
                    .WithDevice(new_node->requested_device())
                    .WithAssignedDevice(new_node->assigned_device_name()),
                new_output,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/sds/writer_test.go

    			mockWriter := NewSDSWriter(w, tt.format)
    			err := mockWriter.PrintDiffs(tt.diffs)
    			if err != nil {
    				t.Errorf("error printing secret items: %v", err)
    			}
    			checkOutput(t, w.String(), tt.expected, tt.unexpected)
    		})
    	}
    }
    
    func checkOutput(t *testing.T, output string, expected, unexpected []string) {
    	t.Helper()
    	for _, expected := range expected {
    		if !strings.Contains(output, expected) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  3. src/cmd/internal/test2json/test2json_test.go

    	getTest := func(e event) string {
    		s, _ := e["Test"].(string)
    		return s
    	}
    
    	// checkOutput collects output from the haveEvents for the current outputTest
    	// and then checks that the collected output matches the wanted output.
    	checkOutput := func() {
    		for i < len(haveEvents) && haveEvents[i]["Action"] == "output" && getTest(haveEvents[i]) == outputTest {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

    internal invocation viewer.
    """
    import collections
    import os
    import re
    import subprocess
    import sys
    from junitparser import JUnitXml
    
    result = JUnitXml()
    try:
      files = subprocess.check_output(
          ["grep", "-rlE", '(failures|errors)="[1-9]', sys.argv[1]]
      )
    except subprocess.CalledProcessError as e:
      print("No failures found to log!")
      exit(0)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 19:00:37 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. configure.py

      if stderr is None:
        stderr = sys.stdout
      if allow_non_zero:
        try:
          output = subprocess.check_output(cmd, stderr=stderr)
        except subprocess.CalledProcessError as e:
          output = e.output
      else:
        output = subprocess.check_output(cmd, stderr=stderr)
      return output.decode('UTF-8').strip()
    
    
    def cygpath(path):
      """Convert path from posix to windows."""
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
Back to top