Home
last modified time | relevance | path

Searched full:steps (Results 1 – 25 of 3080) sorted by relevance

12345678910>>...124

/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/kernel/cuda_impl/cuda_ops/
Dlogspace_impl.cu22 __global__ void LogSpaceKernel(const T *start, const T *end, const int64_t steps, const size_t base… in LogSpaceKernel() argument
23 for (size_t i = blockIdx.x * blockDim.x + threadIdx.x; i < steps; i += gridDim.x * blockDim.x) { in LogSpaceKernel()
24 T add = (end[0] - start[0]) / (static_cast<T>(steps == 1 ? steps : steps - 1)); in LogSpaceKernel()
31 __global__ void LogSpaceKernel(const half *start, const half *end, const int64_t steps, const size_… in LogSpaceKernel() argument
33 for (size_t i = blockIdx.x * blockDim.x + threadIdx.x; i < steps; i += gridDim.x * blockDim.x) { in LogSpaceKernel()
35 … add = (__half2float(end[0]) - start_float) / (static_cast<float>(steps == 1 ? steps : steps - 1)); in LogSpaceKernel()
42 cudaError_t CalLogSpace(const T *start, const T *end, const int64_t steps, const size_t base, T *ou… in CalLogSpace() argument
44 …LogSpaceKernel<<<CUDA_BLOCKS(device_id, steps), CUDA_THREADS(device_id), 0, cuda_stream>>>(start, … in CalLogSpace()
49 …A_LIB_EXPORT cudaError_t CalLogSpace<half>(const half *start, const half *end, const int64_t steps,
53 …IB_EXPORT cudaError_t CalLogSpace<float>(const float *start, const float *end, const int64_t steps,
[all …]
/third_party/fsverity-utils/.github/workflows/
Dci.yml15 steps:
22 steps:
29 steps:
36 steps:
43 steps:
50 steps:
57 steps:
64 steps:
75 steps:
87 steps:
[all …]
/third_party/astc-encoder/jenkins/
Dnightly.Jenkinsfile62 steps {
71 steps {
81 steps {
91 steps {
98 steps {
121 steps {
126 steps {
137 steps {
148 steps {
155 steps {
[all …]
Drelease.Jenkinsfile61 steps {
66 steps {
126 steps {
131 steps {
142 steps {
153 steps {
161 steps {
177 steps {
182 steps {
195 steps {
[all …]
/third_party/python/Lib/
Dpipes.py8 conversion involves several steps (e.g. piping it through compress or
9 uuencode). Some of the conversion steps may require that their input
15 more conversion steps together. It will take care of creating and
22 different conversion steps and store them in a dictionary, for
95 return '<Template instance, steps=%r>' % (self.steps,)
99 self.steps = []
105 t.steps = self.steps[:]
121 if self.steps and self.steps[-1][1] == SINK:
127 self.steps.append((cmd, kind))
137 if self.steps and self.steps[0][1] == SOURCE:
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_func_impl/
Dlin_space_ext.cc34 int64_t steps = steps_opt.value(); in InferShape() local
35 MS_CHECK_VALUE(steps > 0, in InferShape()
36 … CheckAndConvertUtils::FormatCheckIntegerMsg("steps", steps, kGreaterThan, 0, primitive)); in InferShape()
37 ShapeVector infered_shape{steps}; in InferShape()
59 int64_t steps = steps_value.value(); in InferShape() local
60 MS_CHECK_VALUE(steps > 0, in InferShape()
61 … CheckAndConvertUtils::FormatCheckIntegerMsg("steps", steps, kGreaterThan, 0, primitive)); in InferShape()
62 ShapeVector infered_shape{steps}; in InferShape()
85 int64_t steps = steps_value.value(); in InferShape() local
86 …MS_CHECK_VALUE(steps > 0, CheckAndConvertUtils::FormatCheckIntegerMsg("steps", steps, kGreaterThan… in InferShape()
[all …]
/third_party/skia/site/docs/user/
Dcolor.md22 All color managed drawing is divided into six parts, three steps connecting the
23 source colors to that XYZ D50 space, then three symmetric steps connecting back
24 from XYZ D50 to the destination color space. Some of these steps can
27 the same. Here are the steps:
29 Color management steps
42 type called SkColorSpaceXformSteps. You'll see it as 5 steps there: we always
48 Whenever we're about to do some drawing we look at which of those steps we
66 whichever lets us skip more steps.
70 with that same color space, we'll notice we can skip all six steps. Sometimes
71 fewer steps are needed, sometimes more. In general if you need to do a gamut
[all …]
/third_party/skia/m133/site/docs/user/
Dcolor.md22 All color managed drawing is divided into six parts, three steps connecting the
23 source colors to that XYZ D50 space, then three symmetric steps connecting back
24 from XYZ D50 to the destination color space. Some of these steps can
27 the same. Here are the steps:
29 Color management steps
42 type called SkColorSpaceXformSteps. You'll see it as 5 steps there: we always
48 Whenever we're about to do some drawing we look at which of those steps we
66 whichever lets us skip more steps.
70 with that same color space, we'll notice we can skip all six steps. Sometimes
71 fewer steps are needed, sometimes more. In general if you need to do a gamut
[all …]
/third_party/mindspore/mindspore-src/source/docs/api/api_python/ops/
Dmindspore.ops.func_logspace.rst4 .. py:function:: mindspore.ops.logspace(start, end, steps, base=10, *, dtype=mstype.float32)
6 返回一个大小为 `steps` 的1-D Tensor,其值从 :math:`base^{start}` 到 :math:`base^{end}` ,以 `base` 为底数。
10 &step = (end - start)/(steps - 1)\\
11 …&output = [base^{start}, base^{start + 1 * step}, ... , base^{start + (steps-2) * step}, base^{end…
17 - **steps** (int) - `steps` 必须为非负整数。
27 - **TypeError** - 若 `steps` 不是一个整数。
29 - **ValueError** - 若 `steps` 不是非负整数。
Dmindspore.ops.LogSpace.rst4 .. py:class:: mindspore.ops.LogSpace(steps=10, base=10, dtype=mstype.float32)
6 返回一个大小为 `steps` 的1-D Tensor,其值从 :math:`base^{start}` 到 :math:`base^{end}` ,以 `base` 为底数。
10 &step = (end - start)/(steps - 1)\\
11 …&output = [base^{start}, base^{start + 1 * step}, ... , base^{start + (steps-2) * step}, base^{end…
18 - **steps** (int,可选) - `steps` 必须为非负整数。默认值: ``10`` 。
31 - **TypeError** - 若 `steps` 不是一个整数。
34 - **ValueError** - 若 `steps` 不是非负整数。
Dmindspore.ops.func_linspace.rst4 .. py:function:: mindspore.ops.linspace(start, end, steps)
6 返回一个在区间 `start` 和 `end` (包括 `start` 和 `end` )内均匀分布的,包含 `steps` 个值的一维Tensor。
10 &step = (end - start)/(steps - 1)\\
17 - **steps** (Union[Tensor, int]) - 间隔中的包含的数值数量,包括区间端点。必须为正数。
20 Tensor,具有与 `start` 相同的dtype,shape为 :math:`(steps)` 。
26 - **TypeError** - `steps` 不是int类型。
27 - **ValueError** - `steps` 不是正数。
/third_party/skia/src/gpu/
DGrColorSpaceXform.h24 GrColorSpaceXform(const SkColorSpaceXformSteps& steps) : fSteps(steps) {} in GrColorSpaceXform() argument
31 const SkColorSpaceXformSteps& steps() const { return fSteps; } in steps() function
38 // Code generation depends on which steps we apply, in XformKey()
42 const SkColorSpaceXformSteps& steps(xform->fSteps); in XformKey()
43 uint32_t key = steps.flags.mask(); in XformKey()
44 if (steps.flags.linearize) { in XformKey()
45 key |= classify_transfer_fn(steps.srcTF) << 8; in XformKey()
47 if (steps.flags.encode) { in XformKey()
48 key |= classify_transfer_fn(steps.dstTFInv) << 16; in XformKey()
/third_party/rust/crates/serde/.github/workflows/
Dci.yml20 steps:
29 steps:
42 steps:
58 steps:
82 steps:
95 steps:
106 steps:
115 steps:
127 steps:
140 steps:
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/parser/onnx/
Donnx_slice_parser.cc41 std::vector<int32_t> steps; in Parse() local
63 } else if (attribute_name == "steps") { in Parse()
65 steps.clear(); in Parse()
67 steps.push_back(static_cast<int>(std::min(onnx_node_attr.ints()[i], int_32_max))); in Parse()
78 } else if (!steps.empty()) { in Parse()
79 size = static_cast<int>(steps.size()); in Parse()
89 if (steps.empty()) { in Parse()
90 steps.assign(starts.size(), 1); in Parse()
96 (void)prim_c->AddAttr("steps", MakeValue(steps)); in Parse()
/third_party/skia/m133/third_party/externals/harfbuzz/.circleci/
Dconfig.yml19 steps:
32 steps:
44 steps:
54 steps:
65 steps:
79 steps:
94 steps:
109 steps:
125 steps:
133 steps:
[all …]
/third_party/skia/third_party/externals/harfbuzz/.circleci/
Dconfig.yml19 steps:
32 steps:
47 steps:
57 steps:
68 steps:
79 steps:
94 steps:
105 steps:
116 steps:
128 steps:
[all …]
/third_party/rust/rust/compiler/rustc_hir_typeck/src/
Dautoderef.rs26 /// Returns the adjustment steps.
36 let steps = autoderef.steps(); in adjust_steps_as_infer_ok() localVariable
38 steps.iter().skip(1).map(|&(ty, _)| ty).chain(iter::once(autoderef.final_ty(false))); in adjust_steps_as_infer_ok()
39 let steps: Vec<_> = steps in adjust_steps_as_infer_ok() localVariable
61 InferOk { obligations, value: steps } in adjust_steps_as_infer_ok()
/third_party/skia/experimental/graphite/src/
DRenderer.h50 // - Does Renderer make RenderStepFactories that create steps for each DrawList::Draw?
53 // - Does each DrawList::Draw have extra space (e.g. 8 bytes) that steps can cache data in?
69 * determination of the DisjointStencilIndex for each draw so that stencil steps are not corrupted
71 * for each draw to ensure steps are not re-arranged in a way that violates the original draw order.
75 * possible for certain types of steps, e.g. a bounding box cover, to be re-used across different
76 * Renderers even if the preceeding steps were different.
90 // The maximum number of render steps that any Renderer is allowed to have.
93 SkSpan<const RenderStep* const> steps() const { in steps() function
103 // max render steps is 4, so just spell the options out for now...
118 Renderer(const char* name, std::array<const RenderStep*, N> steps) in Renderer() argument
[all …]
/third_party/skia/src/core/
DSkConvertPixels.cpp19 const SkColorSpaceXformSteps& steps) { in rect_memcpy() argument
25 && steps.flags.mask() != 0b00000) { in rect_memcpy()
36 const SkColorSpaceXformSteps& steps) { in swizzle_or_premul() argument
42 steps.flags.linearize || in swizzle_or_premul()
43 steps.flags.gamut_transform || in swizzle_or_premul()
44 steps.flags.unpremul || in swizzle_or_premul()
45 steps.flags.encode) { in swizzle_or_premul()
53 if (steps.flags.premul) { in swizzle_or_premul()
208 const SkColorSpaceXformSteps& steps) { in convert_with_pipeline() argument
214 steps.apply(&pipeline); in convert_with_pipeline()
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/
DAMD_shader_atomic_counter_ops.txt81 … These two steps are done atomically with respect to the atomic
89 … These two steps are done atomically with respect to the atomic
95 …) These two steps are done atomically with respect to the atom…
101 …) These two steps are done atomically with respect to the atom…
109 … These two steps are done atomically with respect to the atomic
116 … These two steps are done atomically with respect to the atomic
123 … These two steps are done atomically with respect to the atomic
130 … These two steps are done atomically with respect to the atomic
137 … These two steps are done atomically with respect to the atomic
144 … These two steps are done atomically with respect to the atomic
[all …]
/third_party/openGLES/extensions/AMD/
DAMD_shader_atomic_counter_ops.txt81 … These two steps are done atomically with respect to the atomic
89 … These two steps are done atomically with respect to the atomic
95 …) These two steps are done atomically with respect to the atom…
101 …) These two steps are done atomically with respect to the atom…
109 … These two steps are done atomically with respect to the atomic
116 … These two steps are done atomically with respect to the atomic
123 … These two steps are done atomically with respect to the atomic
130 … These two steps are done atomically with respect to the atomic
137 … These two steps are done atomically with respect to the atomic
144 … These two steps are done atomically with respect to the atomic
[all …]
/third_party/ffmpeg/tests/checkasm/
Dvf_gblur.c39 int steps = 2; in check_horiz_slice() local
43 … declare_func(void, float *dst, int w, int h, int steps, float nu, float bscale, float *localbuf); in check_horiz_slice()
44 call_ref(dst_ref, WIDTH, HEIGHT, steps, nu, bscale, localbuf); in check_horiz_slice()
45 call_new(dst_new, WIDTH, HEIGHT, steps, nu, bscale, localbuf); in check_horiz_slice()
54 int steps = 2; in check_verti_slice() local
59 int column_end, int steps, float nu, float bscale); in check_verti_slice()
60 call_ref(dst_ref, WIDTH, HEIGHT, 0, WIDTH, steps, nu, bscale); in check_verti_slice()
61 call_new(dst_new, WIDTH, HEIGHT, 0, WIDTH, steps, nu, bscale); in check_verti_slice()
/third_party/rust/crates/proc-macro2/.github/workflows/
Dci.yml29 steps:
53 steps:
93 steps:
109 steps:
132 steps:
144 steps:
158 steps:
181 steps:
194 steps:
208 steps:
[all …]
/third_party/skia/m133/src/core/
DSkConvertPixels.cpp30 const SkColorSpaceXformSteps& steps) { in rect_memcpy() argument
36 && steps.flags.mask() != 0b00000) { in rect_memcpy()
47 const SkColorSpaceXformSteps& steps) { in swizzle_or_premul() argument
53 steps.flags.linearize || in swizzle_or_premul()
54 steps.flags.gamut_transform || in swizzle_or_premul()
56 steps.flags.unpremul || in swizzle_or_premul()
58 steps.flags.encode) { in swizzle_or_premul()
66 if (steps.flags.premul) { in swizzle_or_premul()
69 } else if (steps.flags.unpremul) { in swizzle_or_premul()
249 const SkColorSpaceXformSteps& steps) { in convert_with_pipeline() argument
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_gblur.c45 …{ "steps", "set number of steps", OFFSET(steps), AV_OPT_TYPE_INT, {.i64=1}, 1, 6, FLAG…
67 const int steps = s->steps; in filter_horizontally() local
76 steps, nu, boundaryscale, localbuf); in filter_horizontally()
90 const int steps = s->steps; in filter_vertically() local
95 steps, nu, boundaryscale); in filter_vertically()
128 if (s->sigma <= 0 || s->steps < 0) in gaussianiir2d()
201 static void set_params(float sigma, int steps, float *postscale, float *boundaryscale, float *nu) in set_params() argument
205 lambda = (sigma * sigma) / (2.0 * steps); in set_params()
207 *postscale = pow(dnu / lambda, steps); in set_params()
220 set_params(s->sigma, s->steps, &s->postscale, &s->boundaryscale, &s->nu); in filter_frame()
[all …]

12345678910>>...124