- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 151 for x_data (0.16 sec)
-
tensorflow/cc/gradients/image_grad_test.cc
TensorShape x_shape({1, 4, 6, 1}); Tensor x_data = MakeData<X_T>(x_shape); Output x, y; MakeOp<X_T>(op_type, x_data, {2, 3}, align_corners, half_pixel_centers, &x, &y); JAC_T max_error; TF_ASSERT_OK((ComputeGradientError<X_T, Y_T, JAC_T>( scope_, x, x_data, y, {1, 2, 3, 1}, &max_error))); EXPECT_LT(max_error, 1.5e-3); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 15 04:08:05 UTC 2019 - 12.1K bytes - Viewed (0) -
tensorflow/cc/framework/gradient_checker.cc
Tensor y_data = (*y_datas)[y_idx]; if (y_data.SharesBufferWith((*x_datas)[x_idx])) { // Create copies of outputs that share a buffer with any inputs since // the underlying buffer of the input Tensors are not copied for some // operations (i.e. Identity), which can lead to incorrect results for // the centered difference calculation. (*y_datas)[y_idx] = tensor::DeepCopy(y_data); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 18.2K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad_test.cc
TF_ASSERT_OK(scope_.status()); DataType x_type = DataTypeToEnum<X_T>::v(); TensorShape shape({2, 3, 2}); auto x = Placeholder(scope_, x_type, Placeholder::Shape(shape)); Tensor x_data(x_type, shape); auto x_data_flat = x_data.flat<X_T>(); for (int i = 0; i < x_data_flat.size(); ++i) { x_data_flat(i) = x_fn(i); } Output y; switch (op_type) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
data[len(prefix)+1] = 0 if ctxt.Arch.ByteOrder == binary.BigEndian { data[len(prefix)+1] = 1 } data[len(prefix)+1] |= 2 // signals new pointer-free format data = appendString(data, strdata["runtime.buildVersion"]) data = appendString(data, strdata["runtime.modinfo"]) // MacOS linker gets very upset if the size os not a multiple of alignment. for len(data)%16 != 0 { data = append(data, 0) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/seh.go
s.SetAlign(4) return s } pdata := mkSecSym(".pdata", sym.SSEHSECT) xdata := mkSecSym(".xdata", sym.SSEHSECT) // The .xdata entries have very low cardinality // as it only contains frame pointer operations, // which are very similar across functions. // These are referenced by .pdata entries using // an RVA, so it is possible, and binary-size wise, // to deduplicate .xdata entries.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:01:27 UTC 2023 - 2K bytes - Viewed (0) -
src/debug/macho/file_test.go
{"__eh_frame", "__TEXT", 0x100000fb8, 0x48, 0xfb8, 0x3, 0x0, 0x0, 0x6000000b}, {"__data", "__DATA", 0x100001000, 0x1c, 0x1000, 0x3, 0x0, 0x0, 0x0}, {"__dyld", "__DATA", 0x100001020, 0x38, 0x1020, 0x3, 0x0, 0x0, 0x0}, {"__la_symbol_ptr", "__DATA", 0x100001058, 0x10, 0x1058, 0x2, 0x0, 0x0, 0x7}, }, nil, }, { "testdata/gcc-amd64-darwin-exec-debug.base64",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 12.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_perm.txt
go list ./... ! stdout _data # skip in conditions where chmod 0 may not work. # plan9 should be fine, but copied from list_perm.txt unchanged. [root] skip [GOOS:windows] skip [GOOS:plan9] skip # go list should work with unreadable _data directory. chmod 0 _data go list ./... ! stdout _data -- go.mod -- module m -- x.go -- package m -- _data/x.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 412 bytes - Viewed (0) -
src/cmd/link/internal/loadpe/seh.go
case sys.AMD64: ldr.SetAttrReachable(pdata, true) if xdata != 0 { ldr.SetAttrReachable(xdata, true) } return processSEHAMD64(ldr, pdata) default: // TODO: support SEH on other architectures. return fmt.Errorf("unsupported architecture for SEH: %v", arch.Family) } } func processSEHAMD64(ldr *loader.Loader, pdata sym.LoaderSym) error { // The following loop traverses a list of pdata entries,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 22 16:20:28 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/internal/objfile/macho.go
sect := f.macho.Sections[s.Sect-1] switch sect.Seg { case "__TEXT", "__DATA_CONST": sym.Code = 'R' case "__DATA": sym.Code = 'D' } switch sect.Seg + " " + sect.Name { case "__TEXT __text": sym.Code = 'T' case "__DATA __bss", "__DATA __noptrbss": sym.Code = 'B' } } syms = append(syms, sym) } return syms, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 3.1K bytes - Viewed (0) -
src/runtime/signal_solaris_amd64.go
func (c *sigctxt) set_rip(x uint64) { c.regs().gregs[_REG_RIP] = int64(x) } func (c *sigctxt) set_rsp(x uint64) { c.regs().gregs[_REG_RSP] = int64(x) } func (c *sigctxt) set_sigcode(x uint64) { c.info.si_code = int32(x) } func (c *sigctxt) set_sigaddr(x uint64) { *(*uintptr)(unsafe.Pointer(&c.info.__data[0])) = uintptr(x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 11 12:56:15 UTC 2016 - 2.5K bytes - Viewed (0)