Home
last modified time | relevance | path

Searched refs:set_s (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dimplementation_selector_test.cc64 (*func_attr)["api_implements"].set_s("times_two"); in TEST_F()
65 (*func_attr)["api_preferred_device"].set_s("CPU"); in TEST_F()
69 (*func2_attr)["api_implements"].set_s("times_two"); in TEST_F()
70 (*func2_attr)["api_preferred_device"].set_s("GPU"); in TEST_F()
102 (*func_attr)["api_implements"].set_s("random_boost"); in TEST_F()
103 (*func_attr)["api_preferred_device"].set_s("CPU"); in TEST_F()
107 (*func2_attr)["api_implements"].set_s("random_boost"); in TEST_F()
108 (*func2_attr)["api_preferred_device"].set_s("GPU"); in TEST_F()
148 (*boost_1_attr)["api_implements"].set_s("random_boost"); in TEST_F()
149 (*boost_1_attr)["api_preferred_device"].set_s("CPU"); in TEST_F()
[all …]
Dfunction_api_info_test.cc61 (*func_attr)["api_implements"].set_s(api_interface_name); in PopulateFunction()
63 (*func_attr)["api_preferred_device"].set_s(preferred_device); in PopulateFunction()
65 (*func_attr)["forward_function_name"].set_s(forward_function_name); in PopulateFunction()
67 (*func_attr)["backward_function_name"].set_s(backward_function_name); in PopulateFunction()
Dlayout_optimizer.cc974 attr_kernel.set_s("host"); in AddNodeDataFormatOp()
983 attr_format.set_s(src_format); in AddNodeDataFormatOp()
985 attr_format.set_s(dst_format); in AddNodeDataFormatOp()
Dmemory_optimizer.cc648 (*tmp_var->mutable_attr())["var_name"].set_s(tmp_var->name()); in SchedulingPass()
697 (*node->mutable_attr())["var_name"].set_s(tmp_var->name()); in SchedulingPass()
Dloop_optimizer.cc239 frame_name.set_s(fname); in HandleInvariantNode()
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler.cc576 send_attr[kAttrInputSrc].set_s(input_name); in CreateSendRecv()
577 send_attr[kAttrSrcDevice].set_s(DeviceName(from)); in CreateSendRecv()
578 send_attr[kAttrDstDevice].set_s(DeviceName(to)); in CreateSendRecv()
582 send_attr[kAttrTensorName].set_s( in CreateSendRecv()
593 recv_attr[kAttrInputSrc].set_s(input_name); in CreateSendRecv()
595 recv_attr[kAttrTensorName].set_s( in CreateSendRecv()
Dutils.cc154 attr.set_s(input_node->op()); in ExtractExtraProperties()
Dvirtual_scheduler_test.cc2863 (*attr)["recv_device"].set_s(recv_device); in TEST_F()
2866 (*attr)["recv_device"].set_s(recv_device); in TEST_F()
/external/tensorflow/tensorflow/core/lib/strings/
Dproto_serialization_test.cc37 (*node->mutable_attr())["bar"].set_s("baz"); in MakeGraphDef()
/external/tensorflow/tensorflow/core/ops/
Dtpu_embedding_ops.cc114 table_name_attr->mutable_default_value()->set_s(""); in RegisterPerTableLoadOpsForAlgorithmBody()
231 table_name_attr->mutable_default_value()->set_s(""); in RegisterPerTableRetrieveOpsForAlgorithmBody()
/external/tensorflow/tensorflow/contrib/util/
Dconvert_graphdef_memmapped_format_lib.cc102 attr_value.set_s(memmapped_region_name); in ConvertConstantsToImmutable()
/external/tensorflow/tensorflow/core/profiler/internal/advisor/
Dtfprof_advisor_test.cc50 (*def->mutable_attr())[attr.first].set_s(attr.second); in CreateNode()
/external/tensorflow/tensorflow/core/graph/
Dcontrol_flow_test.cc98 (*enter.mutable_attr())["frame_name"].set_s("test_loop"); in TEST()
Dgraph_constructor.cc817 list->set_s(i, strings::StrCat(kColocationGroupPrefix, prefix_, v)); in AddPrefixToNodeDef()
/external/tensorflow/tensorflow/core/grappler/utils/
Dframe_test.cc46 frame_name.set_s(frame); in CreateNode()
Dfunctions_test.cc77 func_instantiation_attr["key"].set_s("key-value"); in TEST_F()
/external/tensorflow/tensorflow/lite/toco/tensorflow_graph_matching/
Dresolve_svdf.cc141 (*svdf_node->mutable_attr())["ActivationFunction"].set_s(activation_function); in CreateNodes()
/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc3126 void set_s(const string& new_s) { s_ = new_s; } in set_s() function in testing::gmock_matchers_test::AClass
3164 a.set_s("hill"); in TEST()
3167 a.set_s("hole"); in TEST()
3190 a.set_s("hill"); in TEST()
3193 a.set_s("hole"); in TEST()
3265 a.set_s("hill"); in TEST()
3268 a.set_s("hole"); in TEST()
3278 a.set_s("hill"); in TEST()
3281 a.set_s("hole"); in TEST()
/external/tensorflow/tensorflow/lite/toco/
Dexport_tensorflow.cc425 (*conv2d_op->mutable_attr())["padding"].set_s(padding); in ConvertConvOperator()
516 (*dc2d_op->mutable_attr())["padding"].set_s(padding); in ConvertDepthwiseConvOperator()
570 (*conv2d_op->mutable_attr())["padding"].set_s(padding); in ConvertTransposeConvOperator()
986 (*maxpool_op->mutable_attr())["padding"].set_s(padding); in ConvertMaxPoolOperator()
1014 (*avgpool_op->mutable_attr())["padding"].set_s(padding); in ConvertAveragePoolOperator()
1091 (*avgpool_op->mutable_attr())["padding"].set_s(padding); in ConvertL2PoolOperator()
1529 (*biasadd_op->mutable_attr())["data_format"].set_s("NHWC"); in ConvertLstmCellOperator()
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc4137 void set_s(const std::string& new_s) { s_ = new_s; } in set_s() function in testing::gmock_matchers_test::__anon67385ff30111::AClass
4183 a.set_s("hill"); in TEST()
4187 a.set_s("hole"); in TEST()
4200 a.set_s("hill"); in TEST()
4204 a.set_s("hole"); in TEST()
4228 a.set_s("hill"); in TEST()
4231 a.set_s("hole"); in TEST()
4329 a.set_s("hill"); in TEST()
4332 a.set_s("hole"); in TEST()
4342 a.set_s("hill"); in TEST()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dattr_value_util.cc462 out->set_s(value.data(), value.size()); in DEFINE_SET_ATTR_VALUE_ONE()
Dnode_def_util.cc782 attr.set_s(frame_name); in ADD_ATTR()
Dfunction_test.cc1365 (*attr)["api_implements"].set_s(interface_name); in TEST()
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine_test.cc264 (*e->mutable_attr())["frame_name"].set_s("while/while/"); in RunInfiniteTFLoop()
/external/tensorflow/tensorflow/lite/toco/tflite/
Doperator_test.cc596 (*attr)["str_attr"].set_s("Hello World"); in TEST_F()

12