Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 571 for region2 (0.11 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

      // Remove the original TPUExecute op.
      execute_launch.erase();
    
      // Move all regions from old parallel_execute to new parallel_execute.
      for (auto region : llvm::zip(new_parallel_execute_op->getRegions(),
                                   parallel_execute_op->getRegions()))
        std::get<0>(region).takeBody(std::get<1>(region));
    
      // Remove the original parallel_execute.
      parallel_execute_op->dropAllUses();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

         }
      ```
    
      `cond` is the condition region and `body` is the body region. Both these
      regions accept the current value of the iteration variables as inputs.
    
      The condition region yields a tensor<i1> which, if false, will exit the loop.
      It can also, optionally and additionally, yield the iteration variables, which
      must be unchanged.
    
      The body region always has to yield the (possibly updated) iteration variables.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/ssa/deadstore.go

    		return shadowRange(lo + hi<<16)
    	}
    	if hi < sr.lo() || lo > sr.hi() {
    		// The two regions don't overlap or abut, so we would
    		// have to keep track of multiple disjoint ranges.
    		// Because we can only keep one, keep the larger one.
    		if sr.hi()-sr.lo() >= hi-lo {
    			return sr
    		}
    		return shadowRange(lo + hi<<16)
    	}
    	// Regions overlap or abut - compute the union.
    	return shadowRange(min(lo, sr.lo()) + max(hi, sr.hi())<<16)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        // Add the successor regions using the condition.
        regions.push_back(RegionSuccessor(condition ? &getThenRegion() : else_reg));
      } else {
        // If the condition isn't constant, both regions may be executed.
        regions.push_back(RegionSuccessor(&getThenRegion()));
        // If the else region does not exist, it is not a viable successor.
        if (else_reg) regions.push_back(RegionSuccessor(else_reg));
        return;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/internal/trace/order.go

    func (s *gState) endRegion(r userRegion) error {
    	if len(s.regions) == 0 {
    		// We do not know about regions that began before tracing started.
    		return nil
    	}
    	if next := s.regions[len(s.regions)-1]; next != r {
    		return fmt.Errorf("misuse of region in goroutine %v: region end %v when the inner-most active region start event is %v", s.id, r, next)
    	}
    	s.regions = s.regions[:len(s.regions)-1]
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  10. cluster/gce/util.sh

        --network="${NETWORK}" \
        --regions="${REGION}" \
        --project="${NETWORK_PROJECT}" \
        --limit=1 \
        --format='value(name)' 2>/dev/null)
    
      if [[ -n ${SUBNETWORK:-} ]]; then
        echo "Found subnet for region ${REGION} in network ${NETWORK}: ${SUBNETWORK}"
        return 0
      fi
    
      echo "${color_red}Could not find subnetwork with region ${REGION}, network ${NETWORK}, and project ${NETWORK_PROJECT}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
Back to top