Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for getRegion (0.22 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc

            PropagatePotentiallyWrittenUpFromCallee(func.getRegion(),
                                                    call.getArgOperands());
          }
          return;
        }
        if (auto if_op = dyn_cast<TF::IfOp>(op)) {
          for (auto callee : {if_op.then_function(), if_op.else_function()}) {
            PropagatePotentiallyWrittenUpFromCallee(callee.getRegion(),
                                                    if_op.getInput());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

      added_call_op->setAttr(kInterfaceNameAttr, interface_name);
    
      StringAttr device = mlir::cast<StringAttr>(
          added_func_op->getRegion(0).getBlocks().front().front().getAttr(kDevice));
      StringAttr inference_type = mlir::cast<StringAttr>(
          added_func_op->getRegion(0).getBlocks().front().front().getAttr(
              kInferenceType));
      added_call_op->setAttr(kDevice, device);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

      );
    
      let results = (outs
        Variadic<AnyType>:$results
      );
    
      let regions = (region SizedRegion<1>:$body);
    
      let extraClassDeclaration = [{
        Block &GetBody() { return getOperation()->getRegion(0).front(); }
        bool WrapsSingleOp();
      }];
    
      let builders = [
        OpBuilder<(ins "StringAttr":$device, "TypeRange":$result_types),
        [{
          $_state.addAttribute("device", device);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top