Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 512 for region3 (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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(&region);
      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)
  5. pilot/pkg/networking/core/cluster_builder_test.go

    						Locality: model.Locality{
    							ClusterID: "cluster-1",
    							Label:     "region1/zone1/subzone1",
    						},
    						LbWeight: 30,
    						Network:  "filtered-out",
    					},
    				},
    			},
    			expected: []*endpoint.LocalityLbEndpoints{
    				{
    					Locality: &core.Locality{
    						Region:  "region1",
    						Zone:    "zone1",
    						SubZone: "subzone1",
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem.h

                                  const TF_ReadOnlyMemoryRegionOps* ops)
          : region_(std::move(region)), ops_(ops) {}
    
      ~ModularReadOnlyMemoryRegion() override { ops_->cleanup(region_.get()); };
    
      const void* data() override { return ops_->data(region_.get()); }
      uint64 length() override { return ops_->length(region_.get()); }
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/cluster_formation.cc

      // Create a stand-alone region to hold all instructions in the cluster.
      Region region;
      region.push_back(new Block);
    
      // Move all operations in cluster to newly created region, stripping their
      // "device" attribute since launch op already carries device information.
      Block* block = &region.front();
      for (Operation* op : c.ops) {
        op->moveBefore(block, block->end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 13:30:21 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tpu_parallel_execute_sink_resource_write.cc

      const int num_regions = parallel_execute.getNumRegions();
      llvm::SmallVector<Value, 4> results_to_remap;
    
      // Go through each region and find AssignVariableOps that can be moved into
      // the parallel_execute region. Result indices by region index are collected,
      // so they can be removed afterwards.
      llvm::SmallVector<llvm::SmallVector<int, 4>, 4> results_to_remove_by_region;
      results_to_remove_by_region.resize(num_regions);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 06 04:46:18 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

        // collect effects for all ops in the regions instead of collecting effects
        // for the op itself. This is important to avoid conservatism and to find
        // resource variable accesses in regions which are not exposed to the op
        // interface.
        for (Region& region : op->getRegions()) {
          for (Operation& region_op : region.front().without_terminator()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. src/runtime/pprof/vminfo_darwin.go

    	"os"
    	"unsafe"
    )
    
    func isExecutable(protection int32) bool {
    	return (protection&_VM_PROT_EXECUTE) != 0 && (protection&_VM_PROT_READ) != 0
    }
    
    // machVMInfo uses the mach_vm_region region system call to add mapping entries
    // for the text region of the running process.
    func machVMInfo(addMapping func(lo, hi, offset uint64, file, buildID string)) bool {
    	added := false
    	var addr uint64 = 0x1
    	for {
    		var memRegionSize uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 23:35:39 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top