Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 403 for Tperm (0.22 sec)

  1. src/math/rand/example_test.go

    	show("Int31n(10)", r.Int31n(10), r.Int31n(10), r.Int31n(10))
    	show("Int63n(10)", r.Int63n(10), r.Int63n(10), r.Int63n(10))
    
    	// Perm generates a random permutation of the numbers [0, n).
    	show("Perm", r.Perm(5), r.Perm(5), r.Perm(5))
    	// Output:
    	// Float32     0.2635776           0.6358173           0.6718283
    	// Float64     0.628605430454327   0.4504798828572669  0.9562755949377957
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 16:24:57 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/clone_constants_for_better_clustering_test.cc

      Output perm = ops::Const(on_cpu.WithOpName("perm"), {3, 1, 2, 0});
    
      {
        Output tr0 = ops::Transpose(on_gpu.WithOpName("tr0"), in0, perm);
        Output tr1 = ops::Transpose(on_gpu.WithOpName("tr1"), in1, perm);
      }
    
      Output in_place_add =
          ops::InplaceAdd(on_cpu.WithOpName("tr0"), perm,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/push-tpose-through-ewise.mlir

    // CHECK-LABEL: pushTposeAfterAddSimple
    func.func @pushTposeAfterAddSimple(%arg0: tensor<2x3x4x5xf32>) -> tensor<5x2x3x4xf32> {
      %perm = arith.constant dense<[3, 0, 1, 2]> : tensor<4xi32>
      %0 = "tfl.transpose"(%arg0, %perm) : (tensor<2x3x4x5xf32>, tensor<4xi32>) -> tensor<5x2x3x4xf32>
      %cst = arith.constant dense<1.0> : tensor<5x2x3x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/cmd/internal/bootstrap_test/overlaydir_test.go

    			suffix = suffix[1:]
    		}
    		dstPath := filepath.Join(dstRoot, suffix)
    
    		info, err := entry.Info()
    		perm := info.Mode() & os.ModePerm
    		if info.Mode()&os.ModeSymlink != 0 {
    			info, err = os.Stat(srcPath)
    			if err != nil {
    				return err
    			}
    			perm = info.Mode() & os.ModePerm
    		}
    
    		// Always make copies of directories.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:35:05 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/math/rand/v2/regress_test.go

    	[]int{4, 2, 1, 3, 0},                // Perm(5)
    	[]int{0, 2, 3, 1, 5, 4, 6, 7},       // Perm(8)
    	[]int{2, 0, 8, 3, 4, 7, 6, 5, 1},    // Perm(9)
    	[]int{0, 6, 5, 3, 8, 4, 1, 2, 9, 7}, // Perm(10)
    	[]int{9, 14, 4, 11, 13, 8, 0, 6, 2, 12, 3, 7, 1, 10, 5, 15}, // Perm(16)
    	[]int{},                             // Perm(0)
    	[]int{0},                            // Perm(1)
    	[]int{2, 4, 0, 3, 1},                // Perm(5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. internal/lock/lock_solaris.go

    // for os.OpenFile().
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, syscall.F_SETLKW)
    }
    
    // Open - Call os.OpenFile
    func Open(path string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(path, flag, perm)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. src/runtime/create_file_unix.go

    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package runtime
    
    const canCreateFile = true
    
    // create returns an fd to a write-only file.
    func create(name *byte, perm int32) int32 {
    	return open(name, _O_CREAT|_O_WRONLY|_O_TRUNC, perm)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 03:45:30 UTC 2022
    - 368 bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    	cSpaceString   = `(?:\s+(\S+))?`
    	cSpaceHex      = `(?:\s+([[:xdigit:]]+))?`
    	cSpaceAtOffset = `(?:\s+\(@([[:xdigit:]]+)\))?`
    	cPerm          = `(?:\s+([-rwxp]+))?`
    
    	procMapsRE  = regexp.MustCompile(`^` + cHexRange + cPerm + cSpaceHex + hexPair + spaceDigits + cSpaceString)
    	briefMapsRE = regexp.MustCompile(`^` + cHexRange + cPerm + cSpaceString + cSpaceAtOffset + cSpaceHex)
    
    	// Regular expression to parse log data, of the form:
    	// ... file:line] msg...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  9. pkg/kubelet/container/os.go

    	Open(name string) (*os.File, error)
    	OpenFile(name string, flag int, perm os.FileMode) (*os.File, error)
    	Rename(oldpath, newpath string) error
    }
    
    // RealOS is used to dispatch the real system level operations.
    type RealOS struct{}
    
    // MkdirAll will call os.MkdirAll to create a directory.
    func (RealOS) MkdirAll(path string, perm os.FileMode) error {
    	return os.MkdirAll(path, perm)
    }
    
    // Symlink will call os.Symlink to create a symbolic link.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. src/internal/testenv/testenv_unix.go

    	var errno syscall.Errno
    	if errors.As(err, &errno) {
    		switch errno {
    		case syscall.EPERM, syscall.EROFS:
    			// User lacks permission: either the call requires root permission and the
    			// user is not root, or the call is denied by a container security policy.
    			return true
    		case syscall.EINVAL:
    			// Some containers return EINVAL instead of EPERM if a system call is
    			// denied by security policy.
    			return true
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 17:44:01 UTC 2023
    - 994 bytes
    - Viewed (0)
Back to top