Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 265 for region (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/test/loadbalancersim/lb_test.go

    }
    
    func (tm testMetrics) String() string {
    	out := ""
    	out += fmt.Sprintf("      Requests: %d\n", tm.totalRequests())
    	out += fmt.Sprintf("      Topology: Same Zone=%d, Same Region=%d, Other Region=%d\n", tm.nodesSameZone, tm.nodesSameRegion, tm.nodesOtherRegion)
    	out += fmt.Sprintf("Latency  (min): %8.3fs\n", tm.latencyMin)
    	out += fmt.Sprintf("Latency  (avg): %8.3fs\n", tm.latencyAvg)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 19 23:29:30 UTC 2022
    - 11K 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/tensorflow/tests/tpu-variable-runtime-reformatting.mlir

           // Condition region
           // CHECK: ^bb
           // CHECK: "tf.Yield"
           ^bb0(%carg0: tensor<i32>):
              %c0 = "tf.Const"() {value = dense<0> : tensor<i32>} : () -> tensor<i32>
              %c1 = "tf.GreaterEqual"(%carg0, %0) {T = i32, device = ""} : (tensor<i32>, tensor<i32>) -> tensor<i1>
              "tf.Yield"(%c1) : (tensor<i1>) -> ()
          }, {
           // Body region
           // CHECK: ^bb0
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 25.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/g3doc/tf_dialects.md

    The `tf_executor.island` region allows implicit capture. If any value captured
    by a `tf_executor.island` is dead, the whole region does not execute and every
    produced value is marked as dead as well.
    
    An arbitrary number of `tf_executor.control` operands are accepted by a
    `tf_executor.island` operation. If any operand is dead, the region is not
    executed and dead values are immediately returned for every result.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 16K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

      }
    }
    
    // An override that takes region.
    void PropagateUsage(
        Region* region, ElementsAttr value, int argument_index,
        llvm::SmallVector<std::pair<Region*, int>, 4>* work_list,
        llvm::MapVector<Operation*, llvm::SmallVector<unsigned int, 4>>*
            arguments_to_erase) {
      auto arg = region->getArgument(argument_index);
      for (auto& usage : arg.getUses()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. cmd/perf-tests.go

    	if !globalAPIConfig.permitRootAccess() {
    		region := globalSite.Region()
    		if region == "" {
    			region = "us-east-1"
    		}
    		clnt, err = minio.New(globalLocalNodeName, &minio.Options{
    			Creds:     credentials.NewStaticV4(opts.creds.AccessKey, opts.creds.SecretKey, opts.creds.SessionToken),
    			Secure:    globalIsTLS,
    			Transport: globalRemoteTargetTransport,
    			Region:    region,
    		})
    		if err != nil {
    			return res, err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      auto modify_region_arguments = [&](Region& region) {
        int64_t original_arg_count = region.getNumArguments();
        for (int64_t i = 0; i < original_arg_count; ++i) {
          auto operand = while_op.getOperand(i);
          auto it = buffer_to_size->find(operand);
          if (it == buffer_to_size->end()) continue;
          auto buffer_type = it->getFirst().getType();
          region.getArgument(i).setType(buffer_type);
          auto size_arg =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top