Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 70 for getRegions (0.38 sec)

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

          // each region and the use of TensorList returned using YieldOp.
          if (auto while_region = llvm::dyn_cast<WhileRegionOp>(use.getOwner())) {
            DCOMMENT("\tTL WhileRegion");
            for (auto branch : while_region.getRegions())
              add_to_worklist(branch->getArgument(use.getOperandNumber()));
            continue;
          }
          if (auto yield = llvm::dyn_cast<YieldOp>(use.getOwner())) {
            Operation* parent = yield->getParentOp();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

            branch->front().getTerminator()->eraseOperand(next_index);
        }
    
        // Move region bodies to the new op.
        for (auto region_index : llvm::seq<int>(0, branches.size()))
          new_op.getRegion(region_index).takeBody(op.getRegion(region_index));
    
        op.erase();
        return success();
      }
    };
    }  // namespace
    
    void CaseRegionOp::getCanonicalizationPatterns(RewritePatternSet& results,
    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. platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3RegionalResourceTest.groovy

            new URI("s3://somebucket.au.s3.eu-central-1.amazonaws.com/a/b/file.txt")      | Optional.of(getRegion(Regions.EU_CENTRAL_1))                        | 'somebucket.au' | 'a/b/file.txt'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/hoist_replicate_invariant_resource_writes.cc

          replicate_op->getLoc(), new_result_types, replicate_op->getOperands(),
          replicate_op->getAttrs());
    
      // Move region to the new op.
      new_replicate_op.getRegion().takeBody(replicate_op.getRegion());
    
      // Replace all old uses with new op results.
      int old_num_results = replicate_op->getNumResults();
      replicate_op->replaceAllUsesWith(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

            op->getLoc(), op->getName(), types, new_operands, op->getAttrs(),
            op->getPropertiesStorage(), {}, /*numRegions=*/2));
    
        for (int i = 0; i < 2; ++i) new_op->getRegion(i).takeBody(op->getRegion(i));
        int new_index = 0;
        for (int op_index = 0, e = op->getNumResults(); op_index < e; ++op_index) {
          if (removed_operand[op_index]) continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  6. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3RegionalResource.java

                String key = matcher.group(4);
                Region derivedRegion;
                if (region.equals("external-1")) {
                    derivedRegion = Region.getRegion(Regions.US_EAST_1);
                } else {
                    derivedRegion = RegionUtils.getRegion(region);
                }
    
                this.region = Optional.of(derivedRegion);
                this.bucketName = bucketName;
                this.key = key;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc

          SetExportedName(other, name);
          module_body.push_front(other);
          other.addEntryBlock();
          OpBuilder builder(other.getRegion());
          auto call_op = builder.create<mlir::func::CallOp>(
              f.getLoc(), f.getFunctionType().getResults(), f.getSymName(),
              other.getRegion().getArguments());
          builder.create<mlir::func::ReturnOp>(f.getLoc(), call_op.getResults());
        }
    
        Unexport(f);
      }
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. pkg/bootstrap/platform/aws.go

    	if err != nil {
    		log.Debugf("error in getting aws info for %s : %v", path, err)
    		return "", err
    	}
    	return resp.String(), nil
    }
    
    // getRegion returns the Region that the instance is running in.
    func getRegion(ipv6 bool, headers map[string]string) string {
    	region, _ := getAWSInfo("placement/region", ipv6, headers)
    	return region
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 03:52:10 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/resource_analyzer_test_pass.cc

    // Prints the analysis result for each resource ops found in `module_op` for
    // testing purposes.
    void PrintAnalysisResults(const TF::ResourceAnalyzer& analyzer,
                              ModuleOp module_op) {
      module_op.getRegion().walk([&analyzer](Operation* op) {
        if (auto var_handle_op = dyn_cast<TF::VarHandleOp>(op)) {
          const ResourceKey resource_key = GetResourceKey(var_handle_op);
          op->emitRemark(llvm::formatv(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 00:21:29 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/python/mlir_wrapper/ops.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    void init_ops(py::module& m) {
      py::class_<mlir::Operation, std::unique_ptr<mlir::Operation, py::nodelete>>(
          m, "Operation")
          .def("getRegion", &mlir::Operation::getRegion,
               py::return_value_policy::reference)
          .def("getResult", &mlir::Operation::getResult)
          .def("dump", &mlir::Operation::dump)
          .def("getNumResults", &mlir::Operation::getNumResults);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 30 02:12:49 UTC 2022
    - 7.6K bytes
    - Viewed (0)
Back to top