- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for isF64 (0.04 sec)
-
tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc
} bool IsCompatibleTypeWithTFLCastOp(Type type) { auto elemType = getElementTypeOrSelf(type); // F16, F32, F64, BF16 types are allowed. if (elemType.isBF16() || elemType.isF16() || elemType.isF32() || elemType.isF64()) return true; // I1, I4, I8, I16, I32, I64 types are allowed. if (elemType.isInteger(1) || elemType.isInteger(4) || elemType.isInteger(8) || elemType.isInteger(16) || elemType.isInteger(32) ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc
rand_val = mlir::IntegerAttr::get(element_type, std::rand()); } else if (element_type.isF16() || element_type.isF32() || element_type.isF64()) { rand_val = mlir::FloatAttr::get(element_type, std::rand() * 1.0 / RAND_MAX); } else { inst.emitWarning()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 11:51:44 UTC 2024 - 14.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_operator.h
return std::vector<float>(); } template <> inline std::vector<double> GetVector(DenseElementsAttr elements) { auto type = elements.getType(); auto elemType = type.getElementType(); if (elemType.isF64()) { auto vec = llvm::to_vector(llvm::map_range( elements.getValues<APFloat>(), [&](APFloat value) -> double { return value.convertToFloat(); })); return std::vector<double>(vec.begin(), vec.end());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 21:00:09 UTC 2024 - 11.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc
<< ")"; }); return false; } // Verify the data type is supported. Type element_ty = getElementTypeOrSelf(conv.getType()); if (!element_ty.isF32() && !element_ty.isF64()) { (void)rewriter.notifyMatchFailure(conv, [&](Diagnostic &diag) { diag << "supported data types for _FusedConv2D are float and double, " << " but got " << element_ty; });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0) -
src/cmd/link/internal/loadmacho/ldmacho.go
e = binary.LittleEndian } else { return errorf("bad magic - not mach-o file") } is64 := e.Uint32(hdr[:]) == 0xFEEDFACF ncmd := e.Uint32(hdr[4*4:]) cmdsz := e.Uint32(hdr[5*4:]) if ncmd > 0x10000 || cmdsz >= 0x01000000 { return errorf("implausible mach-o header ncmd=%d cmdsz=%d", ncmd, cmdsz) } if is64 { f.MustSeek(4, 1) // skip reserved word in header } m := &ldMachoObj{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 12 18:45:57 UTC 2022 - 19.1K bytes - Viewed (0) -
src/debug/dwarf/entry.go
resolveRnglistx := func(rnglistsBase, off uint64) uint64 { is64, _ := b.format.dwarf64() if is64 { off *= 8 } else { off *= 4 } off += rnglistsBase if uint64(int(off)) != off { b.error("DW_FORM_rnglistx offset out of range") } b1 := makeBuf(b.dwarf, b.format, "rnglists", 0, b.dwarf.rngLists) b1.skip(int(off)) if is64 { off = b1.uint64() } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 30.7K bytes - Viewed (0) -
src/cmd/link/internal/loadelf/ldelf.go
} // read header elfobj := new(ElfObj) elfobj.e = e elfobj.f = f elfobj.base = base elfobj.length = length elfobj.name = pn is64 := 0 class := elf.Class(hdrbuf[elf.EI_CLASS]) if class == elf.ELFCLASS64 { is64 = 1 hdr := new(elf.Header64) binary.Read(bytes.NewReader(hdrbuf[:]), e, hdr) elfobj.type_ = uint32(hdr.Type) elfobj.machine = uint32(hdr.Machine)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:12:12 UTC 2024 - 33.9K bytes - Viewed (0) -
src/time/zoneinfo_read.go
// describe a broader range of dates. is64 := false if version > 1 { // Skip the 32-bit data. skip := n[NTime]*4 + n[NTime] + n[NZone]*6 + n[NChar] + n[NLeap]*8 + n[NStdWall] + n[NUTCLocal] // Skip the version 2 header that we just read. skip += 4 + 16 d.read(skip) is64 = true // Read the counts again, they can differ.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 14.4K bytes - Viewed (0)