Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for b_size (0.1 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. tensorflow/compiler/mlir/tensorflow/g3doc/space_to_depth.md

        ```
    
        If kernel\_size % block\_size != 0, padding is needed for the weight before
        transform, input of Convolution needs to be padded as well.
    
    1.  Rewrite the first convolution
    
        Need to rewrite the first convolution's shape of input from [batch\_size,
        height, width, 3] to [batch\_size, height // block\_size, width //
        block\_size, 3 \* block\_size \* block\_size] and kernel shape from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Oct 24 02:51:43 UTC 2020
    - 8.3K bytes
    - Viewed (0)
  6. 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)
  7. src/syscall/ztypes_aix_ppc64.go

    	Gid      uint32
    	Rdev     uint64
    	Ssize    int32
    	Atim     StTimespec_t
    	Mtim     StTimespec_t
    	Ctim     StTimespec_t
    	Blksize  int64
    	Blocks   int64
    	Vfstype  int32
    	Vfs      uint32
    	Type     uint32
    	Gen      uint32
    	Reserved [9]uint32
    	Padto_ll uint32
    	Size     int64
    }
    
    type Statfs_t struct {
    	Version   int32
    	Type      int32
    	Bsize     uint64
    	Blocks    uint64
    	Bfree     uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 14:36:41 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  8. src/math/big/gcd_test.go

    		runGCDExt(b, aSize, bSize, false)
    	})
    	b.Run("WithXY", func(b *testing.B) {
    		runGCDExt(b, aSize, bSize, true)
    	})
    }
    
    func runGCDExt(b *testing.B, aSize, bSize uint, calcXY bool) {
    	b.StopTimer()
    	var r = rand.New(rand.NewSource(1234))
    	aa := randInt(r, aSize)
    	bb := randInt(r, bSize)
    	var x, y *Int
    	if calcXY {
    		x = new(Int)
    		y = new(Int)
    	}
    	b.StartTimer()
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 19:11:43 UTC 2016
    - 2.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top