Home
last modified time | relevance | path

Searched refs:str_c (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/auto_parallel/rec_core/
Drec_cost.cc45 … node.apply.arguments[0].tensor_shape.shape_c * node.apply.arguments[0].tensor_str.str_c * in CostRedis()
50 node.tensor_parm.tensor_shape.shape_c * node.tensor_parm.tensor_str.str_c * in CostRedis()
89 if (static_cast<int64_t>(1 / node_name_to_strategy[i_strategy].second.outputTensor.str_c) != in CostRedisWithAdjacentNode()
106 if (static_cast<int64_t>(1 / node_name_to_strategy[i_strategy].second.inputTensor[0].str_c) != in CostRedisWithAdjacentNode()
235 static_cast<int64_t>(op.arguments[0].tensor_shape.shape_c * op.arguments[0].tensor_str.str_c); in GetOptimalStr()
246 static_cast<int64_t>(op.arguments[1].tensor_shape.shape_c * op.arguments[1].tensor_str.str_c); in GetOptimalStr()
257 static_cast<int64_t>(node.tensor_parm.tensor_shape.shape_c * node.tensor_parm.tensor_str.str_c); in GetOptimalStr()
302 … static_cast<int64_t>(op.arguments[0].tensor_shape.shape_c * op.arguments[0].tensor_str.str_c); in GetMinCostIn()
307 static_cast<int64_t>(op.arguments[1].tensor_shape.shape_c * op.arguments[1].tensor_str.str_c); in GetMinCostIn()
311 … static_cast<int64_t>(node.tensor_parm.tensor_shape.shape_c * node.tensor_parm.tensor_str.str_c); in GetMinCostIn()
[all …]
Drec_partition.cc254 Node.tensor_parm.tensor_str.str_c = Node.apply.str.outputTensor.str_c; in ApplyStrToTensor()
261 Node.apply.arguments[i].tensor_str.str_c = Node.apply.str.inputTensor[i].str_c; in ApplyStrToTensor()
282 … Node.apply.arguments[index].tensor_str.str_c * Node.apply.arguments[index].tensor_shape.shape_c * in DevicesMemoryControl()
Drec_strategy.h26 float str_c = 1; member
Drec_generate_strategy.cc425 …ic_cast<int64_t>(1.0 / graph->nodes[iter_graph].apply.arguments[iter_op_inputs].tensor_str.str_c)); in MakeRecSearchStrategy()
433 …ic_cast<int64_t>(1.0 / graph->nodes[iter_graph].apply.arguments[iter_op_inputs].tensor_str.str_c)); in MakeRecSearchStrategy()
495 graph->nodes[iter_graph].tensor_parm.tensor_str.str_c = 1.0; in MakeDataParallelStrategy()
509 …graph->nodes[iter_graph].tensor_parm.tensor_str.str_c = 1.0 / std::min(max_device_num, target_tens… in MakeDataParallelStrategy()
550 graph->nodes[iter_graph].tensor_parm.tensor_str.str_c = 1.0; in MakeFullBatchStrategy()
647 if (graph->nodes[iter_graph].tensor_parm.tensor_str.str_c < 0.9) { in CheckVirtualDatasetStrategy()
648 return graph->nodes[iter_graph].tensor_parm.tensor_str.str_c; in CheckVirtualDatasetStrategy()
703 s.push_back(FloatToLong(1 / graph->nodes[iter_graph].tensor_parm.tensor_str.str_c)); in CopyIncomingOperatorOutputStrategy()
708 s.push_back(FloatToLong(1 / graph->nodes[iter_graph].tensor_parm.tensor_str.str_c)); in CopyIncomingOperatorOutputStrategy()
/third_party/boost/libs/metaparse/test/
Dfoldr_start_with_parser.cpp62 BOOST_MPL_ASSERT((is_error<apply_wrap2<p, str_c, start> >)); in BOOST_METAPARSE_TEST_CASE()
Dfoldl_start_with_parser.cpp63 BOOST_MPL_ASSERT((is_error<apply_wrap2<p, str_c, start> >)); in BOOST_METAPARSE_TEST_CASE()
Dfoldl_reject_incomplete_start_with_parser.cpp67 BOOST_MPL_ASSERT((is_error<apply_wrap2<p, str_c, start> >)); in BOOST_METAPARSE_TEST_CASE()
Dcommon.hpp33 typedef boost::mpl::list_c<char, 'c'> str_c; typedef
/third_party/python/Lib/
D_pydecimal.py6008 str_c = str(c)
6009 return 100*len(str_c) - correction[str_c[0]]