Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 57 of 57 for keyFor (0.1 sec)

  1. tensorflow/compiler/aot/tests/make_test_graphs.py

      def test_func(a, b):
        return a + b
    
      x = constant_op.constant([1], name='x_const')
      y = constant_op.constant([2], name='y_const')
      test_func(x, y, name='func_call')  # pylint: disable=unexpected-keyword-arg
    
    
    def tfsplits(_):
      """A more complex graph, including splits."""
      x = array_ops.placeholder(dtypes.float32, shape=[2, 2], name='x')
      y = array_ops.placeholder(dtypes.float32, shape=[2, 2], name='y')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/nosql-databases-couchbase.md

    It will take the `dict` at `result.value`, and take each of its keys and values and pass them as key-values to `UserInDB` as keyword arguments.
    
    So, if the `dict` contains:
    
    ```Python
    {
        "username": "johndoe",
        "hashed_password": "some_hash",
    }
    ```
    
    It will be passed to `UserInDB` as:
    
    ```Python
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. src/html/template/css.go

    var expressionBytes = []byte("expression")
    var mozBindingBytes = []byte("mozbinding")
    
    // cssValueFilter allows innocuous CSS values in the output including CSS
    // quantities (10px or 25%), ID or class literals (#foo, .bar), keyword values
    // (inherit, blue), and colors (#888).
    // It filters out unsafe values, such as those that affect token boundaries,
    // and anything that might execute scripts.
    func cssValueFilter(args ...any) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 19:38:18 UTC 2023
    - 7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/extra-models.md

    So, we get a Pydantic model from the data in another Pydantic model.
    
    #### Unwrapping a `dict` and extra keywords
    
    And then adding the extra keyword argument `hashed_password=hashed_password`, like in:
    
    ```Python
    UserInDB(**user_in.dict(), hashed_password=hashed_password)
    ```
    
    ...ends up being like:
    
    ```Python
    UserInDB(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/GroovyInteroperability.kt

    
    /**
     * Provides a dynamic dispatching DSL with Groovy semantics for better integration with
     * plugins that rely on Groovy builders such as the core `maven` plugin.
     *
     * It supports Groovy keyword arguments and arbitrary nesting, for instance, the following Groovy code:
     *
     * ```Groovy
     * repository(url: "scp://repos.mycompany.com/releases") {
     *   authentication(userName: "me", password: "myPassword")
     * }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/jvm/java_platform_plugin.adoc

    [[sec:java_platform_consumption]]
    == Consuming platforms
    
    Because a Java Platform is a special kind of component, a dependency on a Java platform has to be declared using the `platform` or `enforcedPlatform` keyword, as explained in the <<platforms.adoc#sub:bom_import,managing transitive dependencies>> section.
    For example, if you want to share dependency versions between subprojects, you can define a platform module which would declare all versions:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/path-params-numeric-validations.md

    ...Python has a little special syntax for that.
    
    Pass `*`, as the first parameter of the function.
    
    Python won't do anything with that `*`, but it will know that all the following parameters should be called as keyword arguments (key-value pairs), also known as <abbr title="From: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Even if they don't have a default value.
    
    ```Python hl_lines="7"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 01 21:05:52 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top