Home
last modified time | relevance | path

Searched refs:init_value (Results 1 – 25 of 51) sorted by relevance

123

/third_party/boost/boost/math/tools/
Dseries.hpp24 …(Functor& func, const U& factor, boost::uintmax_t& max_terms, const V& init_value) BOOST_NOEXCEPT_… in sum_series() argument
32 result_type result = init_value; in sum_series()
49 typename Functor::result_type init_value = 0; in sum_series() local
50 return sum_series(func, factor, max_terms, init_value); in sum_series()
54 …_series(Functor& func, int bits, boost::uintmax_t& max_terms, const U& init_value) BOOST_NOEXCEPT_… in sum_series() argument
59 return sum_series(func, factor, max_terms, init_value); in sum_series()
82 inline typename Functor::result_type sum_series(Functor& func, int bits, const U& init_value) BOOST… in sum_series() argument
86 return sum_series(func, bits, iters, init_value); in sum_series()
92 …(Functor& func, const U& factor, boost::uintmax_t& max_terms, const V& init_value, V& norm) BOOST_… in checked_sum_series() argument
100 result_type result = init_value; in checked_sum_series()
/third_party/boost/boost/test/utils/
Dclass_properties.hpp54 explicit class_property( write_param_t init_value ) in class_property() argument
55 : value( init_value ) {} in class_property()
131 explicit readonly_property( write_param_t init_value ) : base_prop( init_value ) {} in readonly_property() argument
174 explicit readwrite_property( write_param_t init_value ) : base_prop( init_value ) {} in readwrite_property() argument
/third_party/boost/libs/test/example/
Dunit_test_example_10.cpp51 account_test( double init_value ) { m_account.deposit( init_value ); } in account_test()
134 account_test_suite( double init_value ) : test_suite("account_test_suite") { in account_test_suite()
136 boost::shared_ptr<account_test> instance( new account_test( init_value ) ); in account_test_suite()
/third_party/spirv-tools/source/opt/
Dloop_descriptor.cpp723 int64_t init_value = 0; in FindNumberOfIterations() local
724 if (!GetInductionInitValue(induction, &init_value)) return false; in FindNumberOfIterations()
728 init_value, step_value); in FindNumberOfIterations()
745 *init_value_out = init_value; in FindNumberOfIterations()
756 int64_t init_value, int64_t step_value) const { in GetIterations() argument
763 if (!(init_value < condition_value)) return 0; in GetIterations()
765 diff = condition_value - init_value; in GetIterations()
779 if (!(init_value > condition_value)) return 0; in GetIterations()
781 diff = init_value - condition_value; in GetIterations()
796 if (!(init_value >= condition_value)) return 0; in GetIterations()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dloop_descriptor.cpp723 int64_t init_value = 0; in FindNumberOfIterations() local
724 if (!GetInductionInitValue(induction, &init_value)) return false; in FindNumberOfIterations()
728 init_value, step_value); in FindNumberOfIterations()
745 *init_value_out = init_value; in FindNumberOfIterations()
756 int64_t init_value, int64_t step_value) const { in GetIterations() argument
763 if (!(init_value < condition_value)) return 0; in GetIterations()
765 diff = condition_value - init_value; in GetIterations()
779 if (!(init_value > condition_value)) return 0; in GetIterations()
781 diff = init_value - condition_value; in GetIterations()
796 if (!(init_value >= condition_value)) return 0; in GetIterations()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_descriptor.cpp723 int64_t init_value = 0; in FindNumberOfIterations() local
724 if (!GetInductionInitValue(induction, &init_value)) return false; in FindNumberOfIterations()
728 init_value, step_value); in FindNumberOfIterations()
745 *init_value_out = init_value; in FindNumberOfIterations()
756 int64_t init_value, int64_t step_value) const { in GetIterations() argument
763 if (!(init_value < condition_value)) return 0; in GetIterations()
765 diff = condition_value - init_value; in GetIterations()
779 if (!(init_value > condition_value)) return 0; in GetIterations()
781 diff = init_value - condition_value; in GetIterations()
796 if (!(init_value >= condition_value)) return 0; in GetIterations()
[all …]
/third_party/mindspore/mindspore/ops/_op_impl/_custom_op/
Dtranspose02314_impl.py112 zero = tik_instance.Scalar(dtype="float16", init_value=0)
127 zero = tik_instance.Scalar(dtype="float16", init_value=0)
155 zero = tik_instance.Scalar(dtype="float16", init_value=0)
175 zero = tik_instance.Scalar(dtype="float16", init_value=0)
195 zero = tik_instance.Scalar(dtype="float16", init_value=0)
215 zero = tik_instance.Scalar(dtype="float16", init_value=0)
235 zero = tik_instance.Scalar(dtype="float16", init_value=0)
264 zero = tik_instance.Scalar(dtype="float16", init_value=0)
Dmatmul_dds_impl.py329 init_value=0)
343 init_value=0)
347 init_value=0)
360 init_value=0)
466 init_value=0)
/third_party/mindspore/tests/ut/python/parallel/
Dtest_auto_parallel_resnet_sharding_propagation2.py48 init_value = weight_variable()
50 … kernel_size=3, stride=stride, padding=padding, pad_mode=pad_mode, weight_init=init_value)
55 init_value = weight_variable()
57 … kernel_size=1, stride=stride, padding=padding, pad_mode=pad_mode, weight_init=init_value)
62 init_value = weight_variable()
64 … kernel_size=7, stride=stride, padding=padding, pad_mode=pad_mode, weight_init=init_value)
Dtest_auto_parallel_resnet_sharding_propagation.py49 init_value = weight_variable()
51 … kernel_size=3, stride=stride, padding=padding, pad_mode=pad_mode, weight_init=init_value)
56 init_value = weight_variable()
58 … kernel_size=1, stride=stride, padding=padding, pad_mode=pad_mode, weight_init=init_value)
63 init_value = weight_variable()
65 … kernel_size=7, stride=stride, padding=padding, pad_mode=pad_mode, weight_init=init_value)
Dtest_auto_parallel_resnet.py48 init_value = weight_variable()
50 … kernel_size=3, stride=stride, padding=padding, pad_mode=pad_mode, weight_init=init_value)
55 init_value = weight_variable()
57 … kernel_size=1, stride=stride, padding=padding, pad_mode=pad_mode, weight_init=init_value)
62 init_value = weight_variable()
64 … kernel_size=7, stride=stride, padding=padding, pad_mode=pad_mode, weight_init=init_value)
/third_party/mindspore/tests/st/auto_parallel/
Dresnet50_expand_loss.py46 init_value = weight_variable()
48 … kernel_size=3, stride=stride, padding=padding, pad_mode=pad_mode, weight_init=init_value)
52 init_value = weight_variable()
54 … kernel_size=1, stride=stride, padding=padding, pad_mode=pad_mode, weight_init=init_value)
58 init_value = weight_variable()
60 … kernel_size=7, stride=stride, padding=padding, pad_mode=pad_mode, weight_init=init_value)
/third_party/boost/libs/math/doc/internals/
Dseries.qbk12 …pe sum_series(Functor& func, const U& tolerance, boost::uintmax_t& max_terms, const V& init_value);
27 typename Functor::result_type sum_series(Functor& func, int bits, U init_value);
30 …unctor::result_type sum_series(Functor& func, int bits, boost::uintmax_t& max_terms, U init_value);
61 The final optional argument /init_value/ is the initial value of the sum
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-iter.hh479 hb_reduce_t (Redu r, InitT init_value) : r (r), init_value (init_value) {} in hb_reduce_t()
487 AccuT value = init_value; in operator ()()
495 InitT init_value; member
501 operator () (Redu&& r, InitT init_value) const in operator ()()
502 { return hb_reduce_t<Redu, InitT> (r, init_value); } in operator ()()
/third_party/boost/boost/math/special_functions/
Dgamma.hpp339 inline T lower_gamma_series(T a, T z, const Policy& pol, T init_value = 0) in lower_gamma_series() argument
347 T result = boost::math::tools::sum_series(s, factor, max_iter, init_value); in lower_gamma_series()
1017 T init_value = invert ? *pgam : 0; in tgamma_small_upper_part() local
1018 …um_series(s, boost::math::policies::get_epsilon<T, Policy>(), max_iter, (init_value - result) / p); in tgamma_small_upper_part()
1165 T init_value = 0; in gamma_incomplete_imp() local
1166 result += log(detail::lower_gamma_series(a, x, pol, init_value) / a); in gamma_incomplete_imp()
1189 T init_value = 0; in gamma_incomplete_imp() local
1190 result += log(detail::lower_gamma_series(a, x, pol, init_value) / a); in gamma_incomplete_imp()
1367 T init_value = 0; in gamma_incomplete_imp() local
1371 init_value = (normalised ? 1 : boost::math::tgamma(a, pol)); in gamma_incomplete_imp()
[all …]
/third_party/harfbuzz/src/
Dhb-iter.hh488 hb_reduce_t (Redu r, InitT init_value) : r (r), init_value (init_value) {} in hb_reduce_t()
496 AccuT value = init_value; in operator ()()
504 InitT init_value; member
510 operator () (Redu&& r, InitT init_value) const in operator ()()
511 { return hb_reduce_t<Redu, InitT> (r, init_value); } in operator ()()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-iter.hh488 hb_reduce_t (Redu r, InitT init_value) : r (r), init_value (init_value) {} in hb_reduce_t()
496 AccuT value = init_value; in operator ()()
504 InitT init_value; member
510 operator () (Redu&& r, InitT init_value) const in operator ()()
511 { return hb_reduce_t<Redu, InitT> (r, init_value); } in operator ()()
/third_party/mindspore/tests/st/model_zoo_tests/yolov3/
Dtest_yolov3.py53 def init_net_param(network, init_value='ones'): argument
58 p.set_data(initializer(init_value, p.data.shape, p.data.dtype))
/third_party/pcre2/pcre2/src/sljit/
DsljitNativePPC_64.c480 …IT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw init_value) in emit_const() argument
482 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(init_value >> 48))); in emit_const()
483 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value >> 32))); in emit_const()
485 FAIL_IF(push_inst(compiler, ORIS | S(reg) | A(reg) | IMM(init_value >> 16))); in emit_const()
486 return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value)); in emit_const()
DsljitNativePPC_32.c258 …IT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw init_value) in emit_const() argument
260 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(init_value >> 16))); in emit_const()
261 return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value)); in emit_const()
DsljitNativeSPARC_32.c263 …IT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw init_value) in emit_const() argument
265 FAIL_IF(push_inst(compiler, SETHI | D(dst) | ((init_value >> 10) & 0x3fffff), DR(dst))); in emit_const()
266 return push_inst(compiler, OR | D(dst) | S1(dst) | IMM_ARG | (init_value & 0x3ff), DR(dst)); in emit_const()
/third_party/mindspore/tests/ut/python/model/
Dresnet.py23 init_value = np.random.randn(*shape).astype(np.float32) * factor
24 return Tensor(init_value)
/third_party/mindspore/tests/st/networks/models/resnet50/src/
Dresnet.py23 init_value = np.random.randn(*shape).astype(np.float32) * factor
24 return Tensor(init_value)
/third_party/mindspore/tests/st/ps/multi_full_ps/
Dresnet.py23 init_value = np.random.randn(*shape).astype(np.float32) * factor
24 return Tensor(init_value)
/third_party/mindspore/tests/st/model_zoo_tests/yolov3_darknet53/
Dtest_yolov3_darknet53.py56 def init_net_param(network, init_value='ones'): argument
61 p.set_parameter_data(initializer(init_value, p.data.shape, p.data.dtype))

123