/external/tensorflow/tensorflow/core/grappler/utils/ |
D | colocation_test.cc | 49 GraphDef gdef = test::function::GDef({ndef}); in TEST() local 51 EXPECT_EQ(1, gdef.node_size()); in TEST() 52 EXPECT_EQ(1, gdef.node(0).attr_size()); in TEST() 54 ReassignColocation(&gdef); in TEST() 57 EXPECT_EQ(1, gdef.node_size()); in TEST() 58 EXPECT_EQ(0, gdef.node(0).attr_size()); in TEST() 90 GraphDef gdef = in TEST() local 93 EXPECT_EQ(5, gdef.node_size()); in TEST() 94 EXPECT_TRUE(VerifyNodeHasColocation(gdef.node(0), "loc:@X")); // A in TEST() 95 EXPECT_TRUE(VerifyNodeHasColocation(gdef.node(1), "loc:@X")); // B in TEST() [all …]
|
/external/tensorflow/tensorflow/core/ops/ |
D | array_grad_test.cc | 39 auto gdef = test::function::GDef( in PackGrad() local 49 VLOG(1) << DebugStringWhole(gdef); in PackGrad() 51 TF_CHECK_OK(sess->Create(gdef)); in PackGrad() 80 auto gdef = test::function::GDef( in UnpackGrad() local 90 VLOG(1) << DebugStringWhole(gdef); in UnpackGrad() 92 TF_CHECK_OK(sess->Create(gdef)); in UnpackGrad() 120 auto gdef = test::function::GDef( in ConcatGrad() local 129 VLOG(1) << DebugStringWhole(gdef); in ConcatGrad() 131 TF_CHECK_OK(sess->Create(gdef)); in ConcatGrad() 144 auto gdef = test::function::GDef( in ConcatGradV2() local [all …]
|
/external/freetype/src/otvalid/ |
D | otvmod.c | 77 FT_Byte* volatile gdef; in otv_validate() local 88 base = gdef = gpos = gsub = jstf = math = NULL; in otv_validate() 114 error = otv_load_table( face, TTAG_GDEF, &gdef, &len_gdef ); in otv_validate() 179 if ( gdef ) in otv_validate() 181 ft_validator_init( &valid, gdef, gdef + len_gdef, FT_VALIDATE_DEFAULT ); in otv_validate() 183 otv_GDEF_validate( gdef, gsub, gpos, num_glyphs, &valid ); in otv_validate() 210 *ot_gdef = (FT_Bytes)gdef; in otv_validate() 222 FT_FREE( gdef ); in otv_validate()
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph_partition.cc | 197 GraphDef* gdef, const Edge* edge, in AddSend() argument 232 NodeDef* cast = gdef->add_node(); in AddSend() 249 NodeDef* send = gdef->add_node(); in AddSend() 255 GraphDef* gdef, const Edge* edge, NodeDef** real_recv, in AddRecv() argument 306 NodeDef* recv = gdef->add_node(); in AddRecv() 319 NodeDef* cast = gdef->add_node(); in AddRecv() 329 NodeDef* id = gdef->add_node(); in AddRecv() 338 NodeDef* AddDummyConst(const PartitionOptions& opts, GraphDef* gdef, in AddDummyConst() argument 342 NodeDef* result = gdef->add_node(); in AddDummyConst() 352 NodeDef* AddControlTrigger(const PartitionOptions& opts, GraphDef* gdef, in AddControlTrigger() argument [all …]
|
D | graph_partition_test.cc | 49 const GraphDef* gdef, std::vector<std::pair<const NodeDef*, int64>>* nodes, 114 const GraphDef& gdef = kv.second; in CheckLoopConstruction() local 119 for (const NodeDef& ndef : gdef.node()) { in CheckLoopConstruction() 400 const GraphDef& gdef = kv.second; in TEST_F() local 401 for (const NodeDef& ndef : gdef.node()) { in TEST_F() 490 GraphDef gdef; in TEST_F() local 508 &gdef)); in TEST_F() 509 gdef.mutable_versions()->set_producer(TF_GRAPH_DEF_VERSION); in TEST_F() 510 Partition(gdef, &partitions_); in TEST_F() 514 const GraphDef& gdef = kv.second; in TEST_F() local [all …]
|
D | optimizer_cse_test.cc | 334 GraphDef gdef; in TEST_F() local 335 test::graph::ToGraphDef(&g, &gdef); in TEST_F() 336 InitGraph(gdef.DebugString()); in TEST_F()
|
/external/harfbuzz_ng/src/ |
D | main.cc | 188 const GDEF &gdef = *CastP<GDEF> (font_data + table.offset); in main() local 191 gdef.has_glyph_classes () ? "" : "no "); in main() 193 gdef.has_mark_attachment_types () ? "" : "no "); in main() 195 gdef.has_attach_points () ? "" : "no "); in main() 197 gdef.has_lig_carets () ? "" : "no "); in main() 199 gdef.has_mark_sets () ? "" : "no "); in main()
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_session_test.cc | 636 GraphDef gdef; in TEST() local 666 test::graph::ToGraphDef(&g, &gdef); in TEST() 671 TF_CHECK_OK(session->Create(gdef)); in TEST() 693 GraphDef gdef; in TEST() local 723 g.ToGraphDef(&gdef); in TEST() 728 TF_CHECK_OK(session->Create(gdef)); in TEST() 752 GraphDef gdef; in TEST() local 785 test::graph::ToGraphDef(&g, &gdef); in TEST() 790 TF_CHECK_OK(session->Create(gdef)); in TEST() 811 GraphDef gdef; in TEST() local [all …]
|
/external/fonttools/Lib/fontTools/varLib/ |
D | mutator.py | 289 gdef = varfont['GDEF'].table 290 instancer = VarStoreInstancer(gdef.VarStore, fvar.axes, loc) 296 del gdef.VarStore 297 gdef.Version = 0x00010002 298 if gdef.MarkGlyphSetsDef is None: 299 del gdef.MarkGlyphSetsDef 300 gdef.Version = 0x00010000 302 if not (gdef.LigCaretList or 303 gdef.MarkAttachClassDef or 304 gdef.GlyphClassDef or [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | proto_test.py | 37 gdef = a.op.graph.as_graph_def() 38 serialized = gdef.SerializeToString() 43 self.assertProtoEquals(unserialized, gdef)
|
D | importer_test.py | 946 gdef = g.as_graph_def() 949 pack, = importer.import_graph_def(gdef, return_elements=["pack"]) 962 gdef = g.as_graph_def() 966 gdef, return_elements=["a", "b", "c"]) 974 gdef, return_elements=["a", "b", "c"]) 982 gdef, return_elements=["a", "b", "c"]) 990 gdef, return_elements=["a", "b", "c"]) 1003 gdef = g.as_graph_def() 1015 importer.import_graph_def(gdef) 1030 gdef = g.as_graph_def() [all …]
|
/external/libffi/ |
D | texinfo.tex | 118 \ifx\putwordAppendix\undefined \gdef\putwordAppendix{Appendix}\fi 119 \ifx\putwordChapter\undefined \gdef\putwordChapter{Chapter}\fi 120 \ifx\putworderror\undefined \gdef\putworderror{error}\fi 121 \ifx\putwordfile\undefined \gdef\putwordfile{file}\fi 122 \ifx\putwordin\undefined \gdef\putwordin{in}\fi 123 \ifx\putwordIndexIsEmpty\undefined \gdef\putwordIndexIsEmpty{(Index is empty)}\fi 124 \ifx\putwordIndexNonexistent\undefined \gdef\putwordIndexNonexistent{(Index is nonexistent)}\fi 125 \ifx\putwordInfo\undefined \gdef\putwordInfo{Info}\fi 126 \ifx\putwordInstanceVariableof\undefined \gdef\putwordInstanceVariableof{Instance Variable of}\fi 127 \ifx\putwordMethodon\undefined \gdef\putwordMethodon{Method on}\fi [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/ |
D | texinfo.tex | 118 \ifx\putwordAppendix\undefined \gdef\putwordAppendix{Appendix}\fi 119 \ifx\putwordChapter\undefined \gdef\putwordChapter{Chapter}\fi 120 \ifx\putworderror\undefined \gdef\putworderror{error}\fi 121 \ifx\putwordfile\undefined \gdef\putwordfile{file}\fi 122 \ifx\putwordin\undefined \gdef\putwordin{in}\fi 123 \ifx\putwordIndexIsEmpty\undefined \gdef\putwordIndexIsEmpty{(Index is empty)}\fi 124 \ifx\putwordIndexNonexistent\undefined \gdef\putwordIndexNonexistent{(Index is nonexistent)}\fi 125 \ifx\putwordInfo\undefined \gdef\putwordInfo{Info}\fi 126 \ifx\putwordInstanceVariableof\undefined \gdef\putwordInstanceVariableof{Instance Variable of}\fi 127 \ifx\putwordMethodon\undefined \gdef\putwordMethodon{Method on}\fi [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | function_utils.cc | 298 void ToGraphDef(const Graph* g, GraphDef* gdef, bool pretty) { in ToGraphDef() argument 302 gdef->Clear(); in ToGraphDef() 303 *gdef->mutable_versions() = g->versions(); in ToGraphDef() 312 ReverseDFSFrom(*g, start_nodes, nullptr, [gdef, pretty, &inputs](Node* n) { in ToGraphDef() 314 NodeDef* ndef = gdef->add_node(); in ToGraphDef() 363 GraphDef gdef; in DebugString() local 364 ToGraphDef(g, &gdef); in DebugString() 365 return DebugString(gdef); in DebugString()
|
D | graph_constructor.h | 57 const GraphDef& gdef, Graph* g); 59 GraphDef&& gdef, Graph* g); 192 const GraphDef& gdef, Graph* g,
|
D | graph_execution_state.cc | 189 GraphDef gdef; in Extend() local 193 *gdef.mutable_library() = flib_def_->ToProto(); in Extend() 206 *gdef.add_node() = node; in Extend() 216 int old_node_size = gdef.node_size(); in Extend() 217 gdef.mutable_node()->MergeFrom(extension_def.node()); in Extend() 219 AddDefaultAttrsToGraphDef(&gdef, *flib_def_, old_node_size)); in Extend() 221 if (gdef.has_versions()) { in Extend() 222 if (gdef.versions().producer() != extension_def.versions().producer()) { in Extend() 224 "Can't extend GraphDef at version ", gdef.versions().producer(), in Extend() 227 VersionDef* versions = gdef.mutable_versions(); in Extend() [all …]
|
D | graph_constructor.cc | 1455 const GraphDef& gdef, Graph* g) { in ConvertGraphDefToGraph() argument 1456 ShapeRefiner refiner(gdef.versions().producer(), g->op_registry()); in ConvertGraphDefToGraph() 1458 opts, gdef.node(), &gdef.versions(), &gdef.library(), g, &refiner, in ConvertGraphDefToGraph() 1464 GraphDef&& gdef, Graph* g) { in ConvertGraphDefToGraph() argument 1465 ShapeRefiner refiner(gdef.versions().producer(), g->op_registry()); in ConvertGraphDefToGraph() 1466 return GraphConstructor::Construct(opts, std::move(gdef), g, &refiner, in ConvertGraphDefToGraph() 1487 Status ImportGraphDef(const ImportGraphDefOptions& opts, const GraphDef& gdef, in ImportGraphDef() argument 1519 ShapeRefiner default_refiner(gdef.versions().producer(), g->op_registry()); in ImportGraphDef() 1526 if (gdef.versions().producer() > 0 && in ImportGraphDef() 1527 gdef.versions().producer() < refiner->graph_def_version() && in ImportGraphDef() [all …]
|
/external/tensorflow/tensorflow/core/util/ |
D | dump_graph_test.cc | 40 GraphDef gdef; in TEST() local 42 Env::Default(), io::JoinPath(testing::TmpDir(), "graph.pbtxt"), &gdef)); in TEST() 44 gdef.AppendToString(&read); in TEST()
|
/external/fonttools/Tests/varLib/instancer/ |
D | instancer_test.py | 750 gdef = vf["GDEF"].table 751 assert gdef.Version == 0x00010003 752 assert gdef.VarStore 753 assert gdef.LigCaretList 754 caretValue = gdef.LigCaretList.LigGlyph[0].CaretValue[0] 781 gdef = vf["GDEF"].table 782 assert gdef.Version == 0x00010000 783 assert not hasattr(gdef, "VarStore") 784 assert gdef.LigCaretList 785 caretValue = gdef.LigCaretList.LigGlyph[0].CaretValue[0] [all …]
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | cluster_function_library_runtime.cc | 39 const FunctionLibraryDefinition& flib_def, GraphDef* gdef, in ConstructFunctionGraph() argument 165 g.ToGraphDef(gdef); in ConstructFunctionGraph() 169 *(gdef->mutable_library()) = flib_def.ReachableDefinitions(*gdef).ToProto(); in ConstructFunctionGraph() 203 GraphDef gdef; in Instantiate() local 210 &gdef, send_keys, recv_keys)); in Instantiate() 227 *req->mutable_graph_def() = std::move(gdef); in Instantiate()
|
D | graph_mgr.cc | 93 static Status ValidateGraphDefForDevices(const GraphDef& gdef) { in ValidateGraphDefForDevices() argument 95 for (const auto& ndef : gdef.node()) { in ValidateGraphDefForDevices() 126 const string& handle, const GraphDef& gdef, WorkerSession* session, in InitItem() argument 133 new FunctionLibraryDefinition(OpRegistry::Global(), gdef.library())); in InitItem() 135 TF_RETURN_IF_ERROR(ValidateGraphDefForDevices(gdef)); in InitItem() 141 gdef.versions().producer(), item->lib_def.get(), in InitItem() 163 TF_RETURN_IF_ERROR(ConvertGraphDefToGraph(opts, gdef, &graph)); in InitItem() 296 const string& handle, const GraphDef& gdef, WorkerSession* session, in Register() argument 301 Status s = InitItem(handle, gdef, session, graph_options, debug_options, in Register()
|
/external/fonttools/Lib/fontTools/varLib/instancer/ |
D | __init__.py | 642 gdef = varfont["GDEF"].table 643 varStore = gdef.VarStore 664 gdef.remap_device_varidxes(varIndexMapping) 669 del gdef.VarStore 670 gdef.Version = 0x00010002 671 if gdef.MarkGlyphSetsDef is None: 672 del gdef.MarkGlyphSetsDef 673 gdef.Version = 0x00010000 676 gdef.LigCaretList 677 or gdef.MarkAttachClassDef [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/ |
D | upgrade_graph.cc | 44 GraphDef& gdef, const OpRegistryInterface* default_registry) { in GenerateResourceSharedNameIfEmpty() argument 73 FunctionDefLibrary* library = gdef.mutable_library(); in GenerateResourceSharedNameIfEmpty() 98 for (auto& node_def : *gdef.mutable_node()) { in GenerateResourceSharedNameIfEmpty()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | encapsulate_xla_computations_pass.cc | 182 GraphDef gdef; in RewriteSubgraph() local 183 graph->ToGraphDef(&gdef); in RewriteSubgraph() 189 SortControlInputs(&gdef); in RewriteSubgraph() 194 const size_t size = gdef.ByteSizeLong(); in RewriteSubgraph() 196 TF_RET_CHECK(SerializeToBufferDeterministic(gdef, serialized.get(), size)); in RewriteSubgraph()
|
/external/fonttools/Lib/fontTools/feaLib/ |
D | builder.py | 213 gdef = self.buildGDEF() 214 if gdef: 215 self.font["GDEF"] = gdef 739 gdef = otTables.GDEF() 740 gdef.GlyphClassDef = self.buildGDEFGlyphClassDef_() 741 gdef.AttachList = otl.buildAttachList(self.attachPoints_, self.glyphMap) 742 gdef.LigCaretList = otl.buildLigCaretList( 745 gdef.MarkAttachClassDef = self.buildGDEFMarkAttachClassDef_() 746 gdef.MarkGlyphSetsDef = self.buildGDEFMarkGlyphSetsDef_() 747 gdef.Version = 0x00010002 if gdef.MarkGlyphSetsDef else 0x00010000 [all …]
|