Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 1,140 for Model (0.07 seconds)

  1. .github/ISSUE_TEMPLATE/tflite-other.md

        false
    
    -   type: input id: Cuda attributes: label: CUDA/cuDNN version description:
        placeholder: validations: required: false
    
    -   type: input id: Gpu attributes: label: GPU model and memory description: if
        compiling from source placeholder: validations: required: false
    
    -   type: textarea id: what-happened attributes: label: Current Behaviour?
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Dec 29 22:28:29 GMT 2022
    - 3.4K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/using-request-directly.md

    Although any other parameter declared normally (for example, the body with a Pydantic model) would still be validated, converted, annotated, etc.
    
    But there are specific cases where it's useful to get the `Request` object.
    
    ## Use the `Request` object directly { #use-the-request-object-directly }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  3. fastapi/.agents/skills/fastapi/SKILL.md

        price: float = Field(..., gt=0)
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item, project_id: Annotated[int, Query(...)]): ...
    ```
    
    ## Return Type or Response Model
    
    When possible, include a return type. It will be used to validate, filter, document, and serialize the response.
    
    ```python
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/body.md

    ///
    
    ## 导入 Pydantic 的 `BaseModel` { #import-pydantics-basemodel }
    
    从 `pydantic` 中导入 `BaseModel`:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[2] *}
    
    ## 创建数据模型 { #create-your-data-model }
    
    把数据模型声明为继承 `BaseModel` 的类。
    
    使用 Python 标准类型声明所有属性:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    
    与声明查询参数一样,包含默认值的模型属性是可选的,否则就是必选的。把默认值设为 `None` 可使其变为可选。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  5. statement.go

    	}
    	return err
    }
    
    func (stmt *Statement) clone() *Statement {
    	newStmt := &Statement{
    		TableExpr:            stmt.TableExpr,
    		Table:                stmt.Table,
    		Model:                stmt.Model,
    		Unscoped:             stmt.Unscoped,
    		Dest:                 stmt.Dest,
    		ReflectValue:         stmt.ReflectValue,
    		Clauses:              map[string]clause.Clause{},
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/header-param-models.md

    이를 통해 **여러 위치**에서 **모델을 재사용할** 수 있고 모든 매개변수에 대한 유효성 검사 및 메타데이터를 한 번에 선언할 수도 있습니다. 😎
    
    /// note | 참고
    
    이 기능은 FastAPI 버전 `0.115.0` 이후부터 지원됩니다. 🤓
    
    ///
    
    ## Pydantic 모델을 사용한 헤더 매개변수 { #header-parameters-with-a-pydantic-model }
    
    **Pydantic 모델**에 필요한 **헤더 매개변수**를 선언한 다음, 해당 매개변수를 `Header`로 선언합니다:
    
    {* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  7. build-tools-internal/build.gradle

    
    import org.elasticsearch.gradle.internal.conventions.VersionPropertiesLoader
    import org.apache.tools.ant.taskdefs.condition.Os
    import org.gradle.plugins.ide.eclipse.model.AccessRule
    import org.gradle.plugins.ide.eclipse.model.SourceFolder
    import org.gradle.plugins.ide.eclipse.model.ProjectDependency
    
    plugins {
      id 'java-gradle-plugin'
      id 'groovy-gradle-plugin'
      id 'groovy'
      id 'elasticsearch.build-tools'
      id 'elasticsearch.eclipse'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 18:10:22 GMT 2021
    - 11.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/singlethreaded/SingleThreadedBuilder.java

    /**
     * <p>
     * A {@link Builder} encapsulates a strategy for building a set of Maven projects. The default strategy in Maven builds
     * the projects serially, but a {@link Builder} can employ any type of concurrency model to build the projects.
     */
    @Named("singlethreaded")
    @Singleton
    public class SingleThreadedBuilder implements Builder {
        private final LifecycleModuleBuilder lifecycleModuleBuilder;
    
        @Inject
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/security/simple-oauth2.md

    ### Check the password { #check-the-password }
    
    At this point we have the user data from our database, but we haven't checked the password.
    
    Let's put that data in the Pydantic `UserInDB` model first.
    
    You should never save plaintext passwords, so, we'll use the (fake) password hashing system.
    
    If the passwords don't match, we return the same error.
    
    #### Password hashing { #password-hashing }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                    && options.model().map(v -> !v).orElse(false)
                    && options.plugins().map(v -> !v).orElse(false)
                    && options.modelVersion().isEmpty();
    
            if (noOptionsSpecified || allOptionsDisabled) {
                return true;
            }
    
            // Check if --model is explicitly set (and not part of "all disabled" scenario)
            if (options.model().isPresent()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
Back to Top