Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 320 for Rsize (0.15 sec)

  1. pkg/volume/util/fs/fs.go

    	}
    
    	// Available is blocks available * fragment size
    	available := int64(statfs.Bavail) * int64(statfs.Bsize)
    
    	// Capacity is total block count * fragment size
    	capacity := int64(statfs.Blocks) * int64(statfs.Bsize)
    
    	// Usage is block being used * fragment size (aka block size).
    	usage := (int64(statfs.Blocks) - int64(statfs.Bfree)) * int64(statfs.Bsize)
    
    	inodes := int64(statfs.Files)
    	inodesFree := int64(statfs.Ffree)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 20 02:56:02 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeResizeBilinear : Pat<
      (TF_ResizeBilinearOp $images, $size, $align_corners, $half_pixel_centers),
      (TFL_ResizeBilinearOp $images, $size, $align_corners, $half_pixel_centers)>;
    def LegalizeResizeNearestNeighbor : Pat<
      (TF_ResizeNearestNeighborOp $images, $size, $align_corners,
        $half_pixel_centers),
      (TFL_ResizeNearestNeighborOp $images, $size, $align_corners,
        $half_pixel_centers)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  3. src/go/types/sizes.go

    			return 0
    		}
    		// n > 0
    		esize := s.Sizeof(t.elem)
    		if esize < 0 {
    			return -1 // element too large
    		}
    		if esize == 0 {
    			return 0 // 0-size element
    		}
    		// esize > 0
    		a := s.Alignof(t.elem)
    		ea := align(esize, a) // possibly < 0 if align overflows
    		if ea < 0 {
    			return -1
    		}
    		// ea >= 1
    		n1 := n - 1 // n1 >= 0
    		// Final size is ea*n1 + esize; and size must be <= maxInt64.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. tensorflow/cc/gradients/nn_grad_test.cc

      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
      // Setup window and strides so that we only do one MaxPool.
      const std::vector<int> ksize{1, 2, 2, 1};
      const std::vector<int> strides{1, 2, 2, 1};
      auto y = MaxPool(scope_, x, ksize, strides, "VALID");
      Tensor x_init_value = Tensor(DT_FLOAT, x_shape);
      SetRandomValuesForMaxPooling<float>(&x_init_value);
      RunTest(x, x_init_value, y, y_shape);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 20:45:22 UTC 2022
    - 15K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/sizes.go

    			return 0
    		}
    		// n > 0
    		esize := s.Sizeof(t.elem)
    		if esize < 0 {
    			return -1 // element too large
    		}
    		if esize == 0 {
    			return 0 // 0-size element
    		}
    		// esize > 0
    		a := s.Alignof(t.elem)
    		ea := align(esize, a) // possibly < 0 if align overflows
    		if ea < 0 {
    			return -1
    		}
    		// ea >= 1
    		n1 := n - 1 // n1 >= 0
    		// Final size is ea*n1 + esize; and size must be <= maxInt64.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. src/syscall/syscall_aix.go

    	n := 0
    	for len(out) > 0 {
    		bsize := len(out)
    		if bsize > 1024 {
    			bsize = 1024
    		}
    		err = ptrace64Ptr(PT_READ_BLOCK, int64(pid), int64(addr), bsize, unsafe.Pointer(&out[0]))
    		if err != nil {
    			return 0, err
    		}
    		addr += uintptr(bsize)
    		n += bsize
    		out = out[n:]
    	}
    	return n, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. internal/disk/stat_bsd.go

    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    		Total:  uint64(s.Bsize) * (s.Blocks - reservedBlocks),
    		Free:   uint64(s.Bsize) * s.Bavail,
    		Files:  s.Files,
    		Ffree:  s.Ffree,
    		FSType: getFSType(s.Fstypename[:]),
    	}
    	if info.Free > info.Total {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

        outputs=['o: T'])
    def _composite_max_pool(input_, stride_w, stride_h, filter_width, filter_height,
                            padding):
      ksize = [1, filter_width, filter_height, 1]
      strides = [1, stride_w, stride_h, 1]
      return tf.raw_ops.MaxPool(
          input=input_, ksize=ksize, strides=strides, padding=padding)
    
    
    @tf.RegisterGradient('NewMaxPool')
    def _max_pool_grad(op: ops.Operation, grad):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  9. src/syscall/ztypes_linux_arm.go

    	Uid       uint32
    	Gid       uint32
    	Rdev      uint64
    	X__pad2   uint16
    	Pad_cgo_1 [6]byte
    	Size      int64
    	Blksize   int32
    	Pad_cgo_2 [4]byte
    	Blocks    int64
    	Atim      Timespec
    	Mtim      Timespec
    	Ctim      Timespec
    	Ino       uint64
    }
    
    type Statfs_t struct {
    	Type      int32
    	Bsize     int32
    	Blocks    uint64
    	Bfree     uint64
    	Bavail    uint64
    	Files     uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. src/syscall/ztypes_linux_386.go

    	Uid       uint32
    	Gid       uint32
    	Rdev      uint64
    	X__pad2   uint16
    	Pad_cgo_1 [2]byte
    	Size      int64
    	Blksize   int32
    	Blocks    int64
    	Atim      Timespec
    	Mtim      Timespec
    	Ctim      Timespec
    	Ino       uint64
    }
    
    type Statfs_t struct {
    	Type    int32
    	Bsize   int32
    	Blocks  uint64
    	Bfree   uint64
    	Bavail  uint64
    	Files   uint64
    	Ffree   uint64
    	Fsid    Fsid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top