Searched refs:convert_mode (Results 1 – 11 of 11) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/ |
D | convert_color_ir.cc | 31 ConvertColorOperation::ConvertColorOperation(ConvertMode convert_mode) : convert_mode_(convert_mode… in ConvertColorOperation() argument 60 ConvertMode convert_mode = static_cast<ConvertMode>(op_params["convert_mode"]); in from_json() local 61 *operation = std::make_shared<vision::ConvertColorOperation>(convert_mode); in from_json()
|
D | convert_color_ir.h | 40 explicit ConvertColorOperation(ConvertMode convert_mode);
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | convert_color_op.cc | 28 ConvertColorOp::ConvertColorOp(ConvertMode convert_mode) : convert_mode_(convert_mode) {} in ConvertColorOp() argument
|
D | convert_color_op.h | 32 explicit ConvertColorOp(ConvertMode convert_mode);
|
D | image_utils.cc | 67 Status GetConvertShape(ConvertMode convert_mode, const std::shared_ptr<CVTensor> &input_cv, in GetConvertShape() argument 78 …if (std::find(three_channels.begin(), three_channels.end(), convert_mode) != three_channels.end())… in GetConvertShape() 80 …} else if (std::find(four_channels.begin(), four_channels.end(), convert_mode) != four_channels.en… in GetConvertShape() 82 …} else if (std::find(one_channels.begin(), one_channels.end(), convert_mode) != one_channels.end()… in GetConvertShape() 485 …(const std::shared_ptr<Tensor> &input, std::shared_ptr<Tensor> *output, ConvertMode convert_mode) { in ConvertColor() argument 500 RETURN_IF_NOT_OK(GetConvertShape(convert_mode, input_cv, &node)); in ConvertColor() 509 cv::cvtColor(input_cv->mat(), output_cv->mat(), static_cast<int>(convert_mode)); in ConvertColor()
|
D | image_utils.h | 141 …r(const std::shared_ptr<Tensor> &input, std::shared_ptr<Tensor> *output, ConvertMode convert_mode);
|
/third_party/mindspore/mindspore/dataset/vision/ |
D | c_transforms.py | 315 def __init__(self, convert_mode): argument 316 self.convert_mode = convert_mode 319 return cde.ConvertColorOperation(DE_C_CONVERTCOLOR_MODE[self.convert_mode])
|
D | validators.py | 974 [convert_mode], _ = parse_user_args(method, *args, **kwargs) 975 if convert_mode is not None: 976 type_check(convert_mode, (ConvertMode,), "convert_mode")
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | vision.cc | 207 explicit Data(ConvertMode convert_mode) : convert_mode_(convert_mode) {} in Data() 211 ConvertColor::ConvertColor(ConvertMode convert_mode) : data_(std::make_shared<Data>(convert_mode)) … in ConvertColor() argument
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/kernels/ir/image/ |
D | bindings.cc | 121 .def(py::init([](ConvertMode convert_mode) { in __anon574f76b40902() argument 122 auto convert = std::make_shared<vision::ConvertColorOperation>(convert_mode); in __anon574f76b40902()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/ |
D | vision.h | 121 explicit ConvertColor(ConvertMode convert_mode);
|