Program Listing for File fill.h

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

#ifndef MINDSPORE_CORE_OPS_FILL_H_
#define MINDSPORE_CORE_OPS_FILL_H_
#include <memory>
#include "abstract/dshape.h"
#include "mindapi/base/types.h"
#include "ops/base_operator.h"

namespace mindspore {
namespace ops {
constexpr auto kNameFill = "Fill";
class MIND_API Fill : public BaseOperator {
 public:
  MIND_API_BASE_MEMBER(Fill);
  Fill() : BaseOperator(kNameFill) { InitIOName({"type", "shape", "value"}, {"y"}); }
  void Init() const {}
};
}  // namespace ops
}  // namespace mindspore

#endif  // MINDSPORE_CORE_OPS_FILL_H_