Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 674 for float32 (0.05 seconds)

  1. tests/test_serialize_response.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float | None = None
        owner_ids: list[int] | None = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "price": 1.0}
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/ByteArrayDataOutput.java

      @Override
      void writeShort(int v);
    
      @Override
      void writeChar(int v);
    
      @Override
      void writeInt(int v);
    
      @Override
      void writeLong(long v);
    
      @Override
      void writeFloat(float v);
    
      @Override
      void writeDouble(double v);
    
      @Override
      void writeChars(String s);
    
      @Override
      void writeUTF(String s);
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 27 20:25:25 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/asm/testdata/mips64.s

    	MOVB	(R4), R21	// 80950000
    	MOVB	9(R19), R18	// 82720009
    	MOVB	-10(R19), R18	// 8272fff6
    	MOVBU	(R4), R21	// 90950000
    	MOVBU	9(R19), R18	// 92720009
    	MOVBU	-10(R19), R18	// 9272fff6
    
    //
    // load floats
    //
    //	LFMOV addr ',' freg
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	MOVD	foo<>+3(SB), F2
    	MOVD	16(R1), F2
    	MOVD	(R1), F2
    
    //	LFMOV fimm ',' freg
    //	{
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 12.4K bytes
    - Click Count (0)
  4. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        }
        return absl::OkStatus();
      }
      absl::Status SetAttrFloatList(const char* attr_name, const float* values,
                                    int num_values) override {
        op_->node_builder.Attr(attr_name,
                               ArraySlice<const float>(values, num_values));
        return absl::OkStatus();
      }
      absl::Status SetAttrIntList(const char* attr_name, const int64_t* values,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat May 31 07:13:41 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  5. tensorflow/c/eager/c_api_cluster_test.cc

      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TF_Tensor* t = TFE_TensorHandleResolve(handle, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      std::unique_ptr<float[]> actual_values(new float[expected_values.size()]);
      EXPECT_EQ(sizeof(float) * expected_values.size(), TF_TensorByteSize(t));
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/keymatch/CreateForm.java

        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer maxSize;
    
        /**
         * The boost score for matched results.
         */
        @Required
        @ValidateTypeFailure
        public Float boost;
    
        /**
         * The virtual host for the key match.
         */
        @Size(max = 1000)
        public String virtualHost;
    
        /**
         * The user who created this key match.
         */
        @Size(max = 255)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/elevateword/CreateForm.java

        @CustomSize(maxKey = "form.admin.max.input.size")
        public String permissions;
    
        /** The boost score multiplier applied to elevated documents */
        @Required
        @ValidateTypeFailure
        public Float boost;
    
        /** The username of who created this elevate word entry */
        @Size(max = 1000)
        public String createdBy;
    
        /** The timestamp when this elevate word entry was created */
        @ValidateTypeFailure
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/path-params.md

          "input": "foo"
        }
      ]
    }
    ```
    
    из-за того, что параметр пути `item_id` имеет значение `"foo"`, которое не является типом `int`.
    
    Та же ошибка возникнет, если вместо `int` передать `float`, например: [http://127.0.0.1:8000/items/4.2](http://127.0.0.1:8000/items/4.2)
    
    /// check | Заметка
    
    **FastAPI** обеспечивает валидацию данных, используя всё те же определения типов.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 14K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/view/common/admin/crud/pagination.jsp

    			arg1="${f:h(pager.allPageCount)}"
    			arg2="${f:h(pager.allRecordCount)}" />
    	</div>
    	<nav aria-label="...">
    	</nav>
    	<div class="col-sm-10">
    		<ul class="pagination pagination-sm m-0 float-right">
    			<c:if test="${pager.existPrePage}">
    				<li class="page-item"><la:link
    						styleClass="page-link"
    						href="list/${pager.currentPageNumber - 1}">
    					<la:message key="labels.prev_page" />
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 1.5K bytes
    - Click Count (0)
  10. tensorflow/c/eager/abstract_operation.h

                                         size_t length) = 0;
      virtual absl::Status SetAttrInt(const char* attr_name, int64_t value) = 0;
      virtual absl::Status SetAttrFloat(const char* attr_name, float value) = 0;
      virtual absl::Status SetAttrBool(const char* attr_name, bool value) = 0;
      virtual absl::Status SetAttrType(const char* attr_name, DataType value) = 0;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
Back to Top