org.tensorflow.framework.activations
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# org.tensorflow.framework.activations\n\n### Classes\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|\n| [Activation](/jvm/api_docs/java/org/tensorflow/framework/activations/Activation)\\\u003cT extends [TNumber](/jvm/api_docs/java/org/tensorflow/types/family/TNumber)\\\u003e | Abstract base class for Activations **Note:** The [ERROR(/#tf)]() attribute must be set prior to invoking the call method. |\n| [ELU](/jvm/api_docs/java/org/tensorflow/framework/activations/ELU)\\\u003cT extends [TFloating](/jvm/api_docs/java/org/tensorflow/types/family/TFloating)\\\u003e | Exponential linear unit. |\n| [Exponential](/jvm/api_docs/java/org/tensorflow/framework/activations/Exponential)\\\u003cT extends [TFloating](/jvm/api_docs/java/org/tensorflow/types/family/TFloating)\\\u003e | Exponential activation function. |\n| [HardSigmoid](/jvm/api_docs/java/org/tensorflow/framework/activations/HardSigmoid)\\\u003cT extends [TFloating](/jvm/api_docs/java/org/tensorflow/types/family/TFloating)\\\u003e | Hard sigmoid activation. |\n| [Linear](/jvm/api_docs/java/org/tensorflow/framework/activations/Linear)\\\u003cU extends [TNumber](/jvm/api_docs/java/org/tensorflow/types/family/TNumber)\\\u003e | Linear activation function (pass-through). |\n| [ReLU](/jvm/api_docs/java/org/tensorflow/framework/activations/ReLU)\\\u003cT extends [TNumber](/jvm/api_docs/java/org/tensorflow/types/family/TNumber)\\\u003e | Rectified Linear Unit(ReLU) activation. |\n| [SELU](/jvm/api_docs/java/org/tensorflow/framework/activations/SELU)\\\u003cT extends [TFloating](/jvm/api_docs/java/org/tensorflow/types/family/TFloating)\\\u003e | Scaled Exponential Linear Unit (SELU). |\n| [Sigmoid](/jvm/api_docs/java/org/tensorflow/framework/activations/Sigmoid)\\\u003cT extends [TFloating](/jvm/api_docs/java/org/tensorflow/types/family/TFloating)\\\u003e | Sigmoid activation. |\n| [Softmax](/jvm/api_docs/java/org/tensorflow/framework/activations/Softmax)\\\u003cT extends [TFloating](/jvm/api_docs/java/org/tensorflow/types/family/TFloating)\\\u003e | Softmax converts a real vector to a vector of categorical probabilities. |\n| [Softplus](/jvm/api_docs/java/org/tensorflow/framework/activations/Softplus)\\\u003cT extends [TFloating](/jvm/api_docs/java/org/tensorflow/types/family/TFloating)\\\u003e | Softplus activation function, `softplus(x) = log(exp(x) + 1)`. |\n| [Softsign](/jvm/api_docs/java/org/tensorflow/framework/activations/Softsign)\\\u003cT extends [TFloating](/jvm/api_docs/java/org/tensorflow/types/family/TFloating)\\\u003e | Softsign activation function, `softsign(x) = x / (abs(x) + 1)`. |\n| [Swish](/jvm/api_docs/java/org/tensorflow/framework/activations/Swish)\\\u003cT extends [TFloating](/jvm/api_docs/java/org/tensorflow/types/family/TFloating)\\\u003e | Swish activation function. |\n| [Tanh](/jvm/api_docs/java/org/tensorflow/framework/activations/Tanh)\\\u003cT extends [TFloating](/jvm/api_docs/java/org/tensorflow/types/family/TFloating)\\\u003e | Hyperbolic tangent activation function. |"]]