- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SerializeAsString (0.25 sec)
-
tensorflow/c/eager/c_api_test.cc
ReplaceTaskInServerDef(server_def_0, /*task_index=*/0); // These server defs have task index set to 0. string serialized_server_def_0 = server_def_0.SerializeAsString(); string serialized_server_def_1 = server_def_1.SerializeAsString(); // Create two worker tasks. server_def_0.set_task_index(1); std::unique_ptr<tensorflow::GrpcServer> worker_server1; ASSERT_TRUE(tensorflow::GrpcServer::Create(
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_test.cc
tensorflow::Example example; auto* feature_map = example.mutable_features()->mutable_feature(); (*feature_map)["x"].mutable_float_list()->add_value(i); input.flat<tstring>()(i) = example.SerializeAsString(); } const tensorflow::string input_op_name( tensorflow::ParseTensorName(input_name).first); TF_Operation* input_op = TF_GraphOperationByName(graph, input_op_name.c_str());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)