- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 68 for Flip (0.03 sec)
-
src/log/slog/handler.go
// We can't use assignment because we can't copy the mutex. return &commonHandler{ json: h.json, opts: h.opts, preformattedAttrs: slices.Clip(h.preformattedAttrs), groupPrefix: h.groupPrefix, groups: slices.Clip(h.groups), nOpenGroups: h.nOpenGroups, w: h.w, mu: h.mu, // mutex shared among all clones of this handler } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 18:18:13 UTC 2023 - 17.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py
# is unusually small. if abs(zero_point) > 9e9: zero_point = 9e9 if abs(scale) < 1e-9: scale = 1e-9 zero_point = round(zero_point) quantized_hist_mids = np.clip( np.round(self._hist_mids / scale) + zero_point, minbound, maxbound ) dequantized_hist_mids = scale * (quantized_hist_mids - zero_point) return dequantized_hist_mids
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 11 19:29:56 UTC 2024 - 14.7K bytes - Viewed (0) -
src/cmd/go/main.go
telemetry.Inc("go/subcommand:" + strings.ReplaceAll(cfg.CmdName, " ", "-") + "-" + strings.Join(args[used:], "-")) help.Help(os.Stdout, append(slices.Clip(args[:used]), args[used+1:]...)) base.Exit() } helpArg := "" if used > 0 { helpArg += " " + strings.Join(args[:used], " ") } cmdName := cfg.CmdName if cmdName == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0) -
samples/bookinfo/src/productpage/templates/productpage.html
</svg> {% endfor %} {% for n in range(5 - review.rating.stars) %}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 19:54:05 UTC 2024 - 10.9K bytes - Viewed (0) -
docs/tr/docs/alternatives.md
### <a href="https://marshmallow.readthedocs.io/en/stable/" class="external-link" target="_blank">Marshmallow</a>
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 28.8K bytes - Viewed (0) -
src/cmd/go/internal/load/test.go
ptest.EmbedFiles = str.StringList(p.EmbedFiles, p.TestEmbedFiles) ptest.Internal.OrigImportPath = p.Internal.OrigImportPath ptest.Internal.PGOProfile = p.Internal.PGOProfile ptest.Internal.Build.Directives = append(slices.Clip(p.Internal.Build.Directives), p.Internal.Build.TestDirectives...) } else { ptest = p } // External test package. if len(p.XTestGoFiles) > 0 { pxtest = &Package{ PackagePublic: PackagePublic{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 28.2K bytes - Viewed (0) -
src/image/jpeg/writer.go
if b.Dx() >= 1<<16 || b.Dy() >= 1<<16 { return errors.New("jpeg: image is too large to encode") } var e encoder if ww, ok := w.(writer); ok { e.w = ww } else { e.w = bufio.NewWriter(w) } // Clip quality to [1, 100]. quality := DefaultQuality if o != nil { quality = o.Quality if quality < 1 { quality = 1 } else if quality > 100 { quality = 100 } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 17.1K bytes - Viewed (0) -
src/cmd/go/internal/generate/generate.go
if len(words) == 1 { g.errorf("no command specified for -command") } command := words[1] if g.commands[command] != nil { g.errorf("command %q multiply defined", command) } g.commands[command] = slices.Clip(words[2:]) } // exec runs the command specified by the argument. The first word is // the command name itself. func (g *Generator) exec(words []string) { path := words[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 29 19:39:24 UTC 2024 - 14.5K bytes - Viewed (0) -
src/log/slog/handler_test.go
wantJSON: `{"time":"2000-01-02T03:04:05Z","level":"INFO","msg":"message","a":"one","b":2}`, }, { name: "empty key", attrs: append(slices.Clip(attrs), Any("", "v")), wantText: `time=2000-01-02T03:04:05.000Z level=INFO msg=message a=one b=2 ""=v`, wantJSON: `{"time":"2000-01-02T03:04:05Z","level":"INFO","msg":"message","a":"one","b":2,"":"v"}`, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 02 13:57:53 UTC 2023 - 19.6K bytes - Viewed (0) -
src/image/jpeg/scan.go
case 3: dst, stride = d.blackPix[8*(by*d.blackStride+bx):], d.blackStride default: return UnsupportedError("too many components") } } // Level shift by +128, clip to [0, 255], and write to dst. for y := 0; y < 8; y++ { y8 := y * 8 yStride := y * stride for x := 0; x < 8; x++ { c := b[y8+x] if c < -128 { c = 0 } else if c > 127 { c = 255
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 00:46:29 UTC 2024 - 15.7K bytes - Viewed (0)