MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / log

Function log

tensorflow/python/keras/backend.py:2122–2131  ·  view source on GitHub ↗

Element-wise log. Arguments: x: Tensor or variable. Returns: A tensor.

(x)

Source from the content-addressed store, hash-verified

2120
2121@keras_export('keras.backend.log')
2122def log(x):
2123 """Element-wise log.
2124
2125 Arguments:
2126 x: Tensor or variable.
2127
2128 Returns:
2129 A tensor.
2130 """
2131 return math_ops.log(x)
2132
2133
2134def logsumexp(x, axis=None, keepdims=False):

Callers 15

testReduceLogSumExpMethod · 0.50
testReductionIndicesMethod · 0.50
testReductionIndices2Method · 0.50
testKeepDimsMethod · 0.50
testOverflowMethod · 0.50
testUnderflowMethod · 0.50
_WeightedCrossEntropyMethod · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50

Calls 1

logMethod · 0.45

Tested by 14

testReduceLogSumExpMethod · 0.40
testReductionIndicesMethod · 0.40
testReductionIndices2Method · 0.40
testKeepDimsMethod · 0.40
testOverflowMethod · 0.40
testUnderflowMethod · 0.40
_WeightedCrossEntropyMethod · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40