Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 578 for Regions (0.14 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      // IfRegion condition should always be a scalar. Select the region to fold to.
      bool cond = cond_attr.getSplatValue<BoolAttr>().getValue();
      Region& region = cond ? op.getThenBranch() : op.getElseBranch();
    
      // If the IfRegion is stateless but the region being inlined itself is not
      // stateless, then inlining the region could cause a loss of information.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/trace/tasks.go

    			return ""
    		}
    		old, new := st.Goroutine()
    		return fmt.Sprintf("%s -> %s", old, new)
    	case trace.EventRegionBegin:
    		return fmt.Sprintf("region %q begin", ev.Region().Type)
    	case trace.EventRegionEnd:
    		return fmt.Sprintf("region %q end", ev.Region().Type)
    	case trace.EventTaskBegin:
    		t := ev.Task()
    		return fmt.Sprintf("task %q (D %d, parent %d) begin", t.Type, t.ID, t.Parent)
    	case trace.EventTaskEnd:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/transforms/merge_control_flow.cc

          dependencies.push_back(dependency->getParentOp());
        if (!safe_to_merge) break;
      }
      return safe_to_merge;
    }
    
    // Move the body excluding the terminators of else and then regions from
    // 'second_if' to 'first_if'.
    void MoveBranches(TF::IfRegionOp first_if, TF::IfRegionOp second_if) {
      Block& first_if_then_block = first_if.getThenBranch().front();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/internal/language/lookup.go

    func (r Region) String() string {
    	if r < isoRegionOffset {
    		if r == 0 {
    			return "ZZ"
    		}
    		return fmt.Sprintf("%03d", r.M49())
    	}
    	r -= isoRegionOffset
    	return regionISO.Elem(int(r))[:2]
    }
    
    // ISO3 returns the 3-letter ISO code of r.
    // Note that not all regions have a 3-letter ISO code.
    // In such cases this method returns "ZZZ".
    func (r Region) ISO3() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top