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

Function Tan

tensorflow/compiler/xla/client/lib/math.cc:1133–1135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1131XlaOp Atan(XlaOp x) { return Atan2(x, ScalarLike(x, 1.0)); }
1132
1133XlaOp Tan(XlaOp x) {
1134 return DoWithUpcastToF32(x, {F16}, [](XlaOp x) { return Sin(x) / Cos(x); });
1135}
1136
1137// Hyperbolic trigonometric functions.
1138

Callers 3

unary_ops.ccFile · 0.50
TEST_FFunction · 0.50
TestCWiseGradMethod · 0.50

Calls 3

DoWithUpcastToF32Function · 0.85
SinFunction · 0.50
CosFunction · 0.50

Tested by 2

TEST_FFunction · 0.40
TestCWiseGradMethod · 0.40