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

Method log1p

tensorflow/python/framework/op_callbacks_test.py:398–399  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

396 with op_callbacks.op_callback(no_return_callback):
397 @def_function.function
398 def log1p(x):
399 return math_ops.log(1.0 + x)
400 x = constant_op.constant(3.0)
401 y = log1p(x)
402 self.assertAllClose(y, np.log(4.0))

Callers 15

expected_log_probMethod · 0.45
_computeMethod · 0.45
softplusMethod · 0.45
testBijectorMethod · 0.45
testBijectorMethod · 0.45
_sample_nMethod · 0.45
_log_cdfMethod · 0.45
_sample_nMethod · 0.45
_cdfMethod · 0.45
_log_probMethod · 0.45

Calls 1

logMethod · 0.45

Tested by

no test coverage detected