Home
last modified time | relevance | path

Searched refs:set_type (Results 1 – 25 of 135) sorted by relevance

123456

/external/tensorflow/tensorflow/contrib/lite/toco/
Dexport_tensorflow.cc150 (*const_op->mutable_attr())["dtype"].set_type(DT_FLOAT); in ConvertFloatTensorConst()
167 (*const_op->mutable_attr())["dtype"].set_type(DT_FLOAT); in ConvertFloatTensorConst()
183 (*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_INT32); in ConvertIntTensorConst()
249 (*const_op->mutable_attr())["dtype"].set_type(DT_INT32); in CreateIntTensorConst()
267 (*const_op->mutable_attr())["dtype"].set_type(DT_INT32); in CreateMatrixShapeTensorConst()
285 (*const_op->mutable_attr())["dtype"].set_type(DT_INT32); in CreateDummyConcatDimTensorConst()
300 (*const_op->mutable_attr())["dtype"].set_type(DT_INT32); in CreateReshapeShapeTensorConst()
342 (*conv2d_op->mutable_attr())["T"].set_type(DT_FLOAT); in ConvertConvOperator()
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_placer_test.cc30 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 …]
Danalytical_cost_estimator_test.cc34 cpu_device.set_type("CPU"); in SetUp()
40 gpu_device.set_type("GPU"); in SetUp()
Dgraph_memory_test.cc32 devices_["/CPU:0"].set_type("CPU"); in GraphMemoryTest()
37 devices_["/GPU:0"].set_type("GPU"); in GraphMemoryTest()
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/
Dprotobufwireadaptertest.cc129 proto.mutable_encoding()->set_type( in TEST_F()
134 outer.set_type(OuterMessage_MessageType_MESSAGE_TYPE_CONFIGURATION); in TEST_F()
155 outer.set_type(OuterMessage_MessageType_MESSAGE_TYPE_CONFIGURATION_ACK); in TEST_F()
173 encoding->set_type(Options_Encoding_EncodingType_ENCODING_TYPE_NUMERIC); in TEST_F()
177 encoding->set_type(Options_Encoding_EncodingType_ENCODING_TYPE_ALPHANUMERIC); in TEST_F()
181 encoding->set_type(Options_Encoding_EncodingType_ENCODING_TYPE_HEXADECIMAL); in TEST_F()
185 encoding->set_type(Options_Encoding_EncodingType_ENCODING_TYPE_QRCODE); in TEST_F()
189 outer.set_type(OuterMessage_MessageType_MESSAGE_TYPE_OPTIONS); in TEST_F()
225 outer.set_type(OuterMessage_MessageType_MESSAGE_TYPE_PAIRING_REQUEST); in TEST_F()
245 outer.set_type(OuterMessage_MessageType_MESSAGE_TYPE_PAIRING_REQUEST_ACK); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/
Dsharding_builder.cc23 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/webrtc/webrtc/call/
Drtc_event_log.cc251 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/
Dadd_person.cc42 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/tensorflow/tensorflow/core/grappler/clusters/
Dutils.cc40 device.set_type("CPU"); in GetLocalCPUInfo()
71 device.set_type("GPU"); in GetLocalGPUInfo()
119 result.set_type("UNKNOWN"); in GetDeviceInfo()
Dsingle_machine_test.cc238 (*shp->mutable_attr())["dtype"].set_type(DT_INT32); in RunInfiniteTFLoop()
247 (*r->mutable_attr())["dtype"].set_type(DT_FLOAT); in RunInfiniteTFLoop()
248 (*r->mutable_attr())["T"].set_type(DT_INT32); in RunInfiniteTFLoop()
254 (*e->mutable_attr())["T"].set_type(DT_FLOAT); in RunInfiniteTFLoop()
261 (*m->mutable_attr())["T"].set_type(DT_FLOAT); in RunInfiniteTFLoop()
269 (*t->mutable_attr())["dtype"].set_type(DT_BOOL); in RunInfiniteTFLoop()
283 (*s->mutable_attr())["T"].set_type(DT_FLOAT); in RunInfiniteTFLoop()
291 (*i->mutable_attr())["T"].set_type(DT_FLOAT); in RunInfiniteTFLoop()
297 (*n->mutable_attr())["T"].set_type(DT_FLOAT); in RunInfiniteTFLoop()
303 (*x->mutable_attr())["T"].set_type(DT_FLOAT); in RunInfiniteTFLoop()
/external/llvm/include/llvm/ADT/
DSetVector.h45 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/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
Ddecision_node_evaluator_test.cc33 test.set_type(InequalityTest::LESS_OR_EQUAL); in TEST()
50 test.set_type(InequalityTest::LESS_THAN); in TEST()
112 test.set_type(InequalityTest::LESS_OR_EQUAL); in TEST()
Dgrow_stats_test.cc50 test->set_type(InequalityTest::LESS_OR_EQUAL); in MakeSplit()
171 finish->set_type(SPLIT_FINISH_DOMINATE_HOEFFDING); in TEST()
212 finish->set_type(SPLIT_FINISH_BASIC); in TEST()
214 params.mutable_pruning_type()->set_type(SPLIT_PRUNE_HOEFFDING); in TEST()
/external/vboot_reference/host/include/
Dcgpt_params.h38 int set_type; member
89 int set_type; member
/external/vboot_reference/cgpt/
Dcmd_find.c103 params.set_type = 1; in cmd_find()
155 if (!params.set_unique && !params.set_type && !params.set_label) { in cmd_find()
Dcgpt_add.c34 if (params->set_type) { in DumpCgptAddParams()
86 if (params->set_type) in GptSetEntryAttributes()
116 if (!params->set_begin || !params->set_size || !params->set_type) { in SetEntryAttributes()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding.cc326 result.set_type(OpSharding::Type::OpSharding_Type_TUPLE); in ToProto()
338 result.set_type(OpSharding::Type::OpSharding_Type_REPLICATED); in ToProto()
340 result.set_type(OpSharding::Type::OpSharding_Type_MAXIMAL); in ToProto()
342 result.set_type(OpSharding::Type::OpSharding_Type_OTHER); in ToProto()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DSetVector.h42 typedef Set set_type; typedef
157 set_type set_; ///< The set.
/external/autotest/client/cros/bluetooth/
Dbluetooth_tester_xmlrpc_server.py311 set_type = self._control.start_discovery(self.index, address_type)
312 if set_type != address_type:
314 '%x != %x', set_type, address_type)
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/
Dprotobufwireadapter.cc54 configuration.mutable_encoding()->set_type( in SendConfigurationMessage()
83 encoding->set_type(EncodingTypeToProto(option.encoding_type())); in SendOptionsMessage()
92 encoding->set_type(EncodingTypeToProto(option.encoding_type())); in SendOptionsMessage()
389 outer.set_type(type); in SendMessagePayload()
/external/v8/src/compiler/
Dnode-properties.h166 node->set_type(type); in SetType()
168 static void RemoveType(Node* node) { node->set_type(nullptr); } in RemoveType()
/external/tensorflow/tensorflow/contrib/lite/toco/tensorflow_graph_matching/
Dresolve_svdf_test.cc104 (*node->mutable_attr())["dtype"].set_type(tensorflow::DT_FLOAT); in AddNewNode()
123 (*node->mutable_attr())["dtype"].set_type(tensorflow::DT_INT32); in AddShapeNode()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item_builder_test.cc54 (*fn.mutable_attr())["T"].set_type(DT_FLOAT); in SampleSumSymbolicGradientGraphdef()
302 func_attr["T"].set_type(DT_FLOAT); in TEST_F()
369 func_attr["T"].set_type(DT_FLOAT); in TEST_F()
442 func_attr["T"].set_type(DT_FLOAT); in TEST_F()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc218 (*added_node->mutable_attr())["T"].set_type(output_type); in AddControlDependency()
333 (*node.mutable_attr())["dtype"].set_type(type); in MaterializeShapes()
361 (*added_node->mutable_attr())["dtype"].set_type(type); in MaterializeShapes()
802 attr_type.set_type(tensor->dtype()); in CreateNodeDef()
1007 (*const_index->mutable_attr())["dtype"].set_type(DT_INT32); in FoldNode()
1361 (*node->mutable_attr())["T"].set_type(dtype); in ReplaceOperationWithIdentity()
1384 (*node->mutable_attr())["T"].set_type(dtype); in ReplaceOperationWithSnapshot()
1455 (*node->mutable_attr())["T"].set_type(output_type); in SimplifyGraph()
1464 (*node->mutable_attr())["T"].set_type(output_type); in SimplifyGraph()
1579 (*reciprocal_node->mutable_attr())["T"].set_type(type); in SimplifyGraph()
Dmemory_optimizer.cc630 (*tmp_var->mutable_attr())["dtype"].set_type(dtype); in SchedulingPass()
645 (*zeros->mutable_attr())["T"].set_type(dtype); in SchedulingPass()
652 (*initialize->mutable_attr())["T"].set_type(dtype); in SchedulingPass()
668 (*accumulate->mutable_attr())["T"].set_type(dtype); in SchedulingPass()
680 (*node->mutable_attr())["T"].set_type(dtype); in SchedulingPass()
738 (*swap_in_node->mutable_attr())["T"].set_type(input_type); in BuildSwapPair()
739 (*swap_out_node->mutable_attr())["T"].set_type(input_type); in BuildSwapPair()

123456