Program Listing for File switch.h
↰ Return to documentation for file (include/converter/include/ops/switch.h
)
#ifndef MINDSPORE_CORE_OPS_SWITCH_H_
#define MINDSPORE_CORE_OPS_SWITCH_H_
#include "mindapi/base/types.h"
#include "ops/base_operator.h"
namespace mindspore {
namespace ops {
constexpr auto kNameSwitch = "Switch";
class MIND_API Switch : public BaseOperator {
public:
MIND_API_BASE_MEMBER(Switch);
Switch() : BaseOperator(kNameSwitch) {}
};
} // namespace ops
} // namespace mindspore
#endif // MINDSPORE_CORE_OPS_SWITCH_H_