Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for weights (0.05 sec)

  1. docs/en/docs/tutorial/body-nested-models.md

    This means that, even though your API clients can only send strings as keys, as long as those strings contain pure integers, Pydantic will convert them and validate them.
    
    And the `dict` you receive as `weights` will actually have `int` keys and `float` values.
    
    ///
    
    ## Recap { #recap }
    
    With **FastAPI** you have the maximum flexibility provided by Pydantic models, while keeping your code simple, short and elegant.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          // but work beyond that must take at least one second
          assertTrue(afterBurst >= 1000);
        }
      }
    
      /**
       * This neat test shows that no matter what weights we use in our requests, if we push X amount of
       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
       * timeToWarmUp() period, it will cost as the prescribed amount of time. E.g., calling
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          // but work beyond that must take at least one second
          assertTrue(afterBurst >= 1000);
        }
      }
    
      /**
       * This neat test shows that no matter what weights we use in our requests, if we push X amount of
       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
       * timeToWarmUp() period, it will cost as the prescribed amount of time. E.g., calling
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  4. RELEASE.md

            `tf.keras.mixed_precision.experimental.LossScaleOptimizer`, the weights
            of the `DynanmicLossScale` are copied into the `LossScaleOptimizer`
            instead of being reused. This means modifying the weights of the
            `DynamicLossScale` will no longer affect the weights of the
            LossScaleOptimizer, and vice versa.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

        checkArgument(maximumSize >= 0, "maximum size must not be negative");
        this.maximumSize = maximumSize;
        return this;
      }
    
      /**
       * Specifies the maximum weight of entries the cache may contain. Weight is determined using the
       * {@link Weigher} specified with {@link #weigher}, and use of this method requires a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // add an at-the-maximum-weight entry
        getAll(cache, asList(45));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(0, 45);
    
        // add an over-the-maximum-weight entry
        getAll(cache, asList(46));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/TestingWeighers.java

      /** Returns a {@link Weigher} that uses the integer key as the weight. */
      static Weigher<Integer, Object> intKeyWeigher() {
        return new IntKeyWeigher();
      }
    
      /** Returns a {@link Weigher} that uses the integer value as the weight. */
      static Weigher<Object, Integer> intValueWeigher() {
        return new IntValueWeigher();
      }
    
      static final class ConstantWeigher implements Weigher<Object, Object> {
        private final int constant;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/ne.css

        display: block;
        float: left;
        width: 300px;
        height: 50px;
        padding: 2px;
        font-family: Verdana, sans-serif;
        font-size: 10pt;
        color: #000000;
        text-decoration: none
    }
    a.plain {
        display: inline;
        float: none;
        width: auto;
        height: auto
    }
    a.sort {
        display: block;
        float: left;
        width: 100px;
        height: 15px;
        font-family: Verdana, sans-serif;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

            }
            return leastLoadedChannel != null ? leastLoadedChannel : channels.iterator().next();
        }
    
        private ChannelInfo selectWeightedRandom(Collection<ChannelInfo> channels) {
            // Calculate total weight
            int totalWeight = 0;
            for (ChannelInfo channel : channels) {
                totalWeight += channel.getScore();
            }
    
            if (totalWeight == 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/DES.java

    // HIGH RISK ACTIVITIES.
    //
    //
    // The rest is:
    //
    // Copyright (C) 1996 by Jef Poskanzer <******@****.***>.  All rights reserved.
    //
    // Copyright (C) 1996 by Wolfgang Platzer
    // email: ******@****.***
    //
    // All rights reserved.
    //
    // Redistribution and use in source and binary forms, with or without
    // modification, are permitted provided that the following conditions
    // are met:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top