Tensorflow.js tf.softplus() Function
Tensorflow.js is an open-source library that is developed by Google for running machine learning models as well as deep learning neural networks in the browser or node environment.
The .softplus() function is used to find softplus of the stated input tensor i.e. log(exp(x) + 1) and is done element wise.
- x: It is the stated tensor input, and it can be of type tf.Tensor, TypedArray, or Array.
Return Value: It returns the tf.Tensor object.
Tensor [11.0000162, 17, 0.6931472, NaN, 0]
Tensor [1.7014132, 0.9130152, 0.8147451, 0.6931472, NaN]
My Personal Notes arrow_drop_up
Please Login to comment...