/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | slice_patches_op.h | 36 static const SliceMode kDefSliceMode; 38 …SlicePatchesOp(int32_t num_height = kDefNumH, int32_t num_width = kDefNumW, SliceMode slice_mode =… 54 SliceMode slice_mode_; // PadModel, DropModel
|
D | slice_patches_op.cc | 25 const SliceMode SlicePatchesOp::kDefSliceMode = SliceMode::kPad; 27 SlicePatchesOp::SlicePatchesOp(int32_t num_height, int32_t num_width, SliceMode slice_mode, uint8_t… in SlicePatchesOp()
|
D | image_utils.h | 366 … int32_t num_height, int32_t num_width, SliceMode slice_mode, uint8_t fill_value); 376 SliceMode slice_mode);
|
D | image_utils.cc | 1511 SliceMode slice_mode) { in ComputePatchSize() 1531 if (slice_mode == SliceMode::kPad) { in ComputePatchSize() 1537 if (slice_mode == SliceMode::kPad) { in ComputePatchSize() 1547 … int32_t num_height, int32_t num_width, SliceMode slice_mode, uint8_t fill_value) { in SlicePatches() 1565 if (slice_mode == SliceMode::kPad) { // padding on right and bottom directions in SlicePatches()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/ |
D | slice_patches_ir.cc | 26 SlicePatchesOperation::SlicePatchesOperation(int32_t num_height, int32_t num_width, SliceMode slice… in SlicePatchesOperation() 66 SliceMode slice_mode = static_cast<SliceMode>(op_params["slice_mode"]); in from_json()
|
D | slice_patches_ir.h | 39 …SlicePatchesOperation(int32_t num_height, int32_t num_width, SliceMode slice_mode, uint8_t fill_va… 56 SliceMode slice_mode_;
|
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_slice_patches.py | 79 num_h, num_w, mode.SliceMode.PAD, fill_value) 82 num_h, num_w, mode.SliceMode.DROP) 138 _ = c_vision.SlicePatches(2, 2, mode.SliceMode.PAD, -1) 170 slice_patches_op = c_vision.SlicePatches(4, 3, mode.SliceMode.PAD) 177 slice_patches_op = c_vision.SlicePatches(10, 13, mode.SliceMode.DROP) 184 slice_patches_op = c_vision.SlicePatches(10, 13, mode.SliceMode.DROP)
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/core/ |
D | bindings.cc | 134 PYBIND_REGISTER(SliceMode, 0, ([](const py::module *m) { in __anon39cb0f2d0f02() 135 (void)py::enum_<SliceMode>(*m, "SliceMode", py::arithmetic()) in __anon39cb0f2d0f02() 136 .value("DE_SLICE_PAD", SliceMode::kPad) in __anon39cb0f2d0f02() 137 .value("DE_SLICE_DROP", SliceMode::kDrop) in __anon39cb0f2d0f02()
|
/third_party/mindspore/mindspore/dataset/vision/ |
D | __init__.py | 30 from .utils import Inter, Border, ImageBatchFormat, SliceMode
|
D | utils.py | 101 class SliceMode(IntEnum): class
|
D | c_transforms.py | 50 from .utils import Inter, Border, ImageBatchFormat, ConvertMode, SliceMode 92 DE_C_SLICE_MODE = {SliceMode.PAD: cde.SliceMode.DE_SLICE_PAD, 93 SliceMode.DROP: cde.SliceMode.DE_SLICE_DROP} 1704 def __init__(self, num_height=1, num_width=1, slice_mode=SliceMode.PAD, fill_value=0):
|
D | validators.py | 26 from .utils import Inter, Border, ImageBatchFormat, ConvertMode, SliceMode 524 type_check(slice_mode, (SliceMode,), "slice_mode")
|
/third_party/openh264/testbin/ |
D | layer2.cfg | 19 SliceMode 0 # 0: sigle slice mode; >0: multiple slices mode, see below;
|
D | layer2_vd_rc.cfg | 19 SliceMode 0 # 0: sigle slice mode; >0: multiple slices mode, see below;
|
D | layer2_arbitrary_res.cfg | 19 SliceMode 0 # 0: sigle slice mode; >0: multiple slices mode, see below;
|
D | layer2_vd.cfg | 19 SliceMode 0 # 0: sigle slice mode; >0: multiple slices mode, see below;
|
/third_party/openh264/codec/build/windowsphone/all/CodecApp/ |
D | layer2.cfg | 19 SliceMode 0 # 0: sigle slice mode; >0: multiple slices mode, see below;
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/ |
D | constants.h | 178 enum class SliceMode { enum
|
D | vision.h | 919 …SlicePatches(int32_t num_height = 1, int32_t num_width = 1, SliceMode slice_mode = SliceMode::kPad,
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | vision.cc | 948 Data(int32_t num_height, int32_t num_width, SliceMode slice_mode, uint8_t fill_value) in Data() 952 SliceMode slice_mode_; 956 SlicePatches::SlicePatches(int32_t num_height, int32_t num_width, SliceMode slice_mode, uint8_t fil… in SlicePatches()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/kernels/ir/image/ |
D | bindings.cc | 587 ….def(py::init([](int32_t num_height, int32_t num_width, SliceMode slice_mode, uint8_t fill_value) { in __anon574f76b45602()
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
D | deserialize_test.cc | 315 std::make_shared<vision::SlicePatchesOperation>(5, 5, SliceMode::kDrop, 1); in TEST_F()
|