Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for b_size (0.24 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/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)
  3. 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)
  4. src/strconv/atoc.go

    // away from the largest floating point number of the given component's size,
    // ParseComplex returns err.Err = ErrRange and c = ±Inf for the respective component.
    func ParseComplex(s string, bitSize int) (complex128, error) {
    	size := 64
    	if bitSize == 64 {
    		size = 32 // complex64 uses float32 parts
    	}
    
    	orig := s
    
    	// Remove parentheses, if any.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. tensorflow/c/kernels.cc

      if (attr->list().field##_size() > 0) {      \
        *list_size = attr->list().field##_size(); \
        __VA_ARGS__;                              \
        break;                                    \
      }
    
          LIST_CASE(
              s, TF_ATTR_STRING, *total_size = 0;
              for (int i = 0; i < attr->list().s_size();
                   ++i) { *total_size += attr->list().s(i).size(); });
          LIST_CASE(i, TF_ATTR_INT);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_386.go

    	Heads     uint8
    	Sectors   uint8
    	Cylinders uint16
    	Start     uint32
    }
    
    type Statfs_t struct {
    	Type    int32
    	Bsize   int32
    	Blocks  uint64
    	Bfree   uint64
    	Bavail  uint64
    	Files   uint64
    	Ffree   uint64
    	Fsid    Fsid
    	Namelen int32
    	Frsize  int32
    	Flags   int32
    	Spare   [4]int32
    }
    
    type TpacketHdr struct {
    	Status  uint32
    	Len     uint32
    	Snaplen uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go

    	_      uint64
    }
    
    type HDGeometry struct {
    	Heads     uint8
    	Sectors   uint8
    	Cylinders uint16
    	Start     uint64
    }
    
    type Statfs_t struct {
    	Type    int64
    	Bsize   int64
    	Frsize  int64
    	Blocks  uint64
    	Bfree   uint64
    	Files   uint64
    	Ffree   uint64
    	Bavail  uint64
    	Fsid    Fsid
    	Namelen int64
    	Flags   int64
    	Spare   [5]int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Reftim    Time_t
    	_         [24]byte // rsrvd5
    }
    
    type Statvfs_t struct {
    	ID          [4]byte
    	Len         int32
    	Bsize       uint64
    	Blocks      uint64
    	Usedspace   uint64
    	Bavail      uint64
    	Flag        uint64
    	Maxfilesize int64
    	_           [16]byte
    	Frsize      uint64
    	Bfree       uint64
    	Files       uint32
    	Ffree       uint32
    	Favail      uint32
    	Namemax31   uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. src/runtime/export_test.go

    		}
    		slow.Frees += m.tinyAllocCount + m.largeFreeCount
    		slow.Mallocs += slow.Frees
    
    		slow.TotalAlloc = slow.Alloc + m.largeFree + smallFree
    
    		for i := range slow.BySize {
    			slow.BySize[i].Mallocs = bySize[i].Mallocs
    			slow.BySize[i].Frees = bySize[i].Frees
    		}
    
    		for i := mheap_.pages.start; i < mheap_.pages.end; i++ {
    			chunk := mheap_.pages.tryChunkOf(i)
    			if chunk == nil {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc

          return std::to_string(attr_value.f());
        case AttrValue::kB:
          return attr_value.b() ? "true" : "false";
        case AttrValue::kList:
          if (attr_.full_type() == "list(string)" &&
              attr_value.list().s_size() == 0) {
            return "{}";
          }
          LOG(WARNING) << "Unimplemented: default value of list-typed attribute.";
          return "/* UNIMPLEMENTED */";
        case AttrValue::kShape:
        case AttrValue::kTensor:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top