Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 220 for weight (0.07 sec)

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

    ```
    
    ////
    
    /// tip
    
    请记住 JSON 仅支持将 `str` 作为键。
    
    但是 Pydantic 具有自动转换数据的功能。
    
    这意味着,即使你的 API 客户端只能将字符串作为键发送,只要这些字符串内容仅包含整数,Pydantic 就会对其进行转换并校验。
    
    然后你接收的名为 `weights` 的 `dict` 实际上将具有 `int` 类型的键和 `float` 类型的值。
    
    ///
    
    ## 总结
    
    使用 **FastAPI** 你可以拥有 Pydantic 模型提供的极高灵活性,同时保持代码的简单、简短和优雅。
    
    而且还具有下列好处:
    
    * 编辑器支持(处处皆可自动补全!)
    * 数据转换(也被称为解析/序列化)
    * 数据校验
    * 模式文档
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashFunction.java

       * perform better than its longhand equivalent, but should not perform worse.
       *
       * @since 12.0
       */
      HashCode hashInt(int input);
    
      /**
       * Shortcut for {@code newHasher().putLong(input).hash()}; returns the hash code for the given
       * {@code long} value, interpreted in little-endian byte order. The implementation <i>might</i>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/HashCode.java

       * {@code int} value in little-endian order.
       *
       * @throws IllegalStateException if {@code bits() < 32}
       */
      public abstract int asInt();
    
      /**
       * Returns the first eight bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to a
       * {@code long} value in little-endian order.
       *
       * @throws IllegalStateException if {@code bits() < 64}
       */
      public abstract long asLong();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/HashFunction.java

       * perform better than its longhand equivalent, but should not perform worse.
       *
       * @since 12.0
       */
      HashCode hashInt(int input);
    
      /**
       * Shortcut for {@code newHasher().putLong(input).hash()}; returns the hash code for the given
       * {@code long} value, interpreted in little-endian byte order. The implementation <i>might</i>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  5. doc/go_spec.html

    of expressions on the right, each of which must be single-valued, and the
    <i>n</i>th expression on the right is assigned to the <i>n</i>th
    operand on the left:
    </p>
    
    <pre>
    one, two, three = '一', '二', '三'
    </pre>
    
    <p>
    The <a href="#Blank_identifier">blank identifier</a> provides a way to
    ignore right-hand side values in an assignment:
    </p>
    
    <pre>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

     *
     * Written by Doug Lea with assistance from members of JCP JSR-166
     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     * Other contributors include Andrew Wright, Jeffrey Hayes,
     * Pat Fisher, Mike Judd.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.truth.Truth.assertThat;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), type RtMetrics struct, Sendpipe uint32
    pkg syscall (freebsd-386-cgo), type RtMetrics struct, Ssthresh uint32
    pkg syscall (freebsd-386-cgo), type RtMetrics struct, Weight uint32
    pkg syscall (freebsd-386-cgo), type RtMsghdr struct
    pkg syscall (freebsd-386-cgo), type RtMsghdr struct, Addrs int32
    pkg syscall (freebsd-386-cgo), type RtMsghdr struct, Errno int32
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashCode.java

       * {@code int} value in little-endian order.
       *
       * @throws IllegalStateException if {@code bits() < 32}
       */
      public abstract int asInt();
    
      /**
       * Returns the first eight bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to a
       * {@code long} value in little-endian order.
       *
       * @throws IllegalStateException if {@code bits() < 64}
       */
      public abstract long asLong();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. src/main/resources/fess_config.properties

    searchlog.agg.shard.size=-1
    searchlog.request.headers=
    searchlog.process.batch_size=100
    
    thumbnail.html.image.min.width=100
    thumbnail.html.image.min.height=100
    thumbnail.html.image.max.aspect.ratio=3.0
    thumbnail.html.image.thumbnail.width=100
    thumbnail.html.image.thumbnail.height=100
    thumbnail.html.image.format=png
    thumbnail.html.image.xpath=//IMG
    thumbnail.html.image.exclude.extensions=svg,html,css,js
    thumbnail.generator.interval=0
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 01 14:13:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/body-nested-models.md

    ```
    
    /// tip | "豆知識"
    
    JSONはキーとして`str`しかサポートしていないことに注意してください。
    
    しかしPydanticには自動データ変換機能があります。
    
    これは、APIクライアントがキーとして文字列しか送信できなくても、それらの文字列に純粋な整数が含まれている限り、Pydanticが変換して検証することを意味します。
    
    そして、`weights`として受け取る`dict`は、実際には`int`のキーと`float`の値を持つことになります。
    
    ///
    
    ## まとめ
    
    **FastAPI** を使用すると、Pydanticモデルが提供する最大限の柔軟性を持ちながら、コードをシンプルに短く、エレガントに保つことができます。
    
    以下のような利点があります:
    
    * エディタのサポート(どこでも補完!)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top