Please use. NET 5,. NET 6, NET 7,. NET 8, NET Framework 4.6, NET Framework 4.61, NET Framework 4.7, NET Framework 4.72, NET Framework 4.8, NET Framework 4.81, and. NET Core 3.1 versions

NormalizationParams 类

Contains configuration parameters for normalization operations 包含归一化操作的配置参数

Definition

命名空间: DeploySharp.Data
程序集: DeploySharp (在 DeploySharp.dll 中) 版本:0.0.4+6e8a2e904469617cd59619d666c0e272985c0e33
C#
public class NormalizationParams
Inheritance
Object    NormalizationParams

备注

Used to specify preprocessing parameters before feeding images to models. 用于指定图像输入模型前的预处理参数。

构造函数

NormalizationParams初始化 NormalizationParams 类的一个新实例

属性

Epsilon Small constant to prevent division by zero Default: 1e-5f 小常数 (防止除零) 默认值: 1e-5f
MaxPixelValue Maximum pixel value (used for Min-Max normalization) Default: 255f 最大像素值 (Min-Max归一化时使用) 默认值: 255f
Mean Channel-wise mean values (length must match number of channels) 各通道的均值 (长度必须与通道数匹配)
Std Channel-wise standard deviations (length must match number of channels) 各通道的标准差 (长度必须与通道数匹配)

方法

Clone Creates a deep copy of these parameters 创建这些参数的深拷贝
EqualsDetermines whether the specified object is equal to the current object.
(继承自 Object。)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(继承自 Object。)
GetHashCodeServes as the default hash function.
(继承自 Object。)
GetTypeGets the Type of the current instance.
(继承自 Object。)
MemberwiseCloneCreates a shallow copy of the current Object.
(继承自 Object。)
ToStringReturns a string that represents the current object.
(继承自 Object。)

参见