Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 349 for atol (0.12 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

        # Consider if there is a way to check if activation fusion is properly
        # done in MLIR level.
        # Tests that the quantized graph outputs similar values. The rtol and atol
        # values are arbitrary.
        self.assertAllClose(new_outputs, expected_outputs, rtol=0.3, atol=0.2)
    
        # Due to other meta data, the compression is not exactly 1/4.
        self.assertLess(
            testing.get_size_ratio(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

        # expected to be small.
        # The atol value is arbitrary.
        if not enable_per_channel_quantization:
          expected_outputs = model.conv(input_data)
          target_outputs = converted_model.signatures['serving_default'](
              input_tensor=ops.convert_to_tensor(input_data)
          )
          self.assertAllClose(target_outputs, expected_outputs, atol=0.06)
    
        if target_opset == quant_opts_pb2.XLA:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/test.go

    }
    
    func Strtol(s string, base int) (int, error) {
    	p := C.CString(s)
    	n, err := C.strtol(p, nil, C.int(base))
    	C.free(unsafe.Pointer(p))
    	return int(n), err
    }
    
    func Atol(s string) int {
    	p := C.CString(s)
    	n := C.atol(p)
    	C.free(unsafe.Pointer(p))
    	return int(n)
    }
    
    func testConst(t *testing.T) {
    	C.myConstFunc(nil, 0, nil)
    }
    
    func testEnum(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  4. src/strconv/atoi.go

    		return -int64(cutoff), rangeError(fnParseInt, s0)
    	}
    	n := int64(un)
    	if neg {
    		n = -n
    	}
    	return n, nil
    }
    
    // Atoi is equivalent to ParseInt(s, 10, 0), converted to type int.
    func Atoi(s string) (int, error) {
    	const fnAtoi = "Atoi"
    
    	sLen := len(s)
    	if intSize == 32 && (0 < sLen && sLen < 10) ||
    		intSize == 64 && (0 < sLen && sLen < 19) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. src/strconv/atoc.go

    qiulaidongfeng <******@****.***> 1714788079 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/strconv/atof.go

    ******@****.*** <******@****.***> 1654492238 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 18:50:50 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    	processClump := func(idx int, emit bool) int {
    		// Process func itself, plus anything else defined
    		// on the same line
    		atl := ues.atline[dentries[idx].line]
    		for k := uint(0); k < atl; k++ {
    			if emit {
    				emitFunc(&dentries[idx], dcsites[idx], k, atl)
    			}
    			idx++
    		}
    		// now process any closures it contains
    		ncl := 0
    		for idx < nd {
    			nfn := dentries[idx].fname
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/proxy/transport.go

    var atomsToAttrs = map[atom.Atom]sets.String{
    	atom.A:          sets.NewString("href"),
    	atom.Applet:     sets.NewString("codebase"),
    	atom.Area:       sets.NewString("href"),
    	atom.Audio:      sets.NewString("src"),
    	atom.Base:       sets.NewString("href"),
    	atom.Blockquote: sets.NewString("cite"),
    	atom.Body:       sets.NewString("background"),
    	atom.Button:     sets.NewString("formaction"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  9. platforms/software/antlr/src/test/groovy/org/gradle/api/plugins/antlr/internal/antlr2/MetadataExtracterTest.groovy

            options {
                buildAST = true;
            }
    
            expr:   mexpr (PLUS^ mexpr)* SEMI!
                ;
    
            mexpr
                :   atom (STAR^ atom)*
                ;
    
            atom:   INT
                ;"""
            expect:
            "org.acme" == new MetadataExtracter().getPackageName(new StringReader(grammar))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr2PluginIntegrationTest.groovy

                options {
                    buildAST = true;
                }
    
                expr:   mexpr (PLUS^ mexpr)* SEMI!
                    ;
    
                mexpr
                    :   atom (STAR^ atom)*
                    ;
    
                atom:   INT
                    ;"""
    
            file("grammar-builder/src/main/antlr/AnotherGrammar.g") << """
                header {
                    package org.acme;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top