/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/ |
D | pad_int8.c | 39 int TransOut2InputDimIndexInt8(int out_dim_index, int left_pad, int in_dim, int offset) { in TransOut2InputDimIndexInt8() argument 40 if (out_dim_index < left_pad) { in TransOut2InputDimIndexInt8() 42 const int index_sum = left_pad + offset - 1; in TransOut2InputDimIndexInt8() 45 out_dim_index -= left_pad; in TransOut2InputDimIndexInt8() 59 int left_pad = pad_param->paddings_[i * 2]; in GetInputFlattenIndexInt8() local 63 …int in_dim_index = TransOut2InputDimIndexInt8(out_dim_index, left_pad, input_shape[i], pad_param->… in GetInputFlattenIndexInt8()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | pad_fp32.c | 47 int TransOut2InputDimIndex(int out_dim_index, int left_pad, int in_dim, int offset) { in TransOut2InputDimIndex() argument 48 if (out_dim_index < left_pad) { in TransOut2InputDimIndex() 50 const int index_sum = left_pad + offset - 1; in TransOut2InputDimIndex() 54 out_dim_index -= left_pad; in TransOut2InputDimIndex() 67 int left_pad = pad_param->paddings_[i * 2]; in GetInputFlattenIndex() local 71 …int in_dim_index = TransOut2InputDimIndex(out_dim_index, left_pad, input_shape[i], pad_param->mirr… in GetInputFlattenIndex()
|
D | pad_fp32.h | 35 int TransOut2InputDimIndex(int out_dim_index, int left_pad, int in_dim, int offset);
|
/third_party/pixman/pixman/ |
D | pixman-inlines.h | 267 int32_t * left_pad, in pad_repeat_get_scanline_bounds() argument 277 *left_pad = *width; in pad_repeat_get_scanline_bounds() 282 *left_pad = (int32_t) tmp; in pad_repeat_get_scanline_bounds() 288 *left_pad = 0; in pad_repeat_get_scanline_bounds() 290 tmp = ((int64_t) unit_x - 1 - vx + max_vx) / unit_x - *left_pad; in pad_repeat_get_scanline_bounds() 458 int32_t left_pad, right_pad; \ 510 &width, &left_pad, &right_pad); \ 511 vx += left_pad * unit_x; \ 532 if (left_pad > 0) \ 536 left_pad, -pixman_fixed_e, 0, src_width_fixed, FALSE); \ [all …]
|
/third_party/pixman/test/ |
D | scaling-helpers-test.c | 14 int32_t * left_pad, in bilinear_pad_repeat_get_scanline_bounds_ref() argument 22 *left_pad = 0; in bilinear_pad_repeat_get_scanline_bounds_ref() 32 *left_pad += 1; in bilinear_pad_repeat_get_scanline_bounds_ref()
|
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/ |
D | conv2d_info.cc | 430 int64_t left_pad = pad_list_[2]; in ComputeOverlapLeftSizeByRankBias() local 435 return left_pad + in ComputeOverlapLeftSizeByRankBias() 440 int64_t left_pad = pad_list_[2]; in ComputeOverlapRightSizeByRankBias() local 447 w_kernel_size - w_stride - left_pad; in ComputeOverlapRightSizeByRankBias() 1089 int64_t left_pad = pad_list_[2]; in ComputeOverlapLeftSizeByRankBias() local 1092 … w_output_shape + w_input_shape * w_stride - w_stride - left_pad) / in ComputeOverlapLeftSizeByRankBias() 1100 …(LongToDouble(rank_bias * w_output_shape / w_dimension_shard_num_ - w_kernel_size + left_pad + 1) / in ComputeOverlapLeftSizeByRankBias() 1111 int64_t left_pad = pad_list_[2]; in ComputeOverlapRightSizeByRankBias() local 1115 …std::ceil(LongToDouble(w_output_shape / w_dimension_shard_num_ + left_pad) / LongToDouble(w_stride… in ComputeOverlapRightSizeByRankBias() 1125 w_output_shape / w_dimension_shard_num_ + left_pad) / in ComputeOverlapRightSizeByRankBias() [all …]
|
/third_party/mindspore/mindspore/dataset/text/ |
D | validators.py | 364 [n, left_pad, right_pad, separator], _ = parse_user_args(method, *args, **kwargs) 376 …if not (isinstance(left_pad, tuple) and len(left_pad) == 2 and isinstance(left_pad[0], str) and is… 377 left_pad[1], int)): 384 if not (left_pad[1] >= 0 and right_pad[1] >= 0): 390 kwargs["left_pad"] = left_pad
|
D | transforms.py | 317 def __init__(self, n, left_pad=("", 0), right_pad=("", 0), separator=" "): argument 319 self.left_pad = left_pad 324 return cde.NgramOperation(self.ngrams, self.left_pad, self.right_pad, self.separator)
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstglstereosplit.c | 130 pad = self->left_pad = in gst_gl_stereosplit_init() 134 gst_element_add_pad (GST_ELEMENT (self), self->left_pad); in gst_gl_stereosplit_init() 352 stereosplit_get_src_caps (split, split->left_pad, in stereosplit_set_output_caps() 401 if (!gst_pad_set_caps (split->left_pad, left)) { in stereosplit_set_output_caps() 617 if (!gst_pad_peer_query (self->left_pad, query)) { in stereosplit_do_bufferpool() 683 ret = gst_pad_push (split->left_pad, gst_buffer_ref (left)); in stereosplit_chain() 816 if (!(left = gst_pad_peer_query_caps (split->left_pad, NULL))) in stereosplit_sink_query() 835 templ_caps = gst_pad_get_pad_template_caps (split->left_pad); in stereosplit_sink_query()
|
D | gstglstereosplit.h | 45 GstPad *left_pad; member
|
/third_party/libinput/tools/ |
D | libinput-debug-tablet.c | 117 int left_pad, right_pad; in print_bar() local 126 left_pad = width * normalized + 0.5; in print_bar() 127 right_pad = width - left_pad; in print_bar() 133 left_pad, empty, in print_bar()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | text.cc | 244 Data(const std::vector<int32_t> &ngrams, const std::pair<std::vector<char>, int32_t> &left_pad, in Data() 247 left_pad_(PairCharToString(left_pad)), in Data() 256 …m::Ngram(const std::vector<int32_t> &ngrams, const std::pair<std::vector<char>, int32_t> &left_pad, in Ngram() argument 258 : data_(std::make_shared<Data>(ngrams, left_pad, right_pad, separator)) {} in Ngram()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/ |
D | text.h | 286 …gram(const std::vector<int32_t> &ngrams, const std::pair<std::string, int32_t> &left_pad = {"", 0}, 288 …: Ngram(ngrams, PairStringToChar(left_pad), PairStringToChar(right_pad), StringToChar(separator)) … in Ngram() argument 299 Ngram(const std::vector<int32_t> &ngrams, const std::pair<std::vector<char>, int32_t> &left_pad,
|
/third_party/skia/third_party/externals/swiftshader/src/WSI/ |
D | libXCB.hpp | 31 … uint16_t width, uint16_t height, int16_t dst_x, int16_t dst_y, uint8_t left_pad, uint8_t depth, u…
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/text/kernels/ir/ |
D | bindings.cc | 166 … py::init([](const std::vector<int32_t> &ngrams, const std::pair<std::string, int32_t> &left_pad, in __anon5546ea161702() 168 … auto ngram = std::make_shared<text::NgramOperation>(ngrams, left_pad, right_pad, separator); in __anon5546ea161702()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/ir/kernels/ |
D | text_ir.cc | 239 …NgramOperation(const std::vector<int32_t> &ngrams, const std::pair<std::string, int32_t> &left_pad, in NgramOperation() argument 241 : ngrams_(ngrams), left_pad_(left_pad), right_pad_(right_pad), separator_(separator) {} in NgramOperation()
|
D | text_ir.h | 166 …NgramOperation(const std::vector<int32_t> &ngrams, const std::pair<std::string, int32_t> &left_pad,
|