ami / .mypy_cache /3.7 /jax /_src /nn /functions.data.json
patrickvonplaten's picture
upload all
c7a0c46
{".class": "MypyFile", "_fullname": "jax._src.nn.functions", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "Any": {".class": "SymbolTableNode", "cross_ref": "typing.Any", "kind": "Gdef"}, "Array": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax._src.nn.functions.Array", "line": 34, "no_args": false, "normalized": false, "target": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}}}, "AxisName": {".class": "SymbolTableNode", "cross_ref": "jax.core.AxisName", "kind": "Gdef"}, "Optional": {".class": "SymbolTableNode", "cross_ref": "typing.Optional", "kind": "Gdef"}, "Tuple": {".class": "SymbolTableNode", "cross_ref": "typing.Tuple", "kind": "Gdef"}, "Union": {".class": "SymbolTableNode", "cross_ref": "typing.Union", "kind": "Gdef"}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax._src.nn.functions.__annotations__", "name": "__annotations__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax._src.nn.functions.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax._src.nn.functions.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax._src.nn.functions.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax._src.nn.functions.__package__", "name": "__package__", "type": "builtins.str"}}, "_logsumexp": {".class": "SymbolTableNode", "cross_ref": "jax._src.scipy.special.logsumexp", "kind": "Gdef"}, "_one_hot": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3], "arg_names": ["x", "num_classes", "dtype", "axis"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions._one_hot", "name": "_one_hot", "type": {".class": "CallableType", "arg_kinds": [0, 0, 3, 3], "arg_names": ["x", "num_classes", "dtype", "axis"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "builtins.int", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "UnionType", "items": ["builtins.int", "typing.Hashable"]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_one_hot", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "_one_hot", "type": "jax._src.stages.Wrapped"}}}, "celu": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["x", "alpha"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.celu", "name": "celu", "type": {".class": "CallableType", "arg_kinds": [0, 1], "arg_names": ["x", "alpha"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "celu", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "celu", "type": "jax._src.stages.Wrapped"}}}, "core": {".class": "SymbolTableNode", "cross_ref": "jax.core", "kind": "Gdef"}, "custom_jvp": {".class": "SymbolTableNode", "cross_ref": "jax._src.custom_derivatives.custom_jvp", "kind": "Gdef"}, "dtypes": {".class": "SymbolTableNode", "cross_ref": "jax._src.dtypes", "kind": "Gdef"}, "elu": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["x", "alpha"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.elu", "name": "elu", "type": {".class": "CallableType", "arg_kinds": [0, 1], "arg_names": ["x", "alpha"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "elu", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "elu", "type": "jax._src.stages.Wrapped"}}}, "expit": {".class": "SymbolTableNode", "cross_ref": "jax._src.scipy.special.expit", "kind": "Gdef"}, "gelu": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["x", "approximate"], "flags": [], "fullname": "jax._src.nn.functions.gelu", "name": "gelu", "type": {".class": "CallableType", "arg_kinds": [0, 1], "arg_names": ["x", "approximate"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "gelu", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}}, "glu": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["x", "axis"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.glu", "name": "glu", "type": {".class": "CallableType", "arg_kinds": [0, 1], "arg_names": ["x", "axis"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "builtins.int"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "glu", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "glu", "type": "jax._src.stages.Wrapped"}}}, "hard_sigmoid": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["x"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.hard_sigmoid", "name": "hard_sigmoid", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["x"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "hard_sigmoid", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "hard_sigmoid", "type": "jax._src.stages.Wrapped"}}}, "hard_silu": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["x"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.hard_silu", "name": "hard_silu", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["x"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "hard_silu", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "hard_silu", "type": "jax._src.stages.Wrapped"}}}, "hard_swish": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.nn.functions.hard_swish", "name": "hard_swish", "type": "jax._src.stages.Wrapped"}}, "hard_tanh": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["x"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.hard_tanh", "name": "hard_tanh", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["x"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "hard_tanh", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "hard_tanh", "type": "jax._src.stages.Wrapped"}}}, "jax": {".class": "SymbolTableNode", "cross_ref": "jax", "kind": "Gdef"}, "jnp": {".class": "SymbolTableNode", "cross_ref": "jax.numpy", "kind": "Gdef"}, "lax": {".class": "SymbolTableNode", "cross_ref": "jax.lax", "kind": "Gdef"}, "leaky_relu": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["x", "negative_slope"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.leaky_relu", "name": "leaky_relu", "type": {".class": "CallableType", "arg_kinds": [0, 1], "arg_names": ["x", "negative_slope"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "leaky_relu", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "leaky_relu", "type": "jax._src.stages.Wrapped"}}}, "log_sigmoid": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["x"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.log_sigmoid", "name": "log_sigmoid", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["x"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "log_sigmoid", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "log_sigmoid", "type": "jax._src.stages.Wrapped"}}}, "log_softmax": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1], "arg_names": ["x", "axis", "where", "initial"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.log_softmax", "name": "log_softmax", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1], "arg_names": ["x", "axis", "where", "initial"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, {".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "log_softmax", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "log_softmax", "type": "jax._src.stages.Wrapped"}}}, "logsumexp": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.nn.functions.logsumexp", "name": "logsumexp", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1, 1], "arg_names": ["a", "axis", "b", "keepdims", "return_sign"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "normalize": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 1], "arg_names": ["x", "axis", "mean", "variance", "epsilon", "where"], "flags": [], "fullname": "jax._src.nn.functions.normalize", "name": "normalize", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1, 1, 1], "arg_names": ["x", "axis", "mean", "variance", "epsilon", "where"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, {".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "NoneType"}]}, {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "normalize", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}}, "np": {".class": "SymbolTableNode", "cross_ref": "numpy", "kind": "Gdef"}, "one_hot": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 5], "arg_names": ["x", "num_classes", "dtype", "axis"], "flags": [], "fullname": "jax._src.nn.functions.one_hot", "name": "one_hot", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5], "arg_names": ["x", "num_classes", "dtype", "axis"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "builtins.int", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "UnionType", "items": ["builtins.int", "typing.Hashable"]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "one_hot", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}}, "operator": {".class": "SymbolTableNode", "cross_ref": "operator", "kind": "Gdef"}, "partial": {".class": "SymbolTableNode", "cross_ref": "functools.partial", "kind": "Gdef"}, "relu": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["x"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.relu", "name": "relu", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["x"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "relu", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "relu", "type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_of_any": 7}], "type_ref": "jax._src.custom_derivatives.custom_jvp"}}}}, "relu6": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["x"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.relu6", "name": "relu6", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["x"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "relu6", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "relu6", "type": "jax._src.stages.Wrapped"}}}, "selu": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["x"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.selu", "name": "selu", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["x"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "selu", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "selu", "type": "jax._src.stages.Wrapped"}}}, "sigmoid": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["x"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.sigmoid", "name": "sigmoid", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["x"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "sigmoid", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "sigmoid", "type": "jax._src.stages.Wrapped"}}}, "silu": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["x"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.silu", "name": "silu", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["x"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "silu", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "silu", "type": "jax._src.stages.Wrapped"}}}, "soft_sign": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["x"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.soft_sign", "name": "soft_sign", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["x"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "soft_sign", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "soft_sign", "type": "jax._src.stages.Wrapped"}}}, "softmax": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1], "arg_names": ["x", "axis", "where", "initial"], "flags": [], "fullname": "jax._src.nn.functions.softmax", "name": "softmax", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1], "arg_names": ["x", "axis", "where", "initial"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, {".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "softmax", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}}, "softplus": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["x"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.softplus", "name": "softplus", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["x"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "softplus", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "softplus", "type": "jax._src.stages.Wrapped"}}}, "standardize": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 1], "arg_names": ["x", "axis", "mean", "variance", "epsilon", "where"], "flags": ["is_decorated"], "fullname": "jax._src.nn.functions.standardize", "name": "standardize", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1, 1, 1], "arg_names": ["x", "axis", "mean", "variance", "epsilon", "where"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, {".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "NoneType"}]}, {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "standardize", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax._src.nn.functions.Array"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "standardize", "type": "jax._src.stages.Wrapped"}}}, "swish": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.nn.functions.swish", "name": "swish", "type": "jax._src.stages.Wrapped"}}, "util": {".class": "SymbolTableNode", "cross_ref": "jax._src.util", "kind": "Gdef"}, "warnings": {".class": "SymbolTableNode", "cross_ref": "warnings", "kind": "Gdef"}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/jax/_src/nn/functions.py"}