Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 516 for Region (0.11 sec)

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

    // failure.
    template <typename OpT>
    LogicalResult GetOp(Region* region, OpT* result) {
      *result = {};
      for (auto op : region->getOps<OpT>()) {
        if (*result) return op.emitError("should be unique within a function");
        *result = op;
      }
      return success();
    }
    
    LogicalResult RunOnRegion(Region* region) {
      RecvTPUEmbeddingActivationsOp recv_op;
      if (failed(GetOp(region, &recv_op))) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. cmd/server-startup-msg.go

    	}
    	return newAPIEndpoints
    }
    
    // Prints common server startup message. Prints credential, region and browser access.
    func printServerCommonMsg(apiEndpoints []string) {
    	// Get saved credentials.
    	cred := globalActiveCred
    
    	// Get saved region.
    	region := globalSite.Region()
    
    	apiEndpointStr := strings.TrimSpace(strings.Join(apiEndpoints, "  "))
    	// Colorize the message and print.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. cmd/signature-v4.go

    // returns ErrNone if the signature matches.
    func doesPolicySignatureV4Match(formValues http.Header) (auth.Credentials, APIErrorCode) {
    	// Server region.
    	region := globalSite.Region()
    
    	// Parse credential tag.
    	credHeader, s3Err := parseCredentialHeader("Credential="+formValues.Get(xhttp.AmzCredential), region, serviceS3)
    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	r := &http.Request{Header: formValues}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. pilot/pkg/networking/util/util_test.go

    		},
    		{
    			name:     "locality with only region",
    			locality: "region",
    			want: &core.Locality{
    				Region: "region",
    			},
    		},
    		{
    			name:     "locality with region and zone",
    			locality: "region/zone",
    			want: &core.Locality{
    				Region: "region",
    				Zone:   "zone",
    			},
    		},
    		{
    			name:     "locality with region zone and subzone",
    			locality: "region/zone/subzone",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  5. src/internal/trace/summary.go

    	return descendents
    }
    
    // UserRegionSummary represents a region and goroutine execution stats
    // while the region was active. (For v2 traces.)
    type UserRegionSummary struct {
    	TaskID TaskID
    	Name   string
    
    	// Region start event. Normally EventRegionBegin event or nil,
    	// but can be a state transition event from NotExist or Undetermined
    	// if the region is a synthetic region representing task inheritance
    	// from the parent goroutine.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. src/internal/trace/oldtrace_test.go

    				if testName == "user_task_region_1_21_good" {
    					testedUserRegions = true
    					validRegions := map[string]struct{}{
    						"post-existing region": struct{}{},
    						"region0":              struct{}{},
    						"region1":              struct{}{},
    					}
    					// Check that we correctly convert user regions. These
    					// strings were generated by
    					// runtime/trace.TestUserTaskRegion, which is the basis for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc

                FunctionalControlFlowToRegionsPassOptions{allow_passthrough_args}) {
      }
      void runOnOperation() override;
    };
    
    // Creates a call to function `func` in region `caller_region`. Use `args` as
    // the call arguments, and terminate the region with a yield. The arguments are
    // cast to the required type before the call. `use_region_args` control whether
    // the input arguments are used as is (for IfOp) or block arguments of the same
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

      auto walk_result = parent_op->walk([](Operation *op) {
        // Cleanup code in attached regions.
        for (Region &region : op->getRegions()) {
          if (!llvm::hasSingleElement(region)) return WalkResult::interrupt();
          RemovePassthroughOp(region.front());
          RemoveDeadLocalVariables(region.front());
        }
    
        LogicalResult result = success();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

      }
    
      // Returns if its legal to inline 'src' region into the 'dest' region
      // attached to a TF Device operation.
      bool isLegalToInline(Region* dest, Region* src, bool wouldBeCloned,
                           IRMapping& valueMapping) const final {
        return true;
      }
    
      // Defines the legality of inlining TF Device operations into a region.
      bool isLegalToInline(Operation* call, Region*, bool, IRMapping&) const final {
        return true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

      auto& region = op->getRegion(region_idx);
      region.getArgument(0).replaceAllUsesWith(implicit_operand);
      region.front().eraseArguments(0, region.getNumArguments());
    }
    
    // Rewrites an `mhlo.if` op or its region. If `region_idx` is not set, the op
    // operands and results are rewritten. If `region_idx` is set, region
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
Back to top