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

Function tanh

tensorflow/python/keras/backend.py:4523–4532  ·  view source on GitHub ↗

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

(x)

Source from the content-addressed store, hash-verified

4521
4522@keras_export('keras.backend.tanh')
4523def tanh(x):
4524 """Element-wise tanh.
4525
4526 Arguments:
4527 x: A tensor or variable.
4528
4529 Returns:
4530 A tensor.
4531 """
4532 return nn.tanh(x)
4533
4534
4535@keras_export('keras.backend.dropout')

Callers 14

operator()Method · 0.50
TanhPrepareFunction · 0.50
LstmCellFunction · 0.50
TanhFunction · 0.50
LstmCellFunction · 0.50
TanhFunction · 0.50
FixedPoint4TanhFunction · 0.50
Tanh16bitPercisionFunction · 0.50
LstmCellFunction · 0.50
TanhFunction · 0.50
PortableApplyTanh3Function · 0.50
PortableApplyTanh4Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected