Log
Input
x:
- Required: yes
- Type: float16, float32
- Description: computes natural logarithm of x element-wise.
if base>0: y = log_base(shift + scale * x)
if base == -1: y = log_e(shift + scale * x)
The TensorFlow and Caffe prototypes are different. Therefore, the prototype needs to be redefined.
- Restriction: Must be of type float16.
Attribute
- base:
- Required: no
- Type: float
- Description: default = –1.0
- Restriction: Must be –1 or greater than 0.
- scale:
- Required: no
- Type: float
- Description: default = 1.0
- Restrictions: none
- shift:
- Required: no
- Type: float
- Description: default = 0.0
- Restrictions: none
Output
y:
- Required: yes
- Type: float16, float32
- Description: computes natural logarithm of x element-wise.
if base>0: y = log_base(shift + scale * x)
if base == -1: y = log_e(shift + scale * x)
The TensorFlow and Caffe prototypes are different. Therefore, the prototype needs to be redefined.
- Restriction: Must be of type float16.
Parent topic: Supported Caffe Operators