Home
last modified time | relevance | path

Searched refs:Pad (Results 1 – 25 of 165) sorted by relevance

1234567

/third_party/mindspore/mindspore/core/ops/
Dpad.h31 class MS_CORE_API Pad : public PrimitiveC {
34 Pad() : PrimitiveC(kNamePad) { InitIOName({"x"}, {"y"}); } in Pad() function
35 explicit Pad(const std::string k_name) : PrimitiveC(k_name) { InitIOName({"x"}, {"y"}); } in Pad() function
37 ~Pad() = default;
38 MS_DECLARE_PARENT(Pad, PrimitiveC);
50 using PrimPadPtr = std::shared_ptr<Pad>;
Dpad.cc56 void Pad::Init(const std::vector<std::vector<int64_t>> &paddings) { this->set_paddings(paddings); } in Init()
57 void Pad::set_paddings(const std::vector<std::vector<int64_t>> &paddings) { in set_paddings()
60 std::vector<std::vector<int64_t>> Pad::get_paddings() const { in get_paddings()
68 REGISTER_PRIMITIVE_C(kNamePad, Pad);
/third_party/mindspore/tests/st/ops/gpu/
Dtest_pad.py41 pad_op = nn.Pad(mode='CONSTANT', paddings=((1, 1), (1, 1)))
50 pad_op = nn.Pad(mode='CONSTANT', paddings=((1, 1), (1, 1)))
69 pad_op_row_1 = nn.Pad(mode='CONSTANT', paddings=test_paddings_1)
70 pad_op_row_2 = nn.Pad(mode='CONSTANT', paddings=test_paddings_2)
100 pad_op_col_1 = nn.Pad(mode='CONSTANT', paddings=test_paddings_1)
101 pad_op_col_2 = nn.Pad(mode='CONSTANT', paddings=test_paddings_2)
129 pad_op_3d = nn.Pad(mode='CONSTANT', paddings=test_paddings)
138 pad_op_3d = nn.Pad(mode='CONSTANT', paddings=test_paddings)
147 pad_op_3d = nn.Pad(mode='CONSTANT', paddings=test_paddings)
168 self.pad = nn.Pad(mode="CONSTANT", paddings=(
[all …]
Dtest_mirror_pad.py42 reflectOp = nn.Pad(mode='REFLECT', paddings=test_1_paddings)
43 symmOp = nn.Pad(mode='SYMMETRIC', paddings=test_2_paddings)
69 self.pad = nn.Pad(mode=mode_, paddings=pads)
102 op = nn.Pad(mode="REFLECT", paddings=pads)
143 op = nn.Pad(mode="SYMMETRIC", paddings=pads)
/third_party/mindspore/tests/st/ops/cpu/
Dtest_pad.py41 pad_op = nn.Pad(mode='CONSTANT', paddings=((1, 1), (1, 1)))
50 pad_op = nn.Pad(mode='CONSTANT', paddings=((1, 1), (1, 1)))
69 pad_op_row_1 = nn.Pad(mode='CONSTANT', paddings=test_paddings_1)
70 pad_op_row_2 = nn.Pad(mode='CONSTANT', paddings=test_paddings_2)
100 pad_op_col_1 = nn.Pad(mode='CONSTANT', paddings=test_paddings_1)
101 pad_op_col_2 = nn.Pad(mode='CONSTANT', paddings=test_paddings_2)
129 pad_op_3d = nn.Pad(mode='CONSTANT', paddings=test_paddings)
138 pad_op_3d = nn.Pad(mode='CONSTANT', paddings=test_paddings)
147 pad_op_3d = nn.Pad(mode='CONSTANT', paddings=test_paddings)
168 self.pad = nn.Pad(mode="CONSTANT", paddings=(
[all …]
Dtest_mirror_pad.py42 reflectOp = nn.Pad(mode='REFLECT', paddings=test_1_paddings)
43 symmOp = nn.Pad(mode='SYMMETRIC', paddings=test_2_paddings)
69 self.pad = nn.Pad(mode=mode_, paddings=pads)
102 op = nn.Pad(mode="REFLECT", paddings=pads)
143 op = nn.Pad(mode="SYMMETRIC", paddings=pads)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFormatVariadic.cpp27 size_t &Align, char &Pad) { in consumeFieldLayout() argument
30 Pad = ' '; in consumeFieldLayout()
43 Pad = Spec[0]; in consumeFieldLayout()
62 char Pad = ' '; in parseReplacementItem() local
75 if (!consumeFieldLayout(RepString, Where, Align, Pad)) in parseReplacementItem()
88 return ReplacementItem{Spec, Index, Align, Where, Pad, Options}; in parseReplacementItem()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/
Dpad_gpu_kernel.cc21 MS_REG_GPU_KERNEL_ONE(Pad, KernelAttr().AddInputAttr(kNumberTypeFloat32).AddOutputAttr(kNumberTypeF…
23 MS_REG_GPU_KERNEL_ONE(Pad, KernelAttr().AddInputAttr(kNumberTypeFloat16).AddOutputAttr(kNumberTypeF…
25 MS_REG_GPU_KERNEL_ONE(Pad, KernelAttr().AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNumberTypeInt…
/third_party/mindspore/mindspore/core/ops/fusion/
Dpad_fusion.h27 class MS_CORE_API PadFusion : public Pad {
30 PadFusion() : Pad(kNamePadFusion) { InitIOName({"x"}, {"y"}); } in PadFusion()
35 MS_DECLARE_PARENT(PadFusion, Pad);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFormatVariadic.h51 char Pad, StringRef Options) in ReplacementItem()
53 Where(Where), Pad(Pad), Options(Options) {} in ReplacementItem()
60 char Pad = 0; member
85 size_t &Align, char &Pad);
120 FmtAlign Align(*W, R.Where, R.Align, R.Pad); in format()
/third_party/flatbuffers/tests/MyGame/Example/
DVec3.lua39 builder:Pad(2)
41 builder:Pad(1)
44 builder:Pad(1)
47 builder:Pad(4)
DVec3.py38 builder.Pad(2)
40 builder.Pad(1)
43 builder.Pad(1)
46 builder.Pad(4)
DVec3.cs33 builder.Pad(2); in CreateVec3()
35 builder.Pad(1); in CreateVec3()
38 builder.Pad(1); in CreateVec3()
41 builder.Pad(4); in CreateVec3()
DVec3.go96 builder.Pad(2)
98 builder.Pad(1)
101 builder.Pad(1)
104 builder.Pad(4)
/third_party/mindspore/tests/ut/python/dataset/
Dtest_pad.py42 pad_op = c_vision.Pad((100, 100, 100, 100))
52 py_vision.Pad(100),
84 pad_op = c_vision.Pad((100, 9,))
115 pad_gray = c_vision.Pad(100, fill_value=(20, 20, 20))
151 pad_op = c_vision.Pad(150)
162 py_vision.Pad(150),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFormatVariadic.h52 char Pad, StringRef Options) in ReplacementItem()
54 Where(Where), Pad(Pad), Options(Options) {} in ReplacementItem()
61 char Pad; member
86 size_t &Align, char &Pad);
/third_party/gstreamer/gstplugins_good/tests/examples/rtp/
Dserver-alsasrc-PCMA.py72 lres = Gst.Pad.link(srcpad, sinkpad)
78 lres = Gst.Pad.link(srcpad, sinkpad)
83 lres = Gst.Pad.link(srcpad, sinkpad)
89 lres = Gst.Pad.link(srcpad, sinkpad)
Dclient-PCMA.py49 lres = Gst.Pad.link(new_pad, sinkpad)
100 lres = Gst.Pad.link(srcpad, sinkpad)
105 lres = Gst.Pad.link(srcpad, sinkpad)
110 lres = Gst.Pad.link(srcpad, sinkpad)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DWasmEHPrepare.cpp212 auto *Pad = BB.getFirstNonPHI(); in prepareEHPads() local
213 if (isa<CatchPadInst>(Pad)) in prepareEHPads()
215 else if (isa<CleanupPadInst>(Pad)) in prepareEHPads()
360 const Instruction *Pad = BB.getFirstNonPHI(); in calculateWasmEHInfo() local
362 if (const auto *CatchPad = dyn_cast<CatchPadInst>(Pad)) { in calculateWasmEHInfo()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dcenter_crop_op.cc58 …return Pad(input, output, top / 2 + top % 2, top / 2, left / 2 + left % 2, left / 2, BorderType::k… in Compute()
60 … RETURN_IF_NOT_OK(Pad(input, &pad_image, top / 2 + top % 2, top / 2, 0, 0, BorderType::kConstant)); in Compute()
64 …RETURN_IF_NOT_OK(Pad(input, &pad_image, 0, 0, left / 2 + left % 2, left / 2, BorderType::kConstant… in Compute()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DArchiveWriter.cpp180 unsigned Pad = offsetToAlignment(PosAfterHeader, Align(8)); in printBSDMemberHeader() local
181 unsigned NameWithPadding = Name.size() + Pad; in printBSDMemberHeader()
186 while (Pad--) in printBSDMemberHeader()
247 unsigned Pad = offsetToAlignment(Size, Align(2)); in computeStringTable() local
251 printWithSpacePadding(Out, Size + Pad, 10); in computeStringTable()
254 return {{}, std::move(Header), Names, Pad ? "\n" : ""}; in computeStringTable()
312 unsigned Pad = offsetToAlignment(Size, Alignment); in writeSymbolTable() local
313 Size += Pad; in writeSymbolTable()
345 while (Pad--) in writeSymbolTable()
/third_party/gn/src/base/
Dsha1.cc52 void Pad();
114 Pad(); in Final()
131 void SecureHashAlgorithm::Pad() { in Pad() function in base::SecureHashAlgorithm
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/
Dsha1.cc55 void Pad();
136 Pad(); in Final()
155 void SecureHashAlgorithm::Pad() in Pad() function in angle::base::SecureHashAlgorithm
/third_party/flutter/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/
Dsha1.cc55 void Pad();
136 Pad(); in Final()
155 void SecureHashAlgorithm::Pad() in Pad() function in angle::base::SecureHashAlgorithm
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DSimpleTypeSerializer.cpp13 uint8_t Pad = static_cast<uint8_t>(LF_PAD0 + PaddingBytes); in addPadding() local
14 cantFail(Writer.writeInteger(Pad)); in addPadding()

1234567