forked from mindspore-Ecosystem/mindspore
!46197 fix cannot create base operator for Histogram.
Merge pull request !46197 from yangshuo/fix_histogram
This commit is contained in:
commit
3281b7390e
|
@ -78,7 +78,7 @@ AbstractBasePtr HistogramInfer(const abstract::AnalysisEnginePtr &, const Primit
|
|||
return abstract::MakeAbstract(shapes, types);
|
||||
}
|
||||
|
||||
MIND_API_BASE_IMPL(Histogram, PrimitiveC, BaseOperator);
|
||||
MIND_API_OPERATOR_IMPL(Histogram, BaseOperator);
|
||||
REGISTER_PRIMITIVE_EVAL_IMPL(Histogram, prim::kPrimHistogram, HistogramInfer, nullptr, true);
|
||||
} // namespace ops
|
||||
} // namespace mindspore
|
||||
|
|
Loading…
Reference in New Issue