Home
last modified time | relevance | path

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

123

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/
Dzeroslike_gpu_kernel.cc22 MS_REG_GPU_KERNEL_ONE(ZerosLike, KernelAttr().AddInputAttr(kNumberTypeBool).AddOutputAttr(kNumberTy…
25 MS_REG_GPU_KERNEL_ONE(ZerosLike, KernelAttr().AddInputAttr(kNumberTypeInt8).AddOutputAttr(kNumberTy…
28 MS_REG_GPU_KERNEL_ONE(ZerosLike, KernelAttr().AddInputAttr(kNumberTypeUInt8).AddOutputAttr(kNumberT…
31 MS_REG_GPU_KERNEL_ONE(ZerosLike, KernelAttr().AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNumberT…
34 MS_REG_GPU_KERNEL_ONE(ZerosLike, KernelAttr().AddInputAttr(kNumberTypeFloat16).AddOutputAttr(kNumbe…
37 MS_REG_GPU_KERNEL_ONE(ZerosLike, KernelAttr().AddInputAttr(kNumberTypeFloat32).AddOutputAttr(kNumbe…
40 MS_REG_GPU_KERNEL_ONE(ZerosLike, KernelAttr().AddInputAttr(kNumberTypeFloat64).AddOutputAttr(kNumbe…
/third_party/mindspore/mindspore/core/ops/
Dzeros_like.h29 class MS_CORE_API ZerosLike : public PrimitiveC {
32 ZerosLike() : PrimitiveC(prim::kPrimZerosLike->name()) { InitIOName({"x"}, {"y"}); } in ZerosLike() function
34 ~ZerosLike() = default;
35 MS_DECLARE_PARENT(ZerosLike, PrimitiveC);
41 using PrimZerosLikePtr = std::shared_ptr<ZerosLike>;
Dzeros_like.cc52 REGISTER_PRIMITIVE_EVAL_IMPL(ZerosLike, prim::kPrimZerosLike, ZerosLikeInfer, nullptr, true);
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_zeros_like_parser.cc32 auto prim = std::make_unique<ops::ZerosLike>(); in Parse()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/
Dtf_zeros_like_parser.cc29 auto prim = std::make_unique<ops::ZerosLike>(); in Parse()
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/op_declare/
Delewise_calculation_ops_declare.h54 DECLARE_OP_ADAPTER(ZerosLike)
55 DECLARE_OP_USE_OUTPUT(ZerosLike)
Delewise_calculation_ops_declare.cc287 INPUT_MAP(ZerosLike) = {{1, INPUT_DESC(x)}};
288 ATTR_MAP(ZerosLike) = EMPTY_ATTR_MAP;
289 OUTPUT_MAP(ZerosLike) = {{0, OUTPUT_DESC(y)}};
290 REG_ADPT_DESC(ZerosLike, kNameZerosLike, ADPT_DESC(ZerosLike))
/third_party/mindspore/mindspore/nn/probability/infer/variational/
Delbo.py55 self.zeros = P.ZerosLike()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Darithmetic_self_cpu_kernel.h68 MS_REG_CPU_KERNEL(ZerosLike, KernelAttr().AddInputAttr(kNumberTypeFloat32).AddOutputAttr(kNumberTyp…
70 MS_REG_CPU_KERNEL(ZerosLike, KernelAttr().AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNumberTypeI…
Darithmetic_self_cpu_kernel.cc91 void ZerosLike(const T *, T *out, size_t size) { in ZerosLike() function
327 {prim::kPrimZerosLike->name(), ZerosLike<T>}, in LaunchKernel()
/third_party/mindspore/tests/st/ops/cpu/
Dtest_zeroslike_op.py28 self.zeros_like = P.ZerosLike()
/third_party/mindspore/tests/st/ops/gpu/
Dtest_zeroslike_op.py28 self.zeros_like = P.ZerosLike()
81 self.zeros_like = P.ZerosLike()
/third_party/mindspore/mindspore/boost/
Dgrad_accumulation.py41 zero_grad = P.ZerosLike()(cumulative_grad)
/third_party/mindspore/mindspore/ops/bprop_mindir/
Dgenerate_mindir.py25 serializable_bprop_ops = [P.ReLU(), P.Identity(), inner.Range(1.0), P.OnesLike(), P.ZerosLike(), P.…
/third_party/mindspore/tests/st/armour/
Dtest_inversion_attack_grad.py56 self._zeros = P.ZerosLike()
/third_party/mindspore/mindspore/lite/schema/
Dmodel_v0.fbs136 ZerosLike,
/third_party/mindspore/mindspore/lite/examples/export_models/models/
Dtinybert_train_export.py65 self.zeroslike = P.ZerosLike()
/third_party/mindspore/mindspore/lite/src/ops/
Dops_func_declare.h437 FUNC_MSOP2SCHEMAOP_DECLARE(ZerosLike)
Dops_def.cc188 OP_TYPE(ZerosLike)
1039 OP_SCHEMA_DEF(ZerosLike)
1040 OP_SCHEMA_DEF_END(ZerosLike)
/third_party/mindspore/tests/st/probability/dpn/
Dtest_gpu_vae_gan.py113 self.zeros = ops.ZerosLike()
/third_party/mindspore/tests/ut/python/optimizer/
Dtest_auto_grad.py500 self.zeros_like = P.ZerosLike()
531 self.zeros_like = P.ZerosLike()
562 self.zeros_like = P.ZerosLike()
/third_party/mindspore/mindspore/ops/operations/
D__init__.py26 IsInstance, IsSubClass, ArgMaxWithValue, OnesLike, ZerosLike,
/third_party/mindspore/mindspore/nn/probability/distribution/
Duniform.py169 self.zeroslike = P.ZerosLike()
/third_party/mindspore/mindspore/ops/composite/
Dbase.py690 zeros_like = P.ZerosLike()
/third_party/mindspore/tests/vm_impl/
Darray_ops_vm_impl.py301 @vm_impl_getters.register(P.ZerosLike)

123