Home
last modified time | relevance | path

Searched refs:default_format (Results 1 – 14 of 14) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dkernel_select_graph_kernel.cc195 void GetDefaultFormat(const CNodePtr &kernel_node, std::string *default_format, bool *use_same_form… in GetDefaultFormat() argument
197 MS_EXCEPTION_IF_NULL(default_format); in GetDefaultFormat()
218 *default_format = kOpFormat_NC1HWC0; in GetDefaultFormat()
226 *default_format = pairs.begin()->first; in GetDefaultFormat()
237 if (weight_infer_shape.size() < kShape2dDims && *default_format == kOpFormat_FRAC_NZ) { in GetDefaultFormat()
238 *default_format = kOpFormat_DEFAULT; in GetDefaultFormat()
246 const std::string &default_format, bool use_same_format, in UpdateInputsKernelInfo() argument
258 if (default_format == kOpFormat_FRAC_NZ) { in UpdateInputsKernelInfo()
266 graph_input_format->emplace_back(default_format); in UpdateInputsKernelInfo()
291 graph_input_format->push_back(default_format); in UpdateInputsKernelInfo()
[all …]
/third_party/boost/libs/timer/test/
Dcpu_timer_test.cpp34 string default_format(" %ws wall, %us user + %ss system = %ts CPU (%p%)\n"); in unit_test() local
43 BOOST_TEST_EQ(t1.format_string(), default_format); in unit_test()
53 BOOST_TEST_EQ(t1a.format_string(), default_format); in unit_test()
64 BOOST_TEST_EQ(t1b.format_string(), default_format); in unit_test()
70 BOOST_TEST_EQ(t2.format_string(), default_format); in unit_test()
88 BOOST_TEST_EQ(t5.format_string(), default_format); in unit_test()
94 BOOST_TEST_EQ(t6.format_string(), default_format); in unit_test()
/third_party/boost/libs/log/test/run/
Dform_named_scope.cpp58 static logging::string_literal default_format() { return logging::str_literal("%n"); } in default_format() function
75 static logging::wstring_literal default_format() { return logging::str_literal(L"%n"); } in default_format() function
134 BOOST_CHECK(check_formatting(data::default_format(), rec, strm.str())); in BOOST_AUTO_TEST_CASE_TEMPLATE()
149 keywords::format = data::default_format().c_str(), in BOOST_AUTO_TEST_CASE_TEMPLATE()
160 keywords::format = data::default_format().c_str(), in BOOST_AUTO_TEST_CASE_TEMPLATE()
170 keywords::format = data::default_format().c_str(), in BOOST_AUTO_TEST_CASE_TEMPLATE()
182 keywords::format = data::default_format().c_str(), in BOOST_AUTO_TEST_CASE_TEMPLATE()
192 keywords::format = data::default_format().c_str(), in BOOST_AUTO_TEST_CASE_TEMPLATE()
203 keywords::format = data::default_format().c_str(), in BOOST_AUTO_TEST_CASE_TEMPLATE()
214 keywords::format = data::default_format().c_str(), in BOOST_AUTO_TEST_CASE_TEMPLATE()
[all …]
/third_party/python/Lib/distutils/command/
Dbdist.py60 default_format = {'posix': 'gztar', variable in bdist
107 self.formats = [self.default_format[os.name]]
Dbdist_dumb.py47 default_format = { 'posix': 'gztar', variable in bdist_dumb
68 self.format = self.default_format[os.name]
/third_party/gettext/gettext-tools/src/
Dhostname.c99 static enum { default_format, short_format, long_format, ip_format } format; enumerator
142 format = default_format; in main()
332 case default_format: in print_hostname()
/third_party/python/Lib/test/
Dtest_calendar.py111 default_format = dict(year="year", month="month", encoding="ascii") variable
383 format_ = default_format.copy()
925 result_2004_html.format(**default_format).encode('ascii'))
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/
Dascend_helper.cc198 std::string default_format = kOpFormat_DEFAULT; in AddTransOpNodeToGraph() local
200 …std::string input_format = is_insert_input ? default_format : AnfAlgo::GetOutputFormat(node, inser… in AddTransOpNodeToGraph()
201 …string dst_format = is_insert_input ? AnfAlgo::GetInputFormat(node, insert_index) : default_format; in AddTransOpNodeToGraph()
/third_party/python/Lib/logging/
D__init__.py414 default_format = '%(message)s' variable in PercentStyle
420 self._fmt = fmt or self.default_format
429 … raise ValueError("Invalid format '%s' for '%s' style" % (self._fmt, self.default_format[0]))
446 default_format = '{message}' variable in StrFormatStyle
480 default_format = '${message}' variable in StringTemplateStyle
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_format.c2052 SVGA3dSurfaceFormat default_format = in svga_format_is_shareable() local
2056 if (default_format == SVGA3D_FORMAT_INVALID) in svga_format_is_shareable()
2058 if (default_format == sformat) in svga_format_is_shareable()
2076 svga_format_name(default_format), in svga_format_is_shareable()
/third_party/mesa3d/src/amd/vulkan/
Dradv_android.c808 radv_select_android_external_format(const void *next, VkFormat default_format) in radv_select_android_external_format() argument
819 return default_format; in radv_select_android_external_format()
Dradv_private.h2324 VkFormat radv_select_android_external_format(const void *next, VkFormat default_format);
/third_party/gstreamer/gstplugins_bad/ext/dash/
Dgstmpdparser.c1427 static const gchar default_format[] = "%01d"; in gst_mpdparser_build_URL_from_template() local
1453 format = default_format; in gst_mpdparser_build_URL_from_template()
/third_party/python/Doc/whatsnew/
D3.6.rst1014 The ``default_format`` attribute has been removed from
1017 any code relying on the presence of ``default_format`` may
2245 * In :class:`distutils.command.sdist.sdist`, the ``default_format``