Home
last modified time | relevance | path

Searched full:ops (Results 1 – 25 of 8960) sorted by relevance

12345678910>>...359

/third_party/mindspore/mindspore-src/source/docs/api/api_python/
Dmindspore.ops.rst1 mindspore.ops
6 MindSpore中 `mindspore.ops` 接口与上一版本相比,新增、删除和支持平台的变化信息请参考 `mindspore.ops API接口变更 <https://gitee.com/m…
15 :toctree: ops
19 mindspore.ops.adaptive_avg_pool1d
20 mindspore.ops.adaptive_avg_pool2d
21 mindspore.ops.adaptive_avg_pool3d
22 mindspore.ops.adaptive_max_pool1d
23 mindspore.ops.adaptive_max_pool2d
24 mindspore.ops.avg_pool1d
25 mindspore.ops.avg_pool2d
[all …]
Dmindspore.ops.primitive.rst1 mindspore.ops.primitive
16 import mindspore.ops as ops
18 MindSpore中 `mindspore.ops.primitive` 接口与上一版本相比,新增、删除和支持平台的变化信息请参考 `mindspore.ops.primitive API接口变更 …
24 :toctree: ops
28 mindspore.ops.Primitive
29 mindspore.ops.PrimitiveWithCheck
30 mindspore.ops.PrimitiveWithInfer
39 :toctree: ops
43 mindspore.ops.AvgPool
44 mindspore.ops.AvgPool3D
[all …]
Dmindspore.multiprocessing.md24 from mindspore import Tensor, ops
28 y = ops.log(Tensor(2.0))
29 print("ops.log(Tensor(2.0))=", y)
40 ops.log(Tensor(2.0))= 0.6931472
46 from mindspore import Tensor, ops
50 return ops.log(x)
56 print("ops.log(Tensor(2.0))=", outputs)
62 ops.log(Tensor(2.0))= [Tensor(shape=[], dtype=Float32, value= 0.693147), Tensor(shape=[], dtype=Flo…
70 from mindspore import Tensor, ops
75 y = ops.log(Tensor(2.0))
[all …]
/third_party/mindspore/mindspore-src/source/docs/api/api_python_en/
Dmindspore.ops.rst1 mindspore.ops
4 …mic shape support status, please refer to `Dynamic Shape Support Status of ops Interface <https://…
6 …latforms change information of `mindspore.ops` operators in MindSpore, please refer to the link `m…
15 :toctree: ops
19 mindspore.ops.adaptive_avg_pool1d
20 mindspore.ops.adaptive_avg_pool2d
21 mindspore.ops.adaptive_avg_pool3d
22 mindspore.ops.adaptive_max_pool1d
23 mindspore.ops.adaptive_max_pool2d
24 mindspore.ops.avg_pool1d
[all …]
Dmindspore.ops.primitive.rst1 mindspore.ops.primitive
17 import mindspore.ops as ops
19 …rms change information of `mindspore.ops.primitive` operators in MindSpore, please refer to the li…
25 :toctree: ops
29 mindspore.ops.Primitive
30 mindspore.ops.PrimitiveWithCheck
31 mindspore.ops.PrimitiveWithInfer
40 :toctree: ops
44 mindspore.ops.AvgPool
45 mindspore.ops.AvgPool3D
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/common/ops/
Dops_func_declare.h22 #include "ops/auto_generate/gen_lite_ops.h"
23 #include "ops/adam.h"
24 #include "ops/adder.h"
25 #include "ops/all.h"
26 #include "ops/apply_momentum.h"
27 #include "ops/assert.h"
28 #include "ops/attention.h"
29 #include "ops/audio_spectrogram.h"
30 #include "ops/batch_to_space.h"
31 #include "ops/batch_to_space_nd.h"
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/auto_generate/
Dgen_ops_primitive.h22 #include "ops/auto_generate/gen_ops_name.h"
26 GVAR_DEF(PrimitivePtr, kPrimACosGrad, std::make_shared<Primitive>(ops::kNameACosGrad))
27 GVAR_DEF(PrimitivePtr, kPrimAbsGrad, std::make_shared<Primitive>(ops::kNameAbsGrad))
28 GVAR_DEF(PrimitivePtr, kPrimAbs, std::make_shared<Primitive>(ops::kNameAbs))
29 GVAR_DEF(PrimitivePtr, kPrimACos, std::make_shared<Primitive>(ops::kNameACos))
30 GVAR_DEF(PrimitivePtr, kPrimAcoshGrad, std::make_shared<Primitive>(ops::kNameAcoshGrad))
31 GVAR_DEF(PrimitivePtr, kPrimAcosh, std::make_shared<Primitive>(ops::kNameAcosh))
32 GVAR_DEF(PrimitivePtr, kPrimAdamWeightDecay, std::make_shared<Primitive>(ops::kNameAdamWeightDecay))
33 GVAR_DEF(PrimitivePtr, kPrimAdamW, std::make_shared<Primitive>(ops::kNameAdamW))
34 GVAR_DEF(PrimitivePtr, kPrimAddExt, std::make_shared<Primitive>(ops::kNameAddExt))
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/pae/
Dieee802_1x_secy_ops.c30 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_protect_frames() local
37 ops = kay->ctx; in secy_cp_control_protect_frames()
38 if (!ops || !ops->enable_protect_frames) { in secy_cp_control_protect_frames()
44 return ops->enable_protect_frames(ops->ctx, enabled); in secy_cp_control_protect_frames()
50 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_encrypt() local
57 ops = kay->ctx; in secy_cp_control_encrypt()
58 if (!ops || !ops->enable_encrypt) { in secy_cp_control_encrypt()
64 return ops->enable_encrypt(ops->ctx, enabled); in secy_cp_control_encrypt()
70 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_replay() local
77 ops = kay->ctx; in secy_cp_control_replay()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/pae/
Dieee802_1x_secy_ops.c30 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_protect_frames() local
37 ops = kay->ctx; in secy_cp_control_protect_frames()
38 if (!ops || !ops->enable_protect_frames) { in secy_cp_control_protect_frames()
44 return ops->enable_protect_frames(ops->ctx, enabled); in secy_cp_control_protect_frames()
50 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_encrypt() local
57 ops = kay->ctx; in secy_cp_control_encrypt()
58 if (!ops || !ops->enable_encrypt) { in secy_cp_control_encrypt()
64 return ops->enable_encrypt(ops->ctx, enabled); in secy_cp_control_encrypt()
70 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_replay() local
77 ops = kay->ctx; in secy_cp_control_replay()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/cxx_api/kernel_executor/
Dop_converter.cc18 #include "ops/auto_generate/gen_lite_ops.h"
19 #include "ops/fusion/activation.h"
20 #include "ops/fusion/add_fusion.h"
21 #include "ops/fusion/arg_max_fusion.h"
22 #include "ops/fusion/arg_min_fusion.h"
23 #include "ops/fusion/avg_pool_fusion.h"
24 #include "ops/fused_batch_norm.h"
25 #include "ops/fusion/conv2d_fusion.h"
26 #include "ops/fusion/conv2d_transpose_fusion.h"
27 #include "ops/fusion/div_fusion.h"
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/adapter/dpico/common/
Dformat_utils.cc20 #include "ops/auto_generate/gen_lite_ops.h"
21 #include "ops/tuple_get_item.h"
22 #include "ops/depend.h"
23 #include "ops/make_tuple.h"
24 #include "ops/return.h"
25 #include "ops/batch_to_space.h"
26 #include "ops/depth_to_space.h"
27 #include "ops/fused_batch_norm.h"
28 #include "ops/fusion/avg_pool_fusion.h"
29 #include "ops/fusion/conv2d_fusion.h"
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/optimizer/common/
Dformat_utils.cc22 #include "mindspore/core/ops/sequence_ops.h"
23 #include "mindspore/core/ops/image_ops.h"
24 #include "mindspore/core/ops/framework_ops.h"
25 #include "ops/nn_op_name.h"
26 #include "ops/auto_generate/gen_lite_ops.h"
27 #include "ops/adam.h"
28 #include "ops/apply_momentum.h"
29 #include "ops/batch_to_space.h"
30 #include "ops/crop.h"
31 #include "ops/depth_to_space.h"
[all …]
/third_party/mindspore/mindspore-src/source/tests/st/networks/models/fasterrcnn/src/
Dlabel_assignment.py16 from mindspore import ops, nn
54 anchors = ops.concat(anchors, 0)
163 fg_mask = ops.logical_and(match_labels != -1, match_labels != 0) # nonzero
167 fg_sampler = ops.RandomChoiceWithMask(count=fg_num, seed=1, seed2=1)
169 fg_mask = ops.zeros_like(fg_mask)
174 bg_sampler = ops.RandomChoiceWithMask(count=int(rnp_sample_batch), seed=1, seed2=1)
176 bg_mask = ops.zeros_like(bg_mask)
177 bg_mask[bg_idx.reshape(-1)] = ops.logical_and(bg_s_mask, bg_num_mask)
182 fg_mask = ops.logical_and(ops.cumsum(fg_mask.astype(ms.float32), 0) < fg_num, fg_mask)
183 bg_mask = ops.logical_and(ops.cumsum(bg_mask.astype(ms.float32), 0) < bg_num, bg_mask)
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/
DBUILD.gn183 "src/common/ops/populate/activation_grad_populate.cc",
184 "src/common/ops/populate/activation_populate.cc",
185 "src/common/ops/populate/adam_populate.cc",
186 "src/common/ops/populate/add_populate.cc",
187 "src/common/ops/populate/adder_populate.cc",
188 "src/common/ops/populate/affine_populate.cc",
189 "src/common/ops/populate/all_gather.cc",
190 "src/common/ops/populate/argmax_populate.cc",
191 "src/common/ops/populate/argmin_populate.cc",
192 "src/common/ops/populate/arithmetic_populate.cc",
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/import/
Dprimitive_adjust.cc24 #include "mindspore/core/ops/conv_pool_ops.h"
25 #include "ops/nn_op_name.h"
26 #include "ops/op_utils.h"
27 #include "ops/auto_generate/gen_lite_ops.h"
28 #include "ops/fused_batch_norm.h"
29 #include "ops/fusion/conv2d_transpose_fusion.h"
30 #include "ops/fusion/div_fusion.h"
31 #include "ops/fusion/exp_fusion.h"
32 #include "ops/fusion/l2_normalize_fusion.h"
33 #include "ops/fusion/layer_norm_fusion.h"
[all …]
/third_party/skia/src/gpu/
DBUILD.bazel306 "ops/AAConvexPathRenderer.cpp",
307 "ops/AAConvexPathRenderer.h",
308 "ops/AAHairLinePathRenderer.cpp",
309 "ops/AAHairLinePathRenderer.h",
310 "ops/AALinearizingConvexPathRenderer.cpp",
311 "ops/AALinearizingConvexPathRenderer.h",
312 "ops/AtlasInstancedHelper.cpp",
313 "ops/AtlasInstancedHelper.h",
314 "ops/AtlasPathRenderer.cpp",
315 "ops/AtlasPathRenderer.h",
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/common/ops/operator_populate/
Dbase_operator_populate.cc16 #include "src/common/ops/operator_populate/operator_populate_register.h"
27 #include "ops/auto_generate/gen_lite_ops.h"
28 #include "ops/adam.h"
29 #include "ops/assert.h"
30 #include "ops/where.h"
31 #include "ops/unique.h"
32 #include "ops/ops_func_impl/triu.h"
33 #include "ops/tril.h"
34 #include "ops/sparse_to_dense.h"
35 #include "ops/sparse_segment_sum.h"
[all …]
Darithmetic_operator_populate.cc16 #include "src/common/ops/operator_populate/arithmetic_operator_populate.h"
19 #include "ops/auto_generate/gen_lite_ops.h"
20 #include "ops/squared_difference.h"
21 #include "ops/mod.h"
22 #include "ops/fusion/add_fusion.h"
23 #include "ops/fusion/mul_fusion.h"
24 #include "ops/eltwise.h"
25 #include "ops/fusion/div_fusion.h"
26 #include "ops/fusion/sub_fusion.h"
28 using mindspore::ops::kActivationType;
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/composite/multitype_ops/
D__init__.py16 """Multitype ops"""
18 from mindspore.ops.composite.multitype_ops.add_impl import add
19 from mindspore.ops.composite.multitype_ops.sub_impl import sub
20 from mindspore.ops.composite.multitype_ops.mul_impl import mul
21 from mindspore.ops.composite.multitype_ops.div_impl import div
22 from mindspore.ops.composite.multitype_ops.pow_impl import pow_
23 from mindspore.ops.composite.multitype_ops.floordiv_impl import floordiv
24 from mindspore.ops.composite.multitype_ops.mod_impl import mod
25 from mindspore.ops.composite.multitype_ops.getitem_impl import getitem
26 from mindspore.ops.composite.multitype_ops.setitem_impl import setitem
[all …]
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_parser.cpp181 auto *ops = stream(instruction); in parse() local
195 set<SPIRString>(ops[0], extract_string(ir.spirv, instruction.offset + 1)); in parse()
200 ir.addressing_model = static_cast<AddressingModel>(ops[0]); in parse()
201 ir.memory_model = static_cast<MemoryModel>(ops[1]); in parse()
206 auto lang = static_cast<SourceLanguage>(ops[0]); in parse()
211 ir.source.version = ops[1]; in parse()
218 ir.source.version = ops[1]; in parse()
240 uint32_t result_type = ops[0]; in parse()
241 uint32_t id = ops[1]; in parse()
244 current_block->ops.push_back(instruction); in parse()
[all …]
/third_party/rust/rust/tests/ui/range/
Drange_traits-1.stderr1 error[E0277]: can't compare `std::ops::Range<usize>` with `std::ops::Range<usize>`
8 …^^^^^^ no implementation for `std::ops::Range<usize> < std::ops::Range<usize>` and `std::ops::Rang…
10 = help: the trait `PartialOrd` is not implemented for `std::ops::Range<usize>`
13 error[E0277]: can't compare `std::ops::RangeTo<usize>` with `std::ops::RangeTo<usize>`
20 …^^^ no implementation for `std::ops::RangeTo<usize> < std::ops::RangeTo<usize>` and `std::ops::Ran…
22 = help: the trait `PartialOrd` is not implemented for `std::ops::RangeTo<usize>`
25 error[E0277]: can't compare `std::ops::RangeFrom<usize>` with `std::ops::RangeFrom<usize>`
32 … no implementation for `std::ops::RangeFrom<usize> < std::ops::RangeFrom<usize>` and `std::ops::Ra…
34 = help: the trait `PartialOrd` is not implemented for `std::ops::RangeFrom<usize>`
37 error[E0277]: can't compare `std::ops::RangeFull` with `std::ops::RangeFull`
[all …]
/third_party/mindspore/mindspore-src/source/
DRELEASE_CN.md265 - [STABLE] ops.Tril算子支持切分,从而降低对单个device的内存与性能需求。
307 - [BETA] mindspore.ops.TopK当前支持第二个输入k为Int32类型的张量。
500 - [STABLE] 新增算子原语`mindspore.ops.Dense`。
501ops.Multinomial`、`mindspore.ops.MultinomialWithReplacement`、`mindspore.ops.ParameterizedTruncatedN…
636 - 新增算子原语`mindspore.ops.ApplyAdamWithAmsgradV2`,推荐通过接口`mindspore.nn.Adam`调用。
637 - 新增算子原语`mindspore.ops.UpsampleTrilinear3D`,推荐通过接口`mindspore.ops.interpolate`调用。
638 - 新增算子原语`mindspore.ops.UpsampleNearest3D`,推荐通过接口`mindspore.ops.interpolate`调用。
642 - 弃用算子原语`mindspore.ops.ScatterNonAliasingAdd`,推荐使用算子原语`mindspore.ops.TensorScatterAdd`替换。
936 - `mindspore.ops.AdaptiveAvgPool2D` 新增算子原语。
937 - `mindspore.ops.BatchToSpaceNDV2` 新增算子原语。
[all …]
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_fence.c54 * @ops: Pointer to a struct pb_fence_ops.
68 * @ops: Pointer to a struct pb_fence_ops.
72 vmw_fence_ops(struct pb_fence_ops *ops) in vmw_fence_ops() argument
74 assert(ops); in vmw_fence_ops()
75 return (struct vmw_fence_ops *)ops; in vmw_fence_ops()
83 * @ops: Pointer to a struct vmw_fence_ops.
87 vmw_fences_release(struct vmw_fence_ops *ops) in vmw_fences_release() argument
91 mtx_lock(&ops->mutex); in vmw_fences_release()
92 LIST_FOR_EACH_ENTRY_SAFE(fence, n, &ops->not_signaled, ops_list) in vmw_fences_release()
94 mtx_unlock(&ops->mutex); in vmw_fences_release()
[all …]
/third_party/mindspore/mindspore-src/source/tests/st/ms_adapter/_register/
Dutils.py19 from mindspore.ops.operations import _inner_ops as inner
31 def get_registed_fn(ops, *type_names): argument
33 for sigs, fn in ops.entries:
48 def update_multitype_ops_tensor(ops): argument
49 func = get_registed_fn(ops, "Tensor")
51 @ops.register("Tensor")
62 def update_multitype_ops_tensor_tensor(ops): argument
63 func = get_registed_fn(ops, "Tensor", "Tensor")
65 @ops.register("Tensor", "Tensor")
77 def update_multitype_ops_number_tensor(ops): argument
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/parser/pytorch/
Dpytorch_unaryop_parser.cc19 #include "ops/auto_generate/gen_lite_ops.h"
20 #include "ops/fusion/tile_fusion.h"
21 #include "ops/fusion/exp_fusion.h"
22 #include "ops/tan.h"
23 #include "ops/eltwise.h"
38 PytorchNodeRegistrar g_pytorchTileParser("tile", new PytorchUnaryOpParser<ops::TileFusion>());
39 PytorchNodeRegistrar g_pytorchIdentityParser("Identity", new PytorchUnaryOpParser<ops::Identity>());
40 PytorchNodeRegistrar g_pytorchErfParser("erf", new PytorchUnaryOpParser<ops::Erf>());
41 PytorchNodeRegistrar g_pytorchFloorParser("floor", new PytorchUnaryOpParser<ops::Floor>());
42 PytorchNodeRegistrar g_pytorchAbsParser("abs", new PytorchUnaryOpParser<ops::Abs>());
[all …]

12345678910>>...359