Program Listing for File all.h
↰ Return to documentation for file (include/converter/include/ops/all.h
)
#ifndef MINDSPORE_CORE_OPS_ALL_H_
#define MINDSPORE_CORE_OPS_ALL_H_
#include "mindapi/base/types.h"
#include "ops/base_operator.h"
namespace mindspore {
namespace ops {
constexpr auto kNameAll = "All";
class MIND_API All : public BaseOperator {
public:
MIND_API_BASE_MEMBER(All);
All() : BaseOperator(kNameAll) {}
void Init(const int64_t keep_dims);
void set_keep_dims(const int64_t keep_dims);
int64_t get_keep_dims() const;
};
} // namespace ops
} // namespace mindspore
#endif // MINDSPORE_CORE_OPS_ALL_H_