- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for pets_name (0.06 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); server_def.set_task_index(0); auto cluster = server_def.mutable_cluster(); auto client_job = cluster->add_job(); client_job->set_name("localhost"); int client_port = tensorflow::testing::PickUnusedPortOrDie(); client_job->mutable_tasks()->insert( {0, strings::StrCat("localhost:", client_port)}); server_def.set_job_name("localhost");
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 03:14:26 UTC 2023 - 31.5K bytes - Viewed (0) -
fastapi/routing.py
from starlette.exceptions import HTTPException from starlette.requests import Request from starlette.responses import JSONResponse, Response from starlette.routing import ( BaseRoute, Match, compile_path, get_name, request_response, websocket_session, ) from starlette.routing import Mount as Mount # noqa from starlette.types import AppType, ASGIApp, Lifespan, Scope from starlette.websockets import WebSocket
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 172.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
tensorflow::JobDef* job_def = cluster_def->add_job(); job_def->set_name("client"); // Add a client. job_def->mutable_tasks()->insert( {0, tensorflow::strings::StrCat( "localhost:", tensorflow::testing::PickUnusedPortOrDie())}); tensorflow::JobDef* job_def2 = cluster_def->add_job(); job_def2->set_name("worker"); // Copy over `host:port` at `task_index`
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
tensorflow/c/c_api.cc
} void TF_SetAttrFuncName(TF_OperationDescription* desc, const char* attr_name, const char* value, size_t length) { tensorflow::NameAttrList func_name; func_name.set_name(string(value, value + length)); desc->node_builder.Attr(attr_name, func_name); } void TF_SetAttrShape(TF_OperationDescription* desc, const char* attr_name, const int64_t* dims, int num_dims) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
if (TF_TensorDefaultAlignment() > 0) { EXPECT_FALSE(TF_TensorIsAligned(a)); } TF_DeleteTensor(a); } TEST(CAPI, MessageBufferConversion) { NodeDef node_in, node_out; node_in.set_name("Test name"); node_in.set_op("Test op"); TF_Buffer* buffer = TF_NewBuffer(); TF_CHECK_OK(MessageToBuffer(node_in, buffer)); TF_CHECK_OK(BufferToMessage(buffer, &node_out)); TF_DeleteBuffer(buffer);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)