Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for b_size (0.3 sec)

  1. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

      std::vector<TfLiteDimensionType> format = {};
      std::vector<int> b_size = {};
      std::vector<int> b_map = {};
      PopulateEncodingParams(block_size, &traversal_order, &format, &b_map,
                             &b_size);
    
      if (type.getElementType().isF32()) {
        tflite::internal::sparsity::FormatConverter<float> format_converter(
            shape, traversal_order, format, b_size, b_map);
        std::vector<float> data;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/cc_op_gen_util.cc

      return list.s_size() == 0 && list.i_size() == 0 && list.f_size() == 0 &&
             list.b_size() == 0 && list.type_size() == 0 &&
             list.shape_size() == 0 && list.tensor_size() == 0;
    }
    
    string ToCamelCase(StringPiece str) {
      string result;
      const char joiner = '_';
      size_t i = 0;
      bool cap = true;
      while (i < str.size()) {
        const char c = str[i++];
        if (c == '>') {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.cc

          }
          // Bool
          if (const int b_size = default_value.list().b_size()) {
            absl::InlinedVector<unsigned char, 4> b_vector;
            b_vector.reserve(b_size);
            for (int i = 0; i < b_size; i++) {
              b_vector.push_back(default_value.list().b(i));
            }
            TFE_OpSetAttrBoolList(op, attr_name, b_vector.data(), b_size);
          }
          // Type
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  4. tensorflow/cc/framework/gradient_checker.cc

                                JAC_T* max_error) {
      if (xs.size() != x_shapes.size()) {
        return errors::InvalidArgument("xs(size ", xs.size(),
                                       ") and x_shapes(size ", x_shapes.size(),
                                       ") must be the same size.");
      }
      if (ys.size() != y_shapes.size()) {
        return errors::InvalidArgument("ys(size ", ys.size(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. src/runtime/msize.go

    // Malloc small size classes.
    //
    // See malloc.go for overview.
    // See also mksizeclasses.go for how we decide what size classes to use.
    
    package runtime
    
    // Returns size of the memory block that mallocgc will allocate if you ask for the size,
    // minus any inline space for metadata.
    func roundupsize(size uintptr, noscan bool) (reqSize uintptr) {
    	reqSize = size
    	if reqSize <= maxSmallSize-mallocHeaderSize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go

    	Nlink    int16
    	Flag     uint16
    	Uid      uint32
    	Gid      uint32
    	Rdev     uint64
    	Ssize    int32
    	Atim     Timespec
    	Mtim     Timespec
    	Ctim     Timespec
    	Blksize  int64
    	Blocks   int64
    	Vfstype  int32
    	Vfs      uint32
    	Type     uint32
    	Gen      uint32
    	Reserved [9]uint32
    	Padto_ll uint32
    	Size     int64
    }
    
    type StatxTimestamp struct{}
    
    type Statx_t struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K 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. 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)
  9. internal/disk/stat_freebsd.go

    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - uint64(s.Bavail)
    	info = Info{
    		Total:  uint64(s.Bsize) * (s.Blocks - reservedBlocks),
    		Free:   uint64(s.Bsize) * uint64(s.Bavail),
    		Files:  s.Files,
    		Ffree:  uint64(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)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go

    	Uid     uint32
    	Gid     uint32
    	Rdev    uint32
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Size    int64
    	Blocks  int64
    	_       uint32
    	Flags   uint32
    	Gen     uint32
    	Lspare  int32
    	Blksize int64
    	Qspare2 int64
    }
    
    type Statfs_t struct {
    	Spare2      int64
    	Bsize       int64
    	Iosize      int64
    	Blocks      int64
    	Bfree       int64
    	Bavail      int64
    	Files       int64
    	Ffree       int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top