Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 148 for __uikit__ (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/basic.py

    # it is being invoked.
    # CHECK: module
    # CHECK-SAME: tf.versions
    # CHECK-SAME: bad_consumers
    # CHECK-SAME: min_consumer
    # CHECK-SAME: producer
    
    
    class TestModule(tf.Module):
    
      def __init__(self):
        super(TestModule, self).__init__()
        self.v42 = tf.Variable(42.0)
        self.c43 = tf.constant(43.0)
    
      # During serialization, the constants are given internal (non-user-accessible, non-semantically-load-bearing) exported names.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/bigger-applications.md

    Let's say you have a file structure like this:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   ├── dependencies.py
    │   └── routers
    │   │   ├── __init__.py
    │   │   ├── items.py
    │   │   └── users.py
    │   └── internal
    │       ├── __init__.py
    │       └── admin.py
    ```
    
    !!! tip
        There are several `__init__.py` files: one in each directory or subdirectory.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. tensorflow/compat_template_v1.__init__.py

    A. Unique TensorFlower <******@****.***> 1705975132 -0800
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/internal/testdata/gen_saved_models.py

        """A module with an UninitializedVariable."""
    
        def __init__(self):
          self.uninitialized_variable = resource_variable_ops.UninitializedVariable(
              name="uninitialized_variable", dtype=dtypes.int64)
    
      class Module(module.Module):
        """A module with an UninitializedVariable."""
    
        def __init__(self):
          super(Module, self).__init__()
          self.sub_module = SubModule()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 06 21:32:57 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/advanced-dependencies.md

    {!../../../docs_src/dependencies/tutorial011.py!}
    ```
    
    本例中,**FastAPI**  使用 `__call__` 检查附加参数及子依赖项,稍后,还要调用它向*路径操作函数*传递值。
    
    ## 参数化实例
    
    接下来,使用 `__init__` 声明用于**参数化**依赖项的实例参数:
    
    ```Python hl_lines="7"
    {!../../../docs_src/dependencies/tutorial011.py!}
    ```
    
    本例中,**FastAPI** 不使用 `__init__`,我们要直接在代码中使用。
    
    ## 创建实例
    
    使用以下代码创建类实例:
    
    ```Python hl_lines="16"
    {!../../../docs_src/dependencies/tutorial011.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jan 28 18:26:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. fastapi/security/oauth2.py

        group and organize permissions, you could do it as well in your application, just
        know that that it is application specific, it's not part of the specification.
        """
    
        def __init__(
            self,
            *,
            grant_type: Annotated[
                Union[str, None],
                Form(pattern="password"),
                Doc(
                    """
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. docs_src/dependencies/tutorial002_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 664 bytes
    - Viewed (0)
  8. docs_src/dependencies/tutorial002_an.py

    from fastapi import Depends, FastAPI
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 706 bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/bigger-applications.md

    Nehmen wir an, Sie haben eine Dateistruktur wie diese:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   ├── dependencies.py
    │   └── routers
    │   │   ├── __init__.py
    │   │   ├── items.py
    │   │   └── users.py
    │   └── internal
    │       ├── __init__.py
    │       └── admin.py
    ```
    
    !!! tip "Tipp"
        Es gibt mehrere `__init__.py`-Dateien: eine in jedem Verzeichnis oder Unterverzeichnis.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:27:59 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. fastapi/dependencies/models.py

    from fastapi.security.base import SecurityBase
    
    
    class SecurityRequirement:
        def __init__(
            self, security_scheme: SecurityBase, scopes: Optional[Sequence[str]] = None
        ):
            self.security_scheme = security_scheme
            self.scopes = scopes
    
    
    class Dependant:
        def __init__(
            self,
            *,
            path_params: Optional[List[ModelField]] = None,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top