Program Listing for File select.h

Return to documentation for file (include/converter/include/ops/select.h)

#ifndef MINDSPORE_CORE_OPS_SELECT_H_
#define MINDSPORE_CORE_OPS_SELECT_H_

#include <map>
#include <memory>
#include <string>
#include <vector>

#include "mindapi/base/types.h"
#include "ops/base_operator.h"

namespace mindspore {
namespace ops {
constexpr auto kNameSelect = "Select";
class MIND_API Select : public BaseOperator {
 public:
  MIND_API_BASE_MEMBER(Select);
  Select() : BaseOperator(kNameSelect) { InitIOName({"condition", "x", "y"}, {"output"}); }
  void Init() const {}
};
}  // namespace ops
}  // namespace mindspore

#endif  // MINDSPORE_CORE_OPS_SELECT_H_