Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Device (0.22 sec)

  1. tensorflow/c/c_api_test.cc

        CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        LOG(INFO) << "Device " << i << " has name " << device_name << ", type "
                  << device_type;
        if (string(device_type) == DEVICE_GPU) {
          return device_name;
        }
      }
      // No GPU device found.
      return "";
    }
    
    string GPUDeviceName() {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tests/test_application.py

                            {
                                "name": "device_ids",
                                "in": "query",
                                "required": True,
                                "schema": {
                                    "type": "array",
                                    "items": {"type": "integer"},
                                    "title": "Device Ids",
                                },
                            }
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
  3. configure.py

      Returns:
        string of native cuda compute capabilities, separated by comma.
      """
      device_query_bin = os.path.join(
          environ_cp.get('CUDA_TOOLKIT_PATH'), 'extras/demo_suite/deviceQuery')
      if os.path.isfile(device_query_bin) and os.access(device_query_bin, os.X_OK):
        try:
          output = run_shell(device_query_bin).split('\n')
          pattern = re.compile('[0-9]*\\.[0-9]*')
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  4. istioctl/pkg/describe/describe.go

    }
    
    // routeDestinationMatchesSvc determines whether or not to use this service as a destination
    func routeDestinationMatchesSvc(vhRoute *route.Route, svc corev1.Service, vh *route.VirtualHost, port int32) bool {
    	if vhRoute == nil {
    		return false
    	}
    
    	// Infer from VirtualHost domains matching <service>.<namespace>.svc.cluster.local
    	re := regexp.MustCompile(`(?P<service>[^\.]+)\.(?P<namespace>[^\.]+)\.svc\.cluster\.local$`)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    		if scred.ParentUser != parentUser {
    			return updatedAt, fmt.Errorf("%w: the service account access key is taken by another user", errIAMServiceAccountNotAllowed)
    		}
    		return updatedAt, fmt.Errorf("%w: the service account access key already taken", errIAMServiceAccountNotAllowed)
    	}
    
    	// Parent user must not be a service account.
    	if u, found := cache.iamUsersMap[parentUser]; found && u.Credentials.IsServiceAccount() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. cmd/iam.go

    	name, description          string
    	expiration                 *time.Time
    	allowSiteReplicatorAccount bool // allow creating internal service account for site-replication.
    
    	claims map[string]interface{}
    }
    
    // NewServiceAccount - create a new service account
    func (sys *IAMSys) NewServiceAccount(ctx context.Context, parentUser string, groups []string, opts newServiceAccountOpts) (auth.Credentials, time.Time, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. cmd/admin-handlers-users.go

    	// Permission checks:
    	//
    	// 1. Any type of account (i.e. access keys (previously/still called service
    	// accounts), STS accounts, internal IDP accounts, etc) with the
    	// policy.UpdateServiceAccountAdminAction permission can update any service
    	// account.
    	//
    	// 2. We would like to let a user update their own access keys, however it
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    		Description:    "Error parsing the Credential/X-Amz-Credential parameter; incorrect service. This endpoint belongs to \"s3\".",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidServiceSTS: {
    		Code:           "AuthorizationParametersError",
    		Description:    "Error parsing the Credential parameter; incorrect service. This endpoint belongs to \"sts\".",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  9. cmd/sts-handlers_test.go

    	// 3. Check S3 access
    	c.assertSvcAccS3Access(ctx, s, cr, bucket)
    
    	// 5. Check that service account can be deleted.
    	c.assertSvcAccDeletion(ctx, s, userAdmClient, value.AccessKeyID, bucket)
    
    	// 6. Check that service account cannot be created for some other user.
    	c.mustNotCreateSvcAccount(ctx, globalActiveCred.AccessKey, userAdmClient)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	date := sumHMAC([]byte("AWS4"+secretKey), []byte(currTime.Format(yyyymmdd)))
    	region := sumHMAC(date, []byte(globalMinioDefaultRegion))
    	service := sumHMAC(region, []byte(string(serviceS3)))
    	signingKey := sumHMAC(service, []byte("aws4_request"))
    
    	signature := hex.EncodeToString(sumHMAC(signingKey, []byte(stringToSign)))
    
    	// final Authorization header
    	parts := []string{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top