配置该参数后,自动生成的单算子API(aclnnxxx)接口中,输入类型为aclScalar类型。
1
OpParamDef &Scalar()
无
OpParamDef算子定义,OpParamDef请参考OpParamDef。
1 2
this->Input("x") .Scalar()