forked from mindspore-Ecosystem/mindspore
commit
4fe3b2041b
|
@ -103,7 +103,9 @@ abstract::AbstractBasePtr ArgMinInfer(const abstract::AnalysisEnginePtr &, const
|
||||||
const int64_t input_num = 1;
|
const int64_t input_num = 1;
|
||||||
(void)CheckAndConvertUtils::CheckInteger("input size", SizeToLong(input_args.size()), kEqual, input_num,
|
(void)CheckAndConvertUtils::CheckInteger("input size", SizeToLong(input_args.size()), kEqual, input_num,
|
||||||
primitive->name());
|
primitive->name());
|
||||||
return abstract::MakeAbstract(ArgMinInferShape(primitive, input_args), ArgMinInferType(primitive, input_args));
|
auto type = ArgMinInferType(primitive, input_args);
|
||||||
|
auto shape = ArgMinInferShape(primitive, input_args);
|
||||||
|
return abstract::MakeAbstract(shape, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
using Argmin = ArgMin;
|
using Argmin = ArgMin;
|
||||||
|
|
Loading…
Reference in New Issue