Home
last modified time | relevance | path

Searched refs:versions_ (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/graph/
Dgraph.cc351 versions_(new VersionDef), in Graph()
353 versions_->set_producer(TF_GRAPH_DEF_VERSION); in Graph()
354 versions_->set_min_consumer(TF_GRAPH_DEF_VERSION_MIN_CONSUMER); in Graph()
381 versions_->min_consumer() < 12) { in Graph()
382 versions_->set_min_consumer(12); in Graph()
403 const VersionDef& Graph::versions() const { return *versions_; } in versions()
404 void Graph::set_versions(const VersionDef& versions) { *versions_ = versions; } in set_versions()
604 if (fdef_lib.function_size() > 0 && versions_->min_consumer() < 12) { in AddFunctionLibrary()
605 versions_->set_min_consumer(12); in AddFunctionLibrary()
Dgraph_constructor.cc153 versions_(versions), in GraphConstructor()
242 const VersionDef* versions_; member in tensorflow::__anone0324be20111::GraphConstructor
687 if (versions_) { in ModifyNodeDefForImport()
688 TF_RETURN_IF_ERROR(CheckOpDeprecation(*op_def, versions_->producer())); in ModifyNodeDefForImport()
1085 if (versions_ == nullptr) return Status::OK(); in UpdateVersionDef()
1088 g_->set_versions(*versions_); in UpdateVersionDef()
1092 versions.set_producer(std::min(versions.producer(), versions_->producer())); in UpdateVersionDef()
1094 std::max(versions.min_consumer(), versions_->min_consumer())); in UpdateVersionDef()
1095 if (versions_->bad_consumers_size() > 0) { in UpdateVersionDef()
1098 bad.insert(versions_->bad_consumers().begin(), in UpdateVersionDef()
[all …]
Dgraph.h670 const std::unique_ptr<VersionDef> versions_; variable