Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 70 for getRegion (0.39 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      LogicalResult UnifyReplicationInfo(func::FuncOp func) {
        auto new_repl_info =
            builder.getStringAttr(func.getSymName().str() + "_repl_info");
        for (auto& op : func.getRegion().getOps()) {
          if (auto compile_op = llvm::dyn_cast<TF::TPUCompilationResultOp>(op)) {
            UpdateReplicationAttr(compile_op, new_repl_info);
          } else {
            UpdateReplicationAttr(&op, new_repl_info);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/merge_fusion_with_dequantize.cc

        if (!func_op) return failure();
        // The quantized fusion should have requantize and return ops at the end.
        auto return_op = dyn_cast_or_null<func::ReturnOp>(
            func_op.getRegion().getBlocks().front().getTerminator());
        if (!return_op) return failure();
        auto req_op = llvm::dyn_cast_or_null<mlir::stablehlo::UniformQuantizeOp>(
            return_op.getOperands()[0].getDefiningOp());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3Client.java

            if (endpoint.isPresent()) {
                amazonS3Client.setEndpoint(endpoint.get().toString());
            } else {
                Optional<Region> region = s3RegionalResource.getRegion();
                if (region.isPresent()) {
                    amazonS3Client.setRegion(region.get());
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

      // function.
      OpBuilder builder(graph_op);
      auto new_graph_op =
          builder.create<GraphOp>(graph_op.getLoc(), new_result_types);
      new_graph_op.getRegion().takeBody(graph_op.getRegion());
      graph_op->replaceAllUsesWith(
          new_graph_op->getResults().drop_back(num_resources));
      graph_op.erase();
      func::ReturnOp return_op = cast<func::ReturnOp>(block.getTerminator());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/python/mlir_wrapper/mlir_wrapper.pyi

        def __init__(self, *args, **kwargs) -> None: ...
    
    class Operation:
        def __init__(self, *args, **kwargs) -> None: ...
        def dump(self) -> None: ...
        def getNumResults(self) -> int: ...
        def getRegion(self, arg0: int) -> Region: ...
        def getResult(self, arg0: int) -> OpResult: ...
    
    class OperationState:
        def __init__(self, arg0: Location, arg1: str) -> None: ...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 09 17:10:09 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/S3ClientIntegrationTest.groovy

                def uri = new URI("s3://${bucketName}.${regionForUrl}${key}")
    
                S3RegionalResource s3RegionalResource = new S3RegionalResource(uri)
                s3Client.amazonS3Client.setRegion(s3RegionalResource.getRegion().get())
    
    
                println "Regional uri: ${uri}"
                println("Creating bucket: ${bucketName}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc

      for (int i = 0; i < op->getNumRegions(); ++i) {
        state.addRegion();
      }
      Operation* new_op = builder.create(state);
      for (const auto& indexed_regions : llvm::enumerate(op->getRegions())) {
        Region& region = op->getRegion(indexed_regions.index());
        IRMapping mapping;
        indexed_regions.value().cloneInto(&region, mapping);
      }
      int new_position = 0;
      for (auto result : op->getResults()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

        if (auto func = dyn_cast<func::FuncOp>(call.resolveCallable())) {
          (*arguments_to_erase)[func].push_back(argument_index);
          work_list->push_back(std::make_pair(&func.getRegion(), argument_index));
        }
      } else if (auto if_op = dyn_cast<TF::IfOp>(user_op)) {
        (*arguments_to_erase)[if_op].push_back(argument_index);
        for (auto callee : {if_op.then_function(), if_op.else_function()}) {
    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. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h

          if (candidate_op->getNumRegions() != 0) {
            for (const auto& indexed_regions :
                 llvm::enumerate(candidate_op->getRegions())) {
              Region& target_region =
                  quantized_op->getRegion(indexed_regions.index());
              IRMapping mapping;
              indexed_regions.value().cloneInto(&target_region, mapping);
            }
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

          if (!passthrough_arg) break;
          value = call.getArgOperands()[passthrough_arg.value()];
        } else if (isa<tf_device::LaunchOp, tf_device::ClusterOp>(op)) {
          value = op->getRegion(0).front().getTerminator()->getOperand(res_index);
        } else {
          break;
        }
      }
      return value;
    }
    
    // Analyze the region.
    BacktrackAnalysisInfo::BacktrackAnalysisInfo(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top