Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for region3 (0.16 sec)

  1. src/internal/trace/testdata/testprog/annotations.go

    		trace.WithRegion(ctx, "region0", func() {
    			// EvUserRegionBegin("region0", start)
    			trace.WithRegion(ctx, "region1", func() {
    				trace.Log(ctx, "key0", "0123456789abcdef") // EvUserLog("task0", "key0", "0....f")
    			})
    			// EvUserRegionEnd("region0", end)
    		})
    	}()
    	wg.Wait()
    
    	preExistingRegion.End()
    	postExistingRegion := trace.StartRegion(bgctx, "post-existing region")
    
    	// End of traced execution.
    	trace.Stop()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/internal/trace/oldtrace_test.go

    				if testName == "user_task_region_1_21_good" {
    					testedUserRegions = true
    					validRegions := map[string]struct{}{
    						"post-existing region": struct{}{},
    						"region0":              struct{}{},
    						"region1":              struct{}{},
    					}
    					// Check that we correctly convert user regions. These
    					// strings were generated by
    					// runtime/trace.TestUserTaskRegion, which is the basis for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.h

      // Given a Region associated with the callee and operands from the
      // corresponding callOp, propagate the potentially written decision to the
      // callOp's operands, if the corresponding region's arguments are potentially
      // written resources.
      void PropagatePotentiallyWrittenUpFromCallee(
          Region& region, Operation::operand_range propagate_to);
    
      // Marks 'resource' as written.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc

    }
    
    // Analyze the specified region for resource mutating operations, namely
    // TF::AssignVariableOp, if so, set the resource associated as "potentially
    // written". Do this recursively across the chain of regions via call or
    // control flow ops.
    // TODO(ashwinm): Move to iterative traversal.
    LogicalResult ResourceAnalyzer::AnalyzeRegion(Region& region) {
      // Avoid infinite recursion.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. cluster/gce/upgrade-aliases.sh

        "${IP_ALIAS_SUBNETWORK}" --project="${PROJECT}" --region="${REGION}" \
        --format='value(fingerprint)')
      local access_token
      access_token=$(gcloud auth print-access-token)
      local request="{\"allowSubnetCidrRoutesOverlap\":$1, \"fingerprint\":\"${fingerprint}\"}"
      local subnetwork_url
      subnetwork_url="${GCE_API_ENDPOINT}projects/${PROJECT}/regions/${REGION}/subnetworks/${IP_ALIAS_SUBNETWORK}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/tests/go122-annotations.test

    String id=21
    	data="start trace"
    String id=22
    	data="task0"
    String id=23
    	data="task0 region"
    String id=24
    	data="unended region"
    String id=25
    	data="region0"
    String id=26
    	data="region1"
    String id=27
    	data="key0"
    String id=28
    	data="0123456789abcdef"
    String id=29
    	data="post-existing region"
    String id=30
    	data="main.main.func1.1"
    String id=31
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_calibration_statistics_saver.cc

    // Inserts a `CalibrationStatisticsSaverOp` to the end of the region.
    LogicalResult InsertCalibrationStatisticsSaverOp(
        Region& region, MLIRContext& ctx, absl::string_view output_file_path,
        const std::unordered_set<std::string>& aggregator_ops_to_ignore) {
      SmallVector<Value> statistics_outputs;
      SmallVector<StringRef> ids;
      SmallVector<int32_t> calibration_methods;
      FindCustomAggregatorOps(region, aggregator_ops_to_ignore, statistics_outputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top