Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 530 for Region (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/launch_to_device_attribute.cc

    };
    
    // Assign all ops in region with specified device from launch.
    LogicalResult AssignDevicesInRegion(const Dialect* tf_dialect,
                                        tf_device::LaunchOp launch,
                                        Region& region) {
      auto parallel_group_attr =
          launch->getAttrOfType<StringAttr>(TF::kParallelExecAnnotation);
      auto result = region.walk([&](Operation* op) -> WalkResult {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/internal/trace/trace_test.go

    			{trace.EventRegionBegin, trace.TaskID(1), []string{"region0"}},
    			{trace.EventRegionBegin, trace.TaskID(1), []string{"region1"}},
    			{trace.EventLog, trace.TaskID(1), []string{"key0", "0123456789abcdef"}},
    			{trace.EventRegionEnd, trace.TaskID(1), []string{"region1"}},
    			{trace.EventRegionEnd, trace.TaskID(1), []string{"region0"}},
    			{trace.EventTaskEnd, trace.TaskID(1), []string{"task0"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/replicate_invariant_op_hoisting.cc

        shape_op.erase();
      }
    }
    
    // Checks if op and inner op operands are all replicate invariant.
    bool IsOpReplicateInvariant(Region* replicate_region, Operation* op) {
      auto ancestor_of_replicate = [&](Region* region) {
        return region && region->isProperAncestor(replicate_region);
      };
    
      for (Value operand : op->getOperands())
        if (!ancestor_of_replicate(operand.getParentRegion())) return false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/loadbalancer/loadbalancer.go

    	for i, localityEndpoint := range loadAssignment.Endpoints {
    		// if region/zone/subZone all match, the priority is 0.
    		// if region/zone match, the priority is 1.
    		// if region matches, the priority is 2.
    		// if locality not match, the priority is 3.
    		priority := util.LbPriority(locality, localityEndpoint.Locality)
    		// region not match, apply failover settings when specified
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

      // Registered hook to check if the given region, which is attached to an
      // operation that is *not* isolated from above (i.e. no internal regions
      // reference values defined in an enclosing region), should be used when
      // materializing constants.
      // In the executor dialect we materialize inside an island.
      bool shouldMaterializeInto(Region *region) const final {
        return isa<tf_executor::IslandOp>(region->getParentOp());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h

            alias_analysis_(alias_analysis),
            op_to_parallel_ids_(op_to_parallel_ids) {
        AnalyzeFunction(func_op);
      }
    
      // Constructs analysis info by analyzing the given region.
      SideEffectAnalysisInfo(Region* region,
                             const OpSideEffectCollector& op_side_effect_collector,
                             const TF::ResourceAliasAnalysis::Info& alias_analysis,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

        // while creating the tf operations.
        new_types.pop_back();
    
        llvm::SmallVector<std::unique_ptr<Region>, 1> new_regions;
        for (auto &region : op->getRegions()) {
          new_regions.push_back(std::make_unique<Region>());
          new_regions.back()->takeBody(region);
        }
    
        llvm::SmallVector<NamedAttribute, 4> attrs;
        if (failed(ReformatOpAttributes(getContext(), op->getAttrs(), attrs)))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

                // Recursivley call again to raise any non-"CPU" subgraphs contained
                // within nested region of `op`.
                for (auto& region : op.getRegions())
                  for (auto& block : region.getBlocks())
                    RaiseTargetSubgraphsForBlock(block, builder, module,
                                                 /*skip_cpu=*/true, func_count,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

                                        cluster_result_types.size() *
                                            num_cores_per_replica);
      for (mlir::Region& region : old_parallel_execute.getRegions()) {
        if (!llvm::isa<tf_device::ClusterFuncOp>(region.front().front())) {
          for (Type t : region.front().front().getResultTypes())
            concatenated_output_types.emplace_back(t);
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top