Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for abs8 (0.05 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/decompose_resource_ops.mlir

        // CHECK-DAG: %[[SIGN:.*]] = "tf.Sign"(%[[PROX]]) : (tensor<4xf32>) -> tensor<4xf32>
        // CHECK-DAG: %[[ABS:.*]] = "tf.Abs"(%[[PROX]]) : (tensor<4xf32>) -> tensor<4xf32>
        // CHECK-DAG: %[[SCALED_L1:.*]] = "tf.Mul"(%[[ADAGRAD_LR]], %[[L1]]) : (tensor<4xf32>, tensor<f32>) -> tensor<4xf32>
        // CHECK-DAG: %[[PROX_NEW:.*]] = "tf.Sub"(%[[ABS]], %[[SCALED_L1]]) : (tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  3. 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)
  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. 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)
  6. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

    # limitations under the License.
    # ==============================================================================
    import os
    import re
    from typing import Mapping, Optional, Sequence
    
    from absl.testing import parameterized
    import numpy as np
    
    from google.protobuf import text_format
    from tensorflow.compiler.mlir.quantization.common.python import testing
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/go/build/build.go

    		} else {
    			// Find the absolute source directory. hasSubdir does not handle
    			// relative paths (and can't because the callbacks don't support this).
    			var err error
    			absSrcDir, err = filepath.Abs(srcDir)
    			if err != nil {
    				return errNoModules
    			}
    		}
    
    		// If the source directory is in GOROOT, then the in-process code works fine
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

    // be represented using a TensorFlow op. Otherwise, TensorFlow Lite dialect op
    // is used.
    
    #include <climits>
    #include <cstdint>
    #include <optional>
    #include <utility>
    
    #include "absl/container/inlined_vector.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallSet.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringSwitch.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
Back to top