Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 403 for Tperm (0.14 sec)

  1. cmd/os_windows.go

    	"os"
    	"path/filepath"
    	"syscall"
    )
    
    func access(name string) error {
    	_, err := os.Lstat(name)
    	return err
    }
    
    func osMkdirAll(dirPath string, perm os.FileMode, _ string) error {
    	// baseDir is not honored in windows platform
    	return os.MkdirAll(dirPath, perm)
    }
    
    // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.td

        Operation supports folding operand(s) transposes into the operation itself.
    
        (1) Operation might have layout dependent operands and results...
    
          Example:  MaxPool(Transpose($arg, $perm))
                      -> Transpose(MaxPool($arg, $perm))
    
        (2) ... or it might have only layout dependent operands:
    
          Example: Mean(Transpose($arg, $reduction_dims))
                     -> Mean($arg, Transpose($reduction_dims))
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 30 19:07:07 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  3. src/runtime/stubs2.go

    // It returns a non-negative number of bytes written or a negative errno value.
    //
    //go:noescape
    func write1(fd uintptr, p unsafe.Pointer, n int32) int32
    
    //go:noescape
    func open(name *byte, mode, perm int32) int32
    
    // return value is only set on linux to be used in osinit().
    func madvise(addr unsafe.Pointer, n uintptr, flags int32) int32
    
    // exitThread terminates the current thread, writing *wait = freeMStack when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/utils.td

    // Returns a ShapedType for a permutation and the shape of input after
    // applying the permutation to the given shape through a transpose.
    class GetTransposedType<string perm> : NativeCodeCall<
      "GetTransposedType($0, " # perm # ")">;
    
    // Function to map final permutation to initial permutation
    // initial -> permutation1 -> permutation2 -> final
    def RemapPermutation: NativeCodeCall<"RemapPermutation($0, $1)">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/syscall/tables_js.go

    		return nil
    	case EAGAIN:
    		return errEAGAIN
    	case EINVAL:
    		return errEINVAL
    	case ENOENT:
    		return errENOENT
    	}
    	return e
    }
    
    var errnoByCode = map[string]Errno{
    	"EPERM":           EPERM,
    	"ENOENT":          ENOENT,
    	"ESRCH":           ESRCH,
    	"EINTR":           EINTR,
    	"EIO":             EIO,
    	"ENXIO":           ENXIO,
    	"E2BIG":           E2BIG,
    	"ENOEXEC":         ENOEXEC,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 19.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/plan9/syscall_plan9.go

    func Open(path string, mode int) (fd int, err error) {
    	fixwd()
    	return open(path, mode)
    }
    
    //sys	create(path string, mode int, perm uint32) (fd int, err error)
    
    func Create(path string, mode int, perm uint32) (fd int, err error) {
    	fixwd()
    	return create(path, mode, perm)
    }
    
    //sys	remove(path string) (err error)
    
    func Remove(path string) error {
    	fixwd()
    	return remove(path)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 7K bytes
    - Viewed (0)
  7. src/syscall/fs_js.go

    	_, err := fsCall("close", fd)
    	return err
    }
    
    func CloseOnExec(fd int) {
    	// nothing to do - no exec
    }
    
    func Mkdir(path string, perm uint32) error {
    	if err := checkPath(path); err != nil {
    		return err
    	}
    	_, err := fsCall("mkdir", path, perm)
    	return err
    }
    
    func ReadDirent(fd int, buf []byte) (int, error) {
    	f, err := fdToFile(fd)
    	if err != nil {
    		return 0, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 11 18:19:17 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  8. pkg/volume/util/subpath/subpath_windows.go

    func (sp *subpath) SafeMakeDir(subdir string, base string, perm os.FileMode) error {
    	realBase, err := evalSymlink(base)
    	if err != nil {
    		return fmt.Errorf("error resolving symlinks in %s: %s", base, err)
    	}
    
    	realFullPath := filepath.Join(realBase, subdir)
    	return doSafeMakeDir(realFullPath, realBase, perm)
    }
    
    func doSafeMakeDir(pathname string, base string, perm os.FileMode) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 12:57:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. src/math/rand/rand_test.go

    				fn   func() int
    			}{
    				{name: "Int31n", fn: func() int { return int(r.Int31n(int32(nfact))) }},
    				{name: "int31n", fn: func() int { return int(Int31nForTest(r, int32(nfact))) }},
    				{name: "Perm", fn: func() int { return encodePerm(r.Perm(n)) }},
    				{name: "Shuffle", fn: func() int {
    					// Generate permutation using Shuffle.
    					for i := range p {
    						p[i] = i
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. src/os/file.go

    func Mkdir(name string, perm FileMode) error {
    	longName := fixLongPath(name)
    	e := ignoringEINTR(func() error {
    		return syscall.Mkdir(longName, syscallMode(perm))
    	})
    
    	if e != nil {
    		return &PathError{Op: "mkdir", Path: name, Err: e}
    	}
    
    	// mkdir(2) itself won't handle the sticky bit on *BSD and Solaris
    	if !supportsCreateWithStickyBit && perm&ModeSticky != 0 {
    		e = setStickyBit(name)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top