BatchNorm
Input
- x:
- Required: yes
- Type: float16, float32
- Description: input tensor
- Restriction: none
- mean:
- Required: yes
- Type: float16, float32
- Description: mean
- Restriction: none
- variance:
- Required: yes
- Type: float16, float32
- Description: variance
- Restriction: none
- scale_factor:
- Required: yes
- Type: float16, float32
- Description: scaling factor for the moving mean and variance computation (used as a divisor)
- Restriction: none
- scale:
- Required: no
- Type: float16, float32
- Description: reserved
- Restriction: none
- offset:
- Required: no
- Type: float16, float32
- Description: reserved
- Restriction: none
Attribute
- eps:
- Required: no
- Type: float
- Description: a small number to avoid division by zero while normalizing (default = 1e–5)
- Restriction: The value is user-defined.
- use_global_stats:
- Required: no
- Type: bool
- Description: If True, uses accumulated mean and variance values for normalization. Fixed at True.
- Restriction: Must be True.
Output
y:
- Required: no
- Type: float16, float32
- Description: output tensor
- Restriction: Must be float16.
Parent topic: Supported Caffe Operators