Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for predict (0.17 sec)

  1. tests/test_tutorial/test_events/test_tutorial003.py

                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/predict": {
                        "get": {
                            "summary": "Predict",
                            "operationId": "predict_predict_get",
                            "parameters": [
                                {
                                    "required": True,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  2. docs_src/events/tutorial003.py

        yield
        # Clean up the ML models and release the resources
        ml_models.clear()
    
    
    app = FastAPI(lifespan=lifespan)
    
    
    @app.get("/predict")
    async def predict(x: float):
        result = ml_models["answer_to_everything"](x)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 07 15:46:00 GMT 2023
    - 569 bytes
    - Viewed (0)
  3. tensorflow/c/c_op_requires.h

    #define C_OPKERNELCONTEXT_REQUIRES_OK(CTX, C_STATUS, __VA_ARGS__) \
      do {                                                            \
        ::tensorflow::Status _s(__VA_ARGS__);                         \
        if (!TF_PREDICT_TRUE(_s.ok())) {                              \
          ::tensorflow::Set_TF_Status_from_Status(C_STATUS, _s);      \
          TF_OpKernelContext_Failure(CTX, C_STATUS);                  \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Aug 02 21:35:06 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  4. docs/bucket/lifecycle/DESIGN.md

    ### Transition Status
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Predicate.java

    /**
     * Legacy version of {@link java.util.function.Predicate java.util.function.Predicate}. Determines a
     * true or false value for a given input.
     *
     * <p>As this interface extends {@code java.util.function.Predicate}, an instance of this type may
     * be used as a {@code Predicate} directly. To use a {@code java.util.function.Predicate} where a
     * {@code com.google.common.base.Predicate} is expected, use the method reference {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Predicate.java

       *       Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) ==
       *       predicate.apply(b))}.
       * </ul>
       *
       * @throws NullPointerException if {@code input} is null and this predicate does not accept null
       *     arguments
       */
      boolean apply(@ParametricNullness T input);
    
      /**
       * Indicates whether another object is equal to this predicate.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

        unfiltered.put("foo", 55556);
        unfiltered.put("badkey", 1);
        return Multimaps.filterEntries(unfiltered, ENTRY_PREDICATE);
      }
    
      private static final Predicate<String> KEY_PREDICATE =
          new Predicate<String>() {
            @Override
            public boolean apply(String key) {
              return !"badkey".equals(key);
            }
          };
    
      public void testFilterKeys() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  8. tests/test_request_body_parameters_media_type.py

    
    # NOTE: These are not valid JSON:API resources
    # but they are fine for testing requestBody with custom media_type
    class Product(BaseModel):
        name: str
        price: float
    
    
    class Shop(BaseModel):
        name: str
    
    
    @app.post("/products")
    async def create_product(data: Product = Body(media_type=media_type, embed=True)):
        pass  # pragma: no cover
    
    
    @app.post("/shops")
    async def create_shop(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

             * The result will contain only the paths of types for which the predicate returned {@code true}.
             * It is recommended to apply a filter for retaining only the types of paths of interest,
             * because it can resolve ambiguities when a path could be of many types.
             *
             * @param pathTypeFilter predicate evaluating whether a path type should be included in the result
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        unfiltered.put("horse", 5);
        Predicate<Entry<?, ?>> predicate =
            new Predicate<Entry<?, ?>>() {
              @Override
              public boolean apply(Entry<?, ?> input) {
                return "cat".equals(input.getKey()) || Integer.valueOf(2) == input.getValue();
              }
            };
        Map<String, Integer> filtered = Maps.filterEntries(unfiltered, predicate);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top