- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 698 for float32 (0.11 sec)
-
tensorflow/c/c_test_util.h
// Create 1 dimensional tensor with values from `values` TF_Tensor* Int32Tensor(const std::vector<int32_t>& values); TF_Tensor* Int32Tensor(int32_t v); TF_Tensor* DoubleTensor(double v); TF_Tensor* FloatTensor(float v); TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s, const char* name = "feed", TF_DataType dtype = TF_INT32,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 09 01:06:53 UTC 2018 - 6K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc
&out_components, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); ExpectScalarEq<float>(out_components[0].get(), 9.); ExpectScalarEq<float>(out_components[1].get(), 4.); } worker_server1.release(); worker_server2.release(); } } // namespace parallel_device
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jul 10 07:18:05 UTC 2024 - 6.8K bytes - Viewed (0) -
docs_src/generate_clients/tutorial001_py39.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float class ResponseMessage(BaseModel): message: str @app.post("/items/", response_model=ResponseMessage) async def create_item(item: Item): return {"message": "item received"} @app.get("/items/", response_model=list[Item]) async def get_items(): return [
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Mar 04 22:02:18 UTC 2022 - 494 bytes - Viewed (0) -
docs_src/generate_clients/tutorial001.py
from typing import List from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float class ResponseMessage(BaseModel): message: str @app.post("/items/", response_model=ResponseMessage) async def create_item(item: Item): return {"message": "item received"} @app.get("/items/", response_model=List[Item]) async def get_items():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Mar 04 22:02:18 UTC 2022 - 519 bytes - Viewed (0) -
tests/test_validate_response_dataclass.py
from fastapi.testclient import TestClient from pydantic.dataclasses import dataclass app = FastAPI() @dataclass class Item: name: str price: Optional[float] = None owner_ids: Optional[List[int]] = None @app.get("/items/invalid", response_model=Item) def get_invalid(): return {"name": "invalid", "price": "foo"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.2K bytes - Viewed (0) -
docs_src/path_params_numeric_validations/tutorial006_an_py39.py
app = FastAPI() @app.get("/items/{item_id}") async def read_items( *, item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)], q: str, size: Annotated[float, Query(gt=0, lt=10.5)], ): results = {"item_id": item_id} if q: results.update({"q": q}) if size: results.update({"size": size})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Aug 28 23:39:15 UTC 2024 - 447 bytes - Viewed (0) -
internal/dsync/drwmutex.go
ctx, done := context.WithTimeout(ctx, drwMutexUnlockCallTimeout) defer done() for !releaseAll(ctx, dm.clnt, tolerance, owner, &locks, isReadLock, restClnts, dm.Names...) { time.Sleep(time.Duration(dm.rng.Float64() * float64(dm.lockRetryMinInterval))) if time.Since(started) > dm.clnt.Timeouts.UnlockCall { return } } }() } // RUnlock releases a read lock held on dm. //
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 15:49:49 UTC 2024 - 20.4K bytes - Viewed (0) -
src/main/resources/fess_indices/fess_config.data_config/data_config.json
"type": "keyword" }, "handlerParameter": { "type": "keyword" }, "handlerScript": { "type": "keyword" }, "boost": { "type": "float" }, "available": { "type": "boolean" }, "permissions": { "type": "keyword" }, "virtualHosts": { "type": "keyword" },
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Dec 02 13:14:56 UTC 2021 - 859 bytes - Viewed (0) -
cmd/server-main.go
} return nil } if configRetriableErrors(err) { logger.Info("Waiting for all MinIO sub-systems to be initialized.. possible cause (%v)", err) time.Sleep(time.Duration(r.Float64() * float64(5*time.Second))) continue } // Any other unhandled return right here. return fmt.Errorf("Unable to initialize sub-systems: %w", err) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 35.2K bytes - Viewed (1) -
android/guava/src/com/google/common/primitives/package-info.java
* <li>{@link Booleans} * <li>{@link Bytes} * <ul> * <li>{@link SignedBytes} * <li>{@link UnsignedBytes} * </ul> * <li>{@link Chars} * <li>{@link Doubles} * <li>{@link Floats} * <li>{@link Ints} * <ul> * <li>{@link UnsignedInts} * </ul> * <li>{@link Longs} * <ul> * <li>{@link UnsignedLongs} * </ul> * <li>{@link Shorts}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 2K bytes - Viewed (0)