Home
last modified time | relevance | path

Searched refs:nodes_size (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/cc/saved_model/
Dbundle_v2.cc143 if (saved_object_graph().nodes_size() == 0 || in VisitObjectsToRestore()
144 trackable_object_graph().nodes_size() == 0) { in VisitObjectsToRestore()
195 trackable_child_node_id >= trackable_object_graph().nodes_size()) { in RecurseObjectsToRestore()
211 saved_child_node_id < saved_object_graph().nodes_size()) { in RecurseObjectsToRestore()
Dbundle_v2_test.cc80 EXPECT_GT(bundle.trackable_object_graph().nodes_size(), 0); in TEST_F()
93 EXPECT_GT(bundle.trackable_object_graph().nodes_size(), 0); in TEST_F()
/external/pdfium/third_party/libopenjpeg20/
Dtgt.c97 tree->nodes_size = tree->numnodes * (OPJ_UINT32)sizeof(opj_tgt_node_t); in opj_tgt_create()
178 if (l_node_size > p_tree->nodes_size) { in opj_tgt_init()
188 memset(((char *) p_tree->nodes) + p_tree->nodes_size, 0, in opj_tgt_init()
189 l_node_size - p_tree->nodes_size); in opj_tgt_init()
190 p_tree->nodes_size = l_node_size; in opj_tgt_init()
Dtgt.h72 OPJ_UINT32 nodes_size; /* maximum size taken by nodes */ member
/external/tensorflow/tensorflow/core/kernels/boosted_trees/
Dresources.cc59 DCHECK_LT(node_id, tree_ensemble_->trees(tree_id).nodes_size()); in next_node()
88 DCHECK_LT(node_id, tree_ensemble_->trees(tree_id).nodes_size()); in node_value()
125 DCHECK_LT(node_id, tree_ensemble_->trees(tree_id).nodes_size()); in set_node_value()
161 return tree_ensemble_->trees(tree_id).nodes_size(); in GetNumNodes()
171 DCHECK_LT(node_id, tree_ensemble_->trees(tree_id).nodes_size()); in is_leaf()
249 (tree_ensemble_->trees(n_trees - 1).nodes_size() == 1))) { in UpdateGrowingMetadata()
329 *left_node_id = tree->nodes_size(); in AddLeafNodes()
383 int32 num_nodes = tree->nodes_size(); in PostPruneTree()
/external/tensorflow/tensorflow/lite/
Doptional_debug_tools.cc109 interpreter->tensors_size(), interpreter->nodes_size()); in PrintInterpreterState()
125 for (size_t node_index = 0; node_index < interpreter->nodes_size(); in PrintInterpreterState()
Dinterpreter.h234 size_t nodes_size() const { return primary_subgraph().nodes_size(); } in nodes_size() function
Dmodel_test.cc203 ASSERT_EQ(interpreter->nodes_size(), 2); in TEST()
Dinterpreter_test.cc132 ASSERT_EQ(interpreter.nodes_size(), 0); in TEST()
/external/llvm-project/llvm/lib/Target/X86/
DImmutableGraph.h98 size_type nodes_size() const { return NodesSize; } in nodes_size() function
117 : G{G}, V{static_cast<unsigned>(G.nodes_size()), ContainsAll} {}
357 size_type NewVertexSize = G.nodes_size() - TrimNodes.count(); in trim()
365 std::vector<size_type> RemappedNodeIndex(G.nodes_size()); in trim()
440 static typename GraphT::size_type size(GraphT *G) { return G->nodes_size(); }
DX86LoadValueInjectionLoadHardening.cpp537 LLVM_DEBUG(dbgs() << "Found " << G->nodes_size() << " nodes\n"); in getGadgetGraph()
627 auto Nodes = std::make_unique<unsigned int[]>(Graph->nodes_size() + in hardenLoadsWithPlugin()
635 Nodes[Graph->nodes_size()] = Graph->edges_size(); // terminator node in hardenLoadsWithPlugin()
640 OptimizeCut(Nodes.get(), Graph->nodes_size(), Edges.get(), EdgeValues.get(), in hardenLoadsWithPlugin()
/external/tensorflow/tensorflow/compiler/xla/pjrt/distributed/
Dservice_test.cc38 EXPECT_EQ(global.nodes_size(), 2); in TEST()
/external/tensorflow/tensorflow/core/kernels/tensor_forest/
Dresources.cc27 return decision_tree_->nodes_size(); in get_size()
/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view_internal.h294 int nodes_size = nodes_.size(); in GetNode() local
295 if (node_index < 0 || node_index >= nodes_size) { in GetNode()
302 int nodes_size = nodes_.size(); in GetNode() local
303 if (node_index < 0 || node_index >= nodes_size) { in GetNode()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_op.cc198 const int64 nodes_size = nodes.size(); in SearchRoot() local
199 for (; i < nodes_size; ++i) { in SearchRoot()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.h189 size_t nodes_size() const { return nodes_and_registration_.size(); } in nodes_size() function
205 if (node_index < 0 || static_cast<size_t>(node_index) >= nodes_size()) in node_and_registration()
Dsubgraph.cc187 size_t num_total_nodes() const override { return subgraph_->nodes_size(); } in num_total_nodes()
1177 auto nodes_size = nodes_and_registration_.size(); in GetNodeAndRegistration() local
1178 TF_LITE_ENSURE(&context_, static_cast<size_t>(node_index) < nodes_size); in GetNodeAndRegistration()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dinterpreter_wrapper.cc51 if (i >= interpreter_->nodes_size() || i < 0) { \
493 return interpreter_->nodes_size(); in NumNodes()
517 if (!interpreter_ || i >= interpreter_->nodes_size() || i < 0) { in NodeName()
/external/tensorflow/tensorflow/lite/tools/serialization/
Dwriter_lib.cc93 operator_to_opcode.resize(subgraph_->nodes_size(), -1); in ExportOperators()
167 for (int op_index = 0; op_index < subgraph_->nodes_size(); ++op_index) { in ExportTensors()
/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dsaved_model_utils.cc417 for (int i = 0; i < metagraph.object_graph_def().nodes_size(); ++i) { in PartiallyReviveSavedModelObjects()
/external/tensorflow/tensorflow/lite/examples/label_image/
Dlabel_image.cc262 LOG(INFO) << "nodes size: " << interpreter->nodes_size(); in RunInference()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc2763 for (int node_id = 0; node_id < object_graph.nodes_size(); node_id++) { in DiagnoseMultipleConcreteFunctions()
3090 for (int node_id = 0; node_id < object_graph.nodes_size(); node_id++) { in CreateSavedModelIR()
/external/tensorflow/
DRELEASE.md77 can be replaced by calling the existing methods `nodes_size()`