- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for GraphDef (0.13 sec)
-
tensorflow/c/c_api.cc
delete s; } void TF_ExtendGraph(TF_DeprecatedSession* s, const void* proto, size_t proto_len, TF_Status* status) { GraphDef g; if (!tensorflow::ParseProtoUnlimited(&g, proto, proto_len)) { status->status = InvalidArgument("Invalid GraphDef"); return; } status->status = s->session->Extend(g); } } // end extern "C"
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue May 13 06:30:43 UTC 2025 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_OperationOutputConsumers(TF_Output{three, 0}, &three_port, 1)); EXPECT_EQ(add, three_port.oper); EXPECT_EQ(1, three_port.index); // Serialize to GraphDef. GraphDef graph_def; ASSERT_TRUE(GetGraphDef(graph, &graph_def)); // Validate GraphDef is what we expect. bool found_placeholder = false; bool found_scalar_const = false; bool found_add = false; for (const auto& n : graph_def.node()) {
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Dec 27 12:18:10 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
const char* text_proto, std::function<void(FunctionDef*)>* mutate_proto_func, TF_Status* status) { tensorflow::GraphDef gdef; if (!tensorflow::protobuf::TextFormat::ParseFromString(text_proto, &gdef)) { status->status = tensorflow::errors::Internal( "Invalid text proto for GraphDef: ", text_proto); return {}; } const auto& fdef_lib = gdef.library(); if (fdef_lib.gradient_size() > 0) {
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 03:53:25 UTC 2025 - 29.5K bytes - Viewed (0) -
tensorflow/c/c_api.h
TF_Status* status); // Has the same behavior as TF_GraphImportGraphDefWithResults, but instead of // taking in a serialized tensorflow::GraphDef, it takes in a *pointer* to the // C++ *in memory representation* of the GraphDef, stored in `graph_def->data` TF_CAPI_EXPORT extern TF_ImportGraphDefResults* TF_GraphImportGraphDefWithResultsNoSerialization( TF_Graph* graph, const TF_Buffer* graph_def,
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
SECURITY.md
should be used with caution when working with untrusted models. ### Saved graphs and checkpoints When loading untrusted serialized computation graphs (in form of a `GraphDef`, `SavedModel`, or equivalent on-disk format), the set of computation primitives available to TensorFlow is powerful enough that you should assume that the TensorFlow process effectively executes arbitrary code.
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Oct 16 16:10:43 UTC 2024 - 9.6K bytes - Viewed (0) -
RELEASE.md
* The Python API will now properly set the `list` member of `AttrValue` in constructed `GraphDef` messages for empty lists. The serialization of some graphs will change, but the change is both forwards and backwards compatible. It will break tests that compare a generated `GraphDef` to a golden serialized `GraphDef` (which is discouraged). ## Thanks to our Contributors
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 20:54:38 UTC 2025 - 740K bytes - Viewed (2)