log

Contents

log#

Base e logarithm

Op matx::log(Op t)#

Compute log base e (natural log) of every element in the tensor

Parameters:

t – Tensor or operator input

Op matx::loge(Op t)#

Compute log base e (natural log) of every element in the tensor

Parameters:

t – Tensor or operator input

Examples#

(tov0 = log(tiv0)).run(exec);