- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for serialize (0.25 sec)
-
tensorflow/c/c_api_test.cc
TF_ASSERT_OK(OpRegistry::Global()->LookUpOpDef("Add", &expected_op_def)); string expected_serialized; expected_op_def->SerializeToString(&expected_serialized); string actual_string(reinterpret_cast<const char*>(buffer->data), buffer->length); EXPECT_EQ(expected_serialized, actual_string); TF_GraphGetOpDef(graph, "MyFakeOp", buffer, status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/c_api_function_test.cc
VerifyFDefNodes(fdef, nodes); VerifyFDefInputs(fdef, inputs); VerifyFDefOutputs(fdef, outputs); VerifyFDefEdges(fdef, e_edges, c_edges, is_exact_edges); } // Serialize func_ to fdef and import it back void Reincarnate() { // func_ -> fdef tensorflow::FunctionDef fdef; ASSERT_TRUE(GetFunctionDef(func_, &fdef)); TF_DeleteFunction(func_); // fdef -> func_
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/eager/c_api_test.cc
->mutable_rewrite_options() ->set_min_graph_nodes(-1); string serialized_config; ASSERT_TRUE(config.SerializeToString(&serialized_config)); TFE_OpSetAttrString( op, "config_proto", reinterpret_cast<const void*>(serialized_config.c_str()), serialized_config.length()); } if (use_tfrt) { // Set some test-only graph compiler options.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1)