Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for ABS (0.04 sec)

  1. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // A particular pattern seen in cgo code:
    (AND (MOVDconst [c]) x:(MOVBZload _ _)) => (ANDconst [c&0xFF] x)
    
    // floating point negative abs
    (FNEG (F(ABS|NABS) x)) => (F(NABS|ABS) x)
    
    // floating-point fused multiply-add/sub
    (F(ADD|SUB) (FMUL x y) z) && x.Block.Func.useFMA(v) => (FM(ADD|SUB) x y z)
    (F(ADDS|SUBS) (FMULS x y) z) && x.Block.Func.useFMA(v) => (FM(ADDS|SUBS) x y z)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

    func.func @is_inf(%arg0: tensor<3x4xf32>) -> tensor<3x4xi1> {
      // CHECK: %[[INF:.*]] = "tf.Const"() <{value = dense<0x7F800000> : tensor<f32>}> : () -> tensor<f32>
      // CHECK: %[[ABS:.*]] = "tf.Abs"(%arg0) : (tensor<3x4xf32>) -> tensor<3x4xf32>
      // CHECK: %[[RESULT:.*]] = "tf.Equal"(%[[ABS]], %[[INF]]) <{incompatible_shape_error = true}> : (tensor<3x4xf32>, tensor<f32>) -> tensor<3x4xi1>
      %0 = "tf.IsInf"(%arg0) : (tensor<3x4xf32>) -> tensor<3x4xi1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  3. pkg/controller/podautoscaler/replica_calculator_test.go

    	perPodRequested := totalRequestedCPUOfAllPods / startPods
    
    	// Force a minimal scaling event by satisfying  (tolerance < 1 - resourcesUsedRatio).
    	target := math.Abs(1/(requestedToUsed*(1-defaultTestingTolerance))) + .01
    	finalCPUPercentTarget := int32(target * 100)
    	resourcesUsedRatio := float64(totalUsedCPUOfAllPods) / float64(float64(totalRequestedCPUOfAllPods)*target)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof_test.go

    	}
    
    	// stddev of bias from 100 runs on local machine multiplied by 10x
    	const threshold = 0.2
    	if bias := (il - fs) / il; math.Abs(bias) > threshold {
    		t.Fatalf("bias: abs(%f) > %f", bias, threshold)
    	} else {
    		t.Logf("bias: abs(%f) < %f", bias, threshold)
    	}
    }
    
    // blockFrequentShort produces 100000 block events with an average duration of
    // rate / 10.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  5. cmd/kubelet/app/server.go

    	const errFmt = "failed to load Kubelet config file %s, error %v"
    	// compute absolute path based on current working dir
    	kubeletConfigFile, err := filepath.Abs(name)
    	if err != nil {
    		return nil, fmt.Errorf(errFmt, name, err)
    	}
    	loader, err := configfiles.NewFsLoader(&utilfs.DefaultFs{}, kubeletConfigFile)
    	if err != nil {
    		return nil, fmt.Errorf(errFmt, name, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      if (symmetric) {
        // When the symmetric case, ConvertStatsToQDQs in PrepareQuantizePass
        // updates the min and max values into bigger absolute values.
        float_max = std::max(std::abs(float_min), std::abs(float_max));
        float_min = -float_max;
      }
    
      ASSERT_THAT(quantized_quant_params.scale, SizeIs(1));
      ASSERT_THAT(quantized_quant_params.zero_point, SizeIs(1));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  7. src/net/http/fs_test.go

    				t.Errorf("err = %v; errors.Is(err, fs.ErrNotExist) = %v; want true", err,
    					errors.Is(err, fs.ErrNotExist))
    			}
    		})
    	}
    
    	absPath, err := filepath.Abs("testdata")
    	if err != nil {
    		t.Fatal("get abs path:", err)
    	}
    
    	test("RelativePath", newfs("testdata"))
    	test("AbsolutePath", newfs(absPath))
    }
    
    func TestFileServerCleanPath(t *testing.T) {
    	tests := []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  8. src/math/big/float_test.go

    		"1",
    		"1234",
    		"1.23e-2",
    		"1e-1000",
    		"1e1000",
    		"Inf",
    	} {
    		p := makeFloat(test)
    		a := new(Float).Abs(p)
    		if !alike(a, p) {
    			t.Errorf("%s: got %s; want %s", test, a.Text('g', 10), test)
    		}
    
    		n := makeFloat("-" + test)
    		a.Abs(n)
    		if !alike(a, p) {
    			t.Errorf("-%s: got %s; want %s", test, a.Text('g', 10), test)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/lib.go

    			// in which it was found, do that. Otherwise, we will leave it
    			// to be resolved by libdir lookup.
    			abs := filepath.Join(filepath.Dir(libpath), dep)
    			if _, err := os.Stat(abs); err == nil {
    				dep = abs
    			}
    		}
    		deps = append(deps, dep)
    	}
    
    	syms, err := f.DynamicSymbols()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  10. src/os/os_test.go

    	if err := Mkdir(linkOutDir, 0755); err != nil {
    		t.Fatalf("Mkdir: %v", err)
    	}
    
    	// First, we create the absolute symlink pointing outside.
    	outLinkFile := filepath.Join(linkOutDir, "file.abs.out.link")
    	if err := Symlink(outsideFile, outLinkFile); err != nil {
    		t.Fatalf("Symlink: %v", err)
    	}
    
    	// Then, we create the relative symlink pointing outside.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
Back to top