Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,303 for Region (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops_invalid.mlir

        func.return
      }
      func.return
    }
    
    // -----
    
    // Check that an empty replicate is invalid (replicate needs a region).
    func.func @verifier_replicate_no_block() {
      "tf_device.replicate" () ({
    // expected-error@-1 {{'tf_device.replicate' op region #0 ('body') failed to verify constraint: region with 1 blocks}}
      }) {n = 2 : i32, operandSegmentSizes = array<i32: 0, 0>} : () -> ()
      func.return
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/bootstrap/platform/aws.go

    		md[AWSAvailabilityZone] = a.availabilityZone
    	}
    	if len(a.region) > 0 {
    		md[AWSRegion] = a.region
    	}
    	if len(a.instanceID) > 0 {
    		md[AWSInstanceID] = a.instanceID
    	}
    	return md
    }
    
    func (a *awsEnv) Locality() *core.Locality {
    	return &core.Locality{
    		Zone:   a.availabilityZone,
    		Region: a.region,
    	}
    }
    
    func (a *awsEnv) Labels() map[string]string {
    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. internal/arn/arn.go

    		Partition:    arnPartitionMinio,
    		Service:      arnServiceIAM,
    		Region:       serverRegion,
    		ResourceType: arnResourceTypeRole,
    		ResourceID:   resourceID,
    	}, nil
    }
    
    // String - returns string representation of the ARN.
    func (arn ARN) String() string {
    	return strings.Join(
    		[]string{
    			arnPrefixArn,
    			arn.Partition,
    			arn.Service,
    			arn.Region,
    			"", // account-id is always empty in this implementation
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/raise_custom_ops.cc

        auto custom_op = builder.create<CustomTfOp>(loc, op->getResultTypes(),
                                                    op->getOperands());
        Region region;
        Block *new_block = new Block;
        region.push_back(new_block);
    
        builder.setInsertionPointToEnd(&region.front());
        Operation *inner_op = builder.clone(*op);
    
        new_block->addArguments(op->getOperandTypes(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. 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)
  9. platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3RegionalResourceTest.groovy

    import com.amazonaws.regions.RegionUtils
    import com.amazonaws.regions.Regions
    import com.amazonaws.services.s3.model.Region
    import com.google.common.base.Optional
    import spock.lang.Specification
    
    import static com.amazonaws.regions.Region.getRegion
    
    class S3RegionalResourceTest extends Specification {
    
        def "should determine the aws region from virtual hosted urls"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

      }
    
      // Returns if its legal to inline 'src' region into the 'dest' region
      // attached to a TF operation.
      bool isLegalToInline(Region *dest, Region *src, bool wouldBeCloned,
                           IRMapping &valueMapping) const final {
        // Allow inlining in regions attached to region based control flow
        // operations only if the src region is a single block region
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top