diff --git a/index.bs b/index.bs index ac0e7edb..7141d055 100644 --- a/index.bs +++ b/index.bs @@ -260,7 +260,7 @@ interface ModelBuilder { ### batchNormalization ### {#api-modelbuilder-batchnorm} -Normalize the tensor values of input features across the batch dimension using [[Batch-Normalization]]. For each input feature, the mean and variance values of that feature are computed across the batch dimension during training. +Normalize the tensor values of input features across the batch dimension using [[Batch-Normalization]]. For each input feature, the mean and variance values of that feature supplied in this calculation as parameters are previously computed across the batch dimension of the input during the model training phrase of this operation. -
- **Arguments:** - - *x*: an {{Operand}}. The input tensor. - - **Returns:** an {{Operand}}. The output tensor of the same shape as *x*. - - Calculate the rectified - linear function on the input tensor element-wise. The calculation - follows the expression `max(0, x)`. - -
- The behavior of this operation can be generically emulated from the usage of - other operations as follow. However, user agents typically have a more - efficient implementation for it, therefore its usage is encouraged from the - performance standpoint. -
-    return builder.max(builder.constant(0), x);
-    
-
-
- ### resample ### {#api-modelbuilder-resample} Resample the tensor values from the source to the destination dimensions according to the scaling factors.