Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 598 for inference (0.22 sec)

  1. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    ### 在使用 `yield` 的依赖项中使用上下文管理器
    
    /// warning | 注意
    
    这是一个更为"高级"的想法。
    
    如果你刚开始使用 **FastAPI** ,你可以暂时可以跳过它。
    
    ///
    
    在Python中,你可以通过<a href="https://docs.python.org/3/reference/datamodel.html#context-managers" class="external-link" target="_blank">创建一个带有`__enter__()`和`__exit__()`方法的类</a>来创建上下文管理器。
    
    你也可以在 **FastAPI** 的 `yield` 依赖项中通过 `with` 或者 `async with` 语句来使用它们:
    
    ```Python hl_lines="1-9  13"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> await_status(
            TF_NewStatus(), TF_DeleteStatus);
        // Wait until all pending nodes have completed since they may have a
        // reference to default_cancellation_manager_. We ignore the status return
        // since we already have a bad status to propagate.
        TFE_ContextAsyncWait(context, await_status.get());
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                .add(Range.openClosed(3, 4))
                .add(Range.open(8, 10))
                .add(Range.openClosed(15, 17))
                .build();
    
        assertThat(RANGE_SET_ONE.difference(RANGE_SET_TWO)).isEqualTo(expected);
      }
    
      public void testAsSet() {
        ImmutableSortedSet<Integer> expectedSet = ImmutableSortedSet.of(2, 3, 4, 8, 9, 16, 17);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. docs/en/docs/contributing.md

    Now you can translate it all and see how it looks as you save the file.
    
    #### Don't Translate these Pages
    
    🚨 Don't translate:
    
    * Files under `reference/`
    * `release-notes.md`
    * `fastapi-people.md`
    * `external-links.md`
    * `newsletter.md`
    * `management-tasks.md`
    * `management.md`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 25 02:44:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    				bucketsToBeUpdated.Add(bucket)
    				continue
    			}
    			if !globalDomainIPs.Intersection(set.CreateStringSet(getHostsSlice(r)...)).IsEmpty() {
    				if globalDomainIPs.Difference(set.CreateStringSet(getHostsSlice(r)...)).IsEmpty() && !domainMissing {
    					// No difference in terms of domainIPs and nothing
    					// has changed so we don't change anything on the etcd.
    					//
    					// Additionally also check if domain is updated/missing with more
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheStats.java

       * {@linkplain Cache#invalidate invalidations}.
       */
      public long evictionCount() {
        return evictionCount;
      }
    
      /**
       * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats}
       * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be
       * rounded up to zero.
       */
      public CacheStats minus(CacheStats other) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheStats.java

       * {@linkplain Cache#invalidate invalidations}.
       */
      public long evictionCount() {
        return evictionCount;
      }
    
      /**
       * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats}
       * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be
       * rounded up to zero.
       */
      public CacheStats minus(CacheStats other) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. helm/minio/values.yaml

    ## when Chart is deployed
    environment:
      ## Please refer for comprehensive list https://min.io/docs/minio/linux/reference/minio-server/minio-server.html
      ## MINIO_SUBNET_LICENSE: "License key obtained from https://subnet.min.io"
      ## MINIO_BROWSER: "off"
    
    ## The name of a secret in the same kubernetes namespace which contain secret values
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  9. cmd/iam-store.go

    	policiesToUpdate := set.CreateStringSet(policies...)
    	var newPolicySet set.StringSet
    	newPolicyMapping := mp
    	if isAttach {
    		// new policies to attach => inputPolicies - existing (set difference)
    		policiesToUpdate = policiesToUpdate.Difference(existingPolicySet)
    		// validate that new policies to add are defined.
    		for _, p := range policiesToUpdate.ToSlice() {
    			if _, found := cache.iamPolicyDocsMap[p]; !found {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  10. helm-releases/minio-5.0.4.tgz

    affinity: {} ## Use this field to add environment variables relevant to MinIO server. These fields will be passed on to MinIO container(s) ## when Chart is deployed environment: ## Please refer for comprehensive list https://min.io/docs/minio/linux/reference/minio-server/minio-server.html ## MINIO_SUBNET_LICENSE: "License key obtained from https://subnet.min.io" ## MINIO_BROWSER: "off" ## The name of a secret in the same kubernetes namespace which contain secret values ## This can be useful for LDAP...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 20:29:40 UTC 2022
    - 20.3K bytes
    - Viewed (0)
Back to top