EstimatorParams 类

继承
qsharp.estimator._estimator.EstimatorInputParamsItem
EstimatorParams

构造函数

EstimatorParams(num_items: int | None = None)

参数

名称 说明
num_items
默认值: None

方法

as_dict

从输入参数构造字典。

对于批处理作业,顶级条目将合并到项条目中。 在指定项项时,项项具有优先级。

as_dict

从输入参数构造字典。

对于批处理作业,顶级条目将合并到项条目中。 在指定项项时,项项具有优先级。

as_dict(validate=True) -> Dict[str, Any]

参数

名称 说明
validate
默认值: True

属性

items

MAX_NUM_ITEMS

MAX_NUM_ITEMS: int = 1000