Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 286 for flat (0.45 sec)

  1. tensorflow/c/c_api_test.cc

    TEST(CAPI, TestFromProto) {
      Tensor t_cc(DT_FLOAT, TensorShape({2, 3}));
      t_cc.flat<float>().setConstant(1.0);
      tensorflow::TensorProto t_proto;
      t_cc.AsProtoField(&t_proto);
    
      TF_Buffer* t_buffer = TF_NewBuffer();
      TF_CHECK_OK(MessageToBuffer(t_proto, t_buffer));
    
      const int num_bytes = 6 * sizeof(float);
      float* values =
          reinterpret_cast<float*>(tensorflow::cpu_allocator()->AllocateRaw(
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Nov 17 00:00:38 UTC 2025
    - 97K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java

        /** Flag to convert wildcard to lowercase. */
        protected boolean lowercaseWildcard = true;
    
        @Override
        protected String getQueryClassName() {
            return PrefixQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final PrefixQuery prefixQuery) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

        /**
         * Flag indicating whether wildcard terms should be converted to lowercase.
         */
        protected boolean lowercaseWildcard = true;
    
        @Override
        protected String getQueryClassName() {
            return WildcardQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

        }
    
        /**
         * Retrieves a setting value as a float.
         * @param key The key of the setting.
         * @param defaultValue The default value if the setting is not found.
         * @return The setting value as a float.
         */
        public float getAsFloat(final String key, final float defaultValue) {
            final Object obj = get(key);
    
            final float value;
            if (obj == null) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

        @Resource
        protected SystemHelper systemHelper;
    
        /** Helper for document indexing operations */
        @Resource
        protected IndexingHelper indexingHelper;
    
        /** Flag indicating if crawling should be finished */
        protected boolean finishCrawling = false;
    
        /** Total execution time in milliseconds */
        protected long executeTime;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/flags/flags.go

    	fmt.Fprintf(os.Stderr, "Flags:\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    func Parse() {
    	objabi.Flagparse(Usage)
    	if flag.NArg() == 0 {
    		flag.Usage()
    	}
    
    	// Flag refinement.
    	if *OutputFile == "" {
    		if flag.NArg() != 1 {
    			flag.Usage()
    		}
    		input := filepath.Base(flag.Arg(0))
    		input = strings.TrimSuffix(input, ".s")
    		*OutputFile = fmt.Sprintf("%s.o", input)
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Nov 18 08:58:00 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. fastapi/params.py

            serialization_alias: Union[str, None] = None,
            title: Optional[str] = None,
            description: Optional[str] = None,
            gt: Optional[float] = None,
            ge: Optional[float] = None,
            lt: Optional[float] = None,
            le: Optional[float] = None,
            min_length: Optional[int] = None,
            max_length: Optional[int] = None,
            pattern: Optional[str] = None,
            regex: Annotated[
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  8. tests/main.py

    def get_path_param_gt(item_id: float = Path(gt=3)):
        return item_id
    
    
    @app.get("/path/param-gt0/{item_id}")
    def get_path_param_gt0(item_id: float = Path(gt=0)):
        return item_id
    
    
    @app.get("/path/param-ge/{item_id}")
    def get_path_param_ge(item_id: float = Path(ge=3)):
        return item_id
    
    
    @app.get("/path/param-lt/{item_id}")
    def get_path_param_lt(item_id: float = Path(lt=3)):
        return item_id
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/riscv64validation.s

    	VFMULVV		X10, V2, V3			// ERROR "expected vector register in vs1 position"
    	VFMULVF		X10, V2, V3			// ERROR "expected float register in rs1 position"
    	VFDIVVV		X10, V2, V3			// ERROR "expected vector register in vs1 position"
    	VFDIVVF		X10, V2, V3			// ERROR "expected float register in rs1 position"
    	VFRDIVVF	X10, V2, V3			// ERROR "expected float register in rs1 position"
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Nov 13 12:17:37 UTC 2025
    - 42.1K bytes
    - Viewed (0)
  10. tests/test_allow_inf_nan_in_enforcing.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.post("/")
    async def get(
        x: Annotated[float, Query(allow_inf_nan=True)] = 0,
        y: Annotated[float, Query(allow_inf_nan=False)] = 0,
        z: Annotated[float, Query()] = 0,
        b: Annotated[float, Body(allow_inf_nan=False)] = 0,
    ) -> str:
        return "OK"
    
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top