昇腾社区首页
中文
注册

GetMaxBatchSize

接口功能

获取max batch size的值。

接口格式

Status GetMaxBatchSize(uint64_t *batchSize);

接口参数

参数

是否必选

说明

取值要求

batchSize

必选

batch size大小。

合法的数字。

返回值

  • Status(Error::Code::OK):操作成功。
  • Status(Error::Code::ERROR):操作失败。
  • Status(Error::Code::INVALID_ARG):非法参数。
  • Status(Error::Code::NOT_FOUND):无法找到指定操作。