- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for pets_name (0.08 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc
server_def.set_job_name(job_name); server_def.set_task_index(0); tensorflow::ClusterDef* cluster_def = server_def.mutable_cluster(); tensorflow::JobDef* job_def = cluster_def->add_job(); job_def->set_name(job_name); for (int i = 0; i < num_tasks; i++) { int port = tensorflow::testing::PickUnusedPortOrDie(); job_def->mutable_tasks()->insert( {i, tensorflow::strings::StrCat("localhost", ":", port)});
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jul 10 07:18:05 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
} absl::Status SetAttrFunctionName(const char* attr_name, const char* value, size_t length) override { tensorflow::NameAttrList func_name; func_name.set_name(string(value, value + length)); op_->node_builder.Attr(attr_name, func_name); return absl::OkStatus(); } absl::Status SetAttrTensor(const char* attr_name,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
using tensorflow::shape_inference::ShapeHandle; const int num_inputs = input_shapes->num_items; NodeDef node_def; tensorflow::ImmediateExecutionOperation* op = tensorflow::unwrap(tfe_op); node_def.set_name(op->Name()); node_def.set_op(op->Name()); for (int i = 0; i < num_inputs; ++i) { node_def.add_input("dummy_input"); } OperationFromInterface(op)->Attrs().FillAttrValueMap(node_def.mutable_attr());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 29.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_cluster_test.cc
// Another renaming of local device const string second_name = "def"; server_def.set_job_name(second_name); server_def.mutable_cluster()->mutable_job(0)->set_name(second_name); (*server_def.mutable_cluster()->mutable_job(0)->mutable_tasks())[0] = absl::StrCat(second_name, ":", tensorflow::testing::PickUnusedPortOrDie());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.2K 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/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)