/external/tensorflow/tensorflow/lite/toco/ |
D | export_tensorflow.cc | 162 (*const_op->mutable_attr())["dtype"].set_type(DT_FLOAT); in ConvertFloatTensorConst() 204 (*const_op->mutable_attr())["dtype"].set_type(DT_FLOAT); in ConvertFloatTensorConst() 227 (*const_op->mutable_attr())["dtype"].set_type(DT_BOOL); in ConvertBoolTensorConst() 251 (*const_op->mutable_attr())["dtype"].set_type(DT_INT32); in ConvertIntTensorConst() 274 (*const_op->mutable_attr())["dtype"].set_type(DT_INT32); in CreateIntTensorConst() 299 (*const_op->mutable_attr())["dtype"].set_type(DT_COMPLEX64); in ConvertComplex64TensorConst() 322 (*const_op->mutable_attr())["dtype"].set_type(DT_INT32); in CreateMatrixShapeTensorConst() 340 (*const_op->mutable_attr())["dtype"].set_type(DT_INT32); in CreateDummyConcatDimTensorConst() 355 (*const_op->mutable_attr())["dtype"].set_type(DT_INT32); in CreateReshapeShapeTensorConst() 397 (*conv2d_op->mutable_attr())["T"].set_type(DT_FLOAT); in ConvertConvOperator() [all …]
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | virtual_placer_test.cc | 30 cpu_device.set_type("CPU"); in TEST() 33 gpu_device.set_type("GPU"); in TEST() 60 cpu_device.set_type("CPU"); in TEST() 63 gpu_device.set_type("GPU"); in TEST() 90 cpu_device.set_type("CPU"); in TEST() 93 tpu_device.set_type("TPU"); in TEST() 118 cpu_device.set_type("CPU"); in TEST() 122 gpu_device.set_type("GPU"); in TEST() 143 cpu_device.set_type("CPU"); in TEST() 171 cpu_device.set_type("CPU"); in TEST() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/client/ |
D | sharding_builder.cc | 23 result.set_type(OpSharding::Type::OpSharding_Type_REPLICATED); in Replicate() 29 result.set_type(OpSharding::Type::OpSharding_Type_MAXIMAL); in AssignDevice() 38 result.set_type(OpSharding::Type::OpSharding_Type_OTHER); in Tile() 51 result.set_type(OpSharding::Type::OpSharding_Type_OTHER); in Tile1D() 68 result.set_type(OpSharding::Type::OpSharding_Type_TUPLE); in Tuple()
|
/external/python/cpython3/Lib/test/ |
D | test_bdb.py | 363 set_type = self.set_tuple[0] 365 set_method = getattr(self, 'set_' + set_type) 368 if set_type in ('step', 'continue', 'quit'): 371 elif set_type in ('next', 'return'): 374 elif set_type == 'until': 384 if (args and set_type in ('break', 'clear', 'ignore', 'enable', 385 'disable')) or set_type in ('up', 'down'): 386 if set_type in ('break', 'clear'): 392 elif set_type in ('ignore', 'enable', 'disable'): 394 elif set_type in ('up', 'down'): [all …]
|
/external/libcxx/test/std/containers/associative/set/ |
D | merge.pass.cpp | 66 typedef std::set<Counter<int>, throw_comparator> set_type; in main() typedef 67 set_type src({1, 3, 5}, throw_comparator(do_throw)); in main() 68 set_type dst({2, 4, 5}, throw_comparator(do_throw)); in main() 82 assert(set_equal(src, set_type({1, 3, 5}, throw_comparator(do_throw)))); in main() 83 assert(set_equal(dst, set_type({2, 4, 5}, throw_comparator(do_throw)))); in main()
|
D | extract_iterator.pass.cpp | 43 using set_type = std::set<int>; in main() typedef 44 set_type m = {1, 2, 3, 4, 5, 6}; in main()
|
/external/libcxx/test/std/containers/associative/multiset/ |
D | merge.pass.cpp | 66 typedef std::multiset<Counter<int>, throw_comparator> set_type; in main() typedef 67 set_type src({1, 3, 5}, throw_comparator(do_throw)); in main() 68 set_type dst({2, 4, 5}, throw_comparator(do_throw)); in main() 82 assert(set_equal(src, set_type({1, 3, 5}, throw_comparator(do_throw)))); in main() 83 assert(set_equal(dst, set_type({2, 4, 5}, throw_comparator(do_throw)))); in main()
|
D | extract_iterator.pass.cpp | 43 using set_type = std::multiset<int>; in main() typedef 44 set_type m = {1, 2, 3, 4, 5, 6}; in main()
|
/external/tensorflow/tensorflow/core/ops/ |
D | tpu_embedding_ops.cc | 99 arg->set_type(DT_FLOAT); in RegisterPerTableLoadOpsForAlgorithmBody() 105 table_id_attr->set_type("int"); in RegisterPerTableLoadOpsForAlgorithmBody() 113 table_name_attr->set_type("string"); in RegisterPerTableLoadOpsForAlgorithmBody() 119 num_shards_attr->set_type("int"); in RegisterPerTableLoadOpsForAlgorithmBody() 124 shard_id_attr->set_type("int"); in RegisterPerTableLoadOpsForAlgorithmBody() 216 arg->set_type(DT_FLOAT); in RegisterPerTableRetrieveOpsForAlgorithmBody() 222 table_id_attr->set_type("int"); in RegisterPerTableRetrieveOpsForAlgorithmBody() 230 table_name_attr->set_type("string"); in RegisterPerTableRetrieveOpsForAlgorithmBody() 236 num_shards_attr->set_type("int"); in RegisterPerTableRetrieveOpsForAlgorithmBody() 241 shard_id_attr->set_type("int"); in RegisterPerTableRetrieveOpsForAlgorithmBody()
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
D | merge.pass.cpp | 66 typedef std::unordered_multiset<Counter<int>, throw_hasher<Counter<int>>> set_type; in main() typedef 67 set_type src({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main() 68 set_type dst({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main() 82 assert(set_equal(src, set_type({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main() 83 assert(set_equal(dst, set_type({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
|
D | extract_iterator.pass.cpp | 43 using set_type = std::unordered_multiset<int>; in main() typedef 44 set_type m = {1, 2, 3, 4, 5, 6}; in main()
|
/external/libcxx/test/std/containers/unord/unord.set/ |
D | merge.pass.cpp | 66 typedef std::unordered_set<Counter<int>, throw_hasher<Counter<int>>> set_type; in main() typedef 67 set_type src({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main() 68 set_type dst({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main() 82 assert(set_equal(src, set_type({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main() 83 assert(set_equal(dst, set_type({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
|
D | extract_iterator.pass.cpp | 43 using set_type = std::unordered_set<int>; in main() typedef 44 set_type m = {1, 2, 3, 4, 5, 6}; in main()
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
D | utils.cc | 48 device.set_type("CPU"); in GetLocalCPUInfo() 79 device.set_type("GPU"); in GetLocalGPUInfo() 86 device.set_type("UNKNOWN"); in GetLocalGPUInfo() 122 device.set_type("UNKNOWN"); in GetLocalGPUInfo() 153 unknown.set_type("UNKNOWN"); in GetDeviceInfo()
|
D | single_machine_test.cc | 247 (*shp->mutable_attr())["dtype"].set_type(DT_INT32); in RunInfiniteTFLoop() 256 (*r->mutable_attr())["dtype"].set_type(DT_FLOAT); in RunInfiniteTFLoop() 257 (*r->mutable_attr())["T"].set_type(DT_INT32); in RunInfiniteTFLoop() 263 (*e->mutable_attr())["T"].set_type(DT_FLOAT); in RunInfiniteTFLoop() 270 (*m->mutable_attr())["T"].set_type(DT_FLOAT); in RunInfiniteTFLoop() 278 (*t->mutable_attr())["dtype"].set_type(DT_BOOL); in RunInfiniteTFLoop() 292 (*s->mutable_attr())["T"].set_type(DT_FLOAT); in RunInfiniteTFLoop() 300 (*i->mutable_attr())["T"].set_type(DT_FLOAT); in RunInfiniteTFLoop() 306 (*n->mutable_attr())["T"].set_type(DT_FLOAT); in RunInfiniteTFLoop() 312 (*x->mutable_attr())["T"].set_type(DT_FLOAT); in RunInfiniteTFLoop()
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
D | decision_node_evaluator_test.cc | 33 test.set_type(InequalityTest::LESS_OR_EQUAL); in TEST() 50 test.set_type(InequalityTest::LESS_THAN); in TEST() 67 test.set_type(InequalityTest::GREATER_OR_EQUAL); in TEST() 84 test.set_type(InequalityTest::GREATER_THAN); in TEST() 146 test.set_type(InequalityTest::LESS_OR_EQUAL); in TEST()
|
/external/webrtc/webrtc/call/ |
D | rtc_event_log.cc | 251 start_event.set_type(rtclog::Event::LOG_START); 266 event.set_type(rtclog::Event::VIDEO_RECEIVER_CONFIG_EVENT); 304 event.set_type(rtclog::Event::VIDEO_SENDER_CONFIG_EVENT); 353 rtp_event.set_type(rtclog::Event::RTP_EVENT); 355 rtp_event.mutable_rtp_packet()->set_type(ConvertMediaType(media_type)); 368 rtcp_event.set_type(rtclog::Event::RTCP_EVENT); 370 rtcp_event.mutable_rtcp_packet()->set_type(ConvertMediaType(media_type)); 424 event.set_type(rtclog::Event::AUDIO_PLAYOUT_EVENT); 436 event.set_type(rtclog::Event::BWE_PACKET_LOSS_EVENT); 450 event.set_type(rtclog::Event::LOG_END);
|
/external/protobuf/examples/ |
D | add_person.cc | 42 phone_number->set_type(tutorial::Person::MOBILE); in PromptForAddress() 44 phone_number->set_type(tutorial::Person::HOME); in PromptForAddress() 46 phone_number->set_type(tutorial::Person::WORK); in PromptForAddress()
|
/external/perfetto/src/trace_processor/ |
D | wasm_bridge.cc | 108 descriptor->set_type(ColumnDesc::UNKNOWN); in trace_processor_rawQuery() 124 desc->set_type(ColumnDesc::LONG); in trace_processor_rawQuery() 127 desc->set_type(ColumnDesc::STRING); in trace_processor_rawQuery() 130 desc->set_type(ColumnDesc::DOUBLE); in trace_processor_rawQuery()
|
/external/llvm/include/llvm/ADT/ |
D | SetVector.h | 45 typedef Set set_type; typedef 263 set_type &set_; 266 TestAndEraseFromSet(UnaryPredicate P, set_type &set_) in TestAndEraseFromSet() 279 set_type set_; ///< The set.
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | SetVector.h | 47 using set_type = Set; variable 275 set_type &set_; 278 TestAndEraseFromSet(UnaryPredicate P, set_type &set_) in TestAndEraseFromSet() 291 set_type set_; ///< The set.
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | functions_test.cc | 78 func_instantiation_attr["A"].set_type(DT_FLOAT); in TEST_F() 79 func_instantiation_attr["B"].set_type(DT_INT32); in TEST_F() 80 func_instantiation_attr["C"].set_type(DT_DOUBLE); in TEST_F() 243 func_instantiation_attr["T"].set_type(DT_FLOAT); in TEST_F() 325 func_instantiation_attr["T"].set_type(DT_FLOAT); in TEST_F() 417 func_instantiation_attr["T"].set_type(DT_FLOAT); in TEST_F() 593 func_instantiation_attr["T"].set_type(DT_FLOAT); in TEST_F() 700 func_instantiation_attr["T"].set_type(DT_FLOAT); in TEST_F() 740 func_instantiation_attr["T"].set_type(DT_FLOAT); in TEST_F() 830 func_instantiation_attr["T"].set_type(DT_FLOAT); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | remapper.cc | 650 (*new_shape->mutable_attr())["dtype"].set_type(DT_INT32); in AddBatchNormNodes() 667 (*reshaped_scale->mutable_attr())["Tshape"].set_type(DT_INT32); in AddBatchNormNodes() 678 (*reshaped_offset->mutable_attr())["Tshape"].set_type(DT_INT32); in AddBatchNormNodes() 689 (*reshaped_mean->mutable_attr())["Tshape"].set_type(DT_INT32); in AddBatchNormNodes() 700 (*reshaped_variance->mutable_attr())["Tshape"].set_type(DT_INT32); in AddBatchNormNodes() 721 (*variance_plus_epsilon->mutable_attr())["T"].set_type(dtype); in AddBatchNormNodes() 730 (*inv->mutable_attr())["T"].set_type(dtype); in AddBatchNormNodes() 737 (*scaled->mutable_attr())["T"].set_type(dtype); in AddBatchNormNodes() 745 (*a->mutable_attr())["T"].set_type(dtype); in AddBatchNormNodes() 753 (*b->mutable_attr())["T"].set_type(dtype); in AddBatchNormNodes() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | function.cpp | 78 current_block_->set_type(kBlockTypeLoop); in RegisterLoopMerge() 79 merge_block.set_type(kBlockTypeMerge); in RegisterLoopMerge() 80 continue_target_block.set_type(kBlockTypeContinue); in RegisterLoopMerge() 96 current_block_->set_type(kBlockTypeHeader); in RegisterSelectionMerge() 97 merge_block.set_type(kBlockTypeMerge); in RegisterSelectionMerge()
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | function.cpp | 78 current_block_->set_type(kBlockTypeLoop); in RegisterLoopMerge() 79 merge_block.set_type(kBlockTypeMerge); in RegisterLoopMerge() 80 continue_target_block.set_type(kBlockTypeContinue); in RegisterLoopMerge() 96 current_block_->set_type(kBlockTypeHeader); in RegisterSelectionMerge() 97 merge_block.set_type(kBlockTypeMerge); in RegisterSelectionMerge()
|