From 5cc2ac529aa06d667084373b24ef4b3b7ebed774 Mon Sep 17 00:00:00 2001 From: Chai Chaoweeraprasit Date: Sun, 14 Feb 2021 18:06:08 -0800 Subject: [PATCH 1/2] Addressing TAG review issue#133, 134, and 137 --- index.bs | 39 ++++++--------------------------------- 1 file changed, 6 insertions(+), 33 deletions(-) diff --git a/index.bs b/index.bs index ac0e7edb..cef1d929 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.