Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,114 for Region (0.12 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.h

                                       ConversionPatternRewriter& rewriter);
    
    // Checks if the specified region is a binary reduction function that takes 2
    // inputs, passes it to an instance of the specified reduction op and then
    // returns the result.
    template <typename ReductionOp>
    LogicalResult MatchBinaryReduceFunction(mlir::Region& function) {
      Block& body = function.front();
      if (body.getNumArguments() != 2) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 11:35:25 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. 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)
  3. cmd/post-policy_test.go

    	t := UTCNow()
    	region := "us-east-1"
    	policy := buildGenericPolicy(t, accessKey, region, bucketName, objectName, true)
    	return newPostRequestV4Generic(endPoint, bucketName, objectName, objData, accessKey, secretKey, region, t, policy, nil, false, false, false)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/trace/trace.go

    // By definition, a region starts and ends in the same goroutine.
    // Regions can be nested to represent subintervals.
    // For example, the following code records four regions in the execution
    // trace to trace the durations of sequential steps in a cappuccino making
    // operation.
    //
    //	trace.WithRegion(ctx, "makeCappuccino", func() {
    //
    //	   // orderID allows to identify a specific order
    //	   // among many cappuccino order region records.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 00:47:09 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.td

      let summary = [{
        The `region` operation wraps high-precision ops as a logical low-precision
        quantized kernel.
      }];
    
      let arguments = (ins Variadic<AnyType>:$inputs,
                        TypeArrayAttr:$input_specs,
                        TypeArrayAttr:$output_specs,
                        StrAttr:$logical_kernel);
      let results = (outs Variadic<AnyType>:$outputs);
      let regions = (region SizedRegion<1>:$body);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 03:10:59 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

    // represents replica id.
    LogicalResult UpdateRegionReplicateVariantOps(
        OpBuilder& builder, Location loc, Region& region, int replica_id,
        const std::optional<DictionaryAttr>& devices) {
      auto result = region.walk([&](Operation* op) -> WalkResult {
        if (RequiresReplicaIDAttribute(op)) {
          op->setAttr(kReplicaIdAttr, builder.getI64IntegerAttr(replica_id));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  8. pkg/bootstrap/platform/gcp.go

    			}
    		}()
    	}
    	return &wg
    }
    
    // Converts a GCP zone into a region.
    func zoneToRegion(z string) (string, error) {
    	// Zones are in the form <region>-<zone_suffix>, so capture everything but the suffix.
    	re := regexp.MustCompile("(.*)-.*")
    	m := re.FindStringSubmatch(z)
    	if len(m) != 2 {
    		return "", fmt.Errorf("unable to extract region from GCP zone: %s", z)
    	}
    	return m[1], nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 00:37:33 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.td

      let summary = [{
        The `region` operation wraps high-precision ops as a logical low-precision
        quantized kernel.
      }];
    
      let arguments = (ins Variadic<AnyType>:$inputs,
                        TypeArrayAttr:$input_specs,
                        TypeArrayAttr:$output_specs,
                        StrAttr:$logical_kernel);
      let results = (outs Variadic<AnyType>:$outputs);
      let regions = (region SizedRegion<1>:$body);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 13 12:46:08 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/unwrap_xla_call_module_op.cc

    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/OpDefinition.h"  // from @llvm-project
    #include "mlir/IR/Region.h"  // from @llvm-project
    #include "mlir/IR/SymbolTable.h"  // from @llvm-project
    #include "mlir/IR/Value.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project  // IWYU pragma: keep
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top