- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 571 for region2 (0.15 sec)
-
src/runtime/trace/trace.go
// By definition, a region starts and ends in the same goroutine. // Regions can be nested to represent subintervals. // For example, the following code records four regions in the execution // trace to trace the durations of sequential steps in a cappuccino making // operation. // // trace.WithRegion(ctx, "makeCappuccino", func() { // // // orderID allows to identify a specific order // // among many cappuccino order region records.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 20 00:47:09 UTC 2023 - 5.1K bytes - Viewed (0) -
src/internal/trace/testdata/fuzz/FuzzReader/closing-unknown-region
Carlos Amedee <******@****.***> 1715265901 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 240 bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
auto& region = op->getRegion(region_idx); region.getArgument(0).replaceAllUsesWith(implicit_operand); region.front().eraseArguments(0, region.getNumArguments()); } // Rewrites an `mhlo.if` op or its region. If `region_idx` is not set, the op // operands and results are rewritten. If `region_idx` is set, region
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
tests/associations_test.go
} if err := DB.Migrator().DropTable(&Organization{}, &Region{}); err != nil { t.Fatalf("Failed to migrate, got error: %s", err) } if err := DB.AutoMigrate(&Organization{}, &Region{}); err != nil { t.Fatalf("Failed to migrate, got error: %v", err) } region := &Region{Name: "Region1"} if err := DB.Create(region).Error; err != nil { t.Fatalf("fail to create region %v", err) } var orgs []Organization
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
ParallelExecuteOp op = *this; const auto& regions = op.getOperation()->getRegions(); if (regions.empty()) { return op.emitOpError() << "must have at least one region."; } int output_index = 0; for (const auto& region_and_index : llvm::enumerate(regions)) { auto& region = region_and_index.value(); auto* region_terminator = region.front().getTerminator();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/match.go
break outer } } } } // TODO: select first language tag based on script. } if w.RegionID != tt.RegionID && w.RegionID != 0 { if w.RegionID != 0 && tt.RegionID != 0 && tt.RegionID.Contains(w.RegionID) { tt.RegionID = w.RegionID tt.RemakeString() } else if r := w.RegionID.String(); len(r) == 2 { // TODO: also filter macro and deprecated.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 25.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc
// Update the regions. The dialect conversion framework wants new regions to // be created and updated, rather than updating the old op. Thus we use an // OperationState so we can add regions to the new op. OperationState state(op->getLoc(), op->getName().getStringRef(), operands, new_results, op->getAttrs(), op->getSuccessors()); for (Region& region : op->getRegions()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.3K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/annotations-stress.go
ctx, t = trace.NewTask(ctx, "do") defer t.End() trace.Log(ctx, "log2", "do") // Create a region and spawn more tasks and more workers. trace.WithRegion(ctx, "fanout", func() { for i := 0; i < k; i++ { go func(i int) { trace.WithRegion(ctx, fmt.Sprintf("region%d", i), func() { trace.Logf(ctx, "log", "fanout region%d", i) if i == 2 { do(ctx, 0) return } }) }(i) } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/trace/pprof.go
}) var lastTimestamp trace.Time var n int // Select only the outermost regions. for _, i := range intervals { if lastTimestamp <= i.start { intervals[n] = i // new non-overlapping region starts. lastTimestamp = i.end n++ } // Otherwise, skip because this region overlaps with a previous region. } gToIntervals[g] = intervals[:n] } return gToIntervals, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf_while.cc
} }; } // namespace // Inserts call to the given function into the 'region'. void CreateRegionWithCall(func::FuncOp func, Region& region, Location loc) { OpBuilder builder(region); auto block = builder.createBlock(®ion); SmallVector<Value, 4> new_operands; for (Type t : func.getFunctionType().getInputs()) new_operands.push_back(block->addArgument(t, loc));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 3.4K bytes - Viewed (0)