docstr: ivy.Container instance method variant of ivy.scaled_tanh. This
  method simplywraps the function, and so the docstring for
  ivy.scaled_tanh also applies to this method with minimal changes.
  
  Parameters
  ----------
  x
     input container.
  alpha
     The scaling parameter for the output.
     Determines the amplitude of the tanh function.
     Default: 1.7159
  beta
      The scaling parameter for the input.
      Determines the slope of the tanh function.
      Default: 0.67
  key_chains
      The key-chains to apply or not apply the method to. Default is ``None``.
  to_apply
      If True, the method will be applied to key_chains, otherwise key_chains
      will be skipped. Default is ``True``.
  prune_unapplied
      Whether to prune key_chains for which the function was not applied.
      Default is ``False``.
  map_sequences
      Whether to also map method to sequences (lists, tuples).
      Default is ``False``.
  out
      optional output container, for writing the result to. It must have a shape
      that the inputs broadcast to.
  
  Returns
  -------
  ret
       a container with the scaled_tanh function applied.
  
  Examples
  --------
  >>> x = ivy.Container(a=ivy.array([2., 3.]), b=ivy.array([1., 2.]))
  >>> x.scaled_tanh()
  {
      a: ivy.array([1.49570239, 1.65537548]),
      b: ivy.array([1.00376701, 1.49570239])
  }
  
  >>> x = ivy.Container(a=ivy.array([1., 1.]), b=ivy.array([1., 1.]))
  >>> x.scaled_tanh(alpha=30)
  {
      a: ivy.array([17.54939651, 17.54939651]),
      b: ivy.array([17.54939651, 17.54939651])
  }
  
  >>> x = ivy.Container(a=ivy.array([20., 21.]), b=ivy.array([3., 1.]))
  >>> x.scaled_tanh(alpha=0.1, beta=-0.4)
  {
      a: ivy.array([-0.09999998, -0.09999999]),
      b: ivy.array([-0.08336546, -0.0379949])
  }
docstr_tok: ["ivy.Container","instance","method","variant","of","ivy.scaled_tanh",".","This","method","simplywraps","the","function",",","and","so","the","docstring","for","ivy.scaled_tanh","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","x","input","container",".","alpha","The","scaling","parameter","for","the","output",".","Determines","the","amplitude","of","the","tanh","function",".","Default",":","1.7159","beta","The","scaling","parameter","for","the","input",".","Determines","the","slope","of","the","tanh","function",".","Default",":","0.67","key_chains","The","key-chains","to","apply","or","not","apply","the","method","to",".","Default","is","``","None","``",".","to_apply","If","True",",","the","method","will","be","applied","to","key_chains",",","otherwise","key_chains","will","be","skipped",".","Default","is","``","True","``",".","prune_unapplied","Whether","to","prune","key_chains","for","which","the","function","was","not","applied",".","Default","is","``","False","``",".","map_sequences","Whether","to","also","map","method","to","sequences","(","lists",",","tuples",")",".","Default","is","``","False","``",".","out","optional","output","container",",","for","writing","the","result","to",".","It","must","have","a","shape","that","the","inputs","broadcast","to",".","Returns","--","--","--","-","ret","a","container","with","the","scaled_tanh","function","applied",".","Examples","--","--","--","--",">",">",">","x","=","ivy.Container","(","a=ivy.array","(","[","2.",",","3",".","]",")",",","b=ivy.array","(","[","1.",",","2",".","]",")",")",">",">",">","x.scaled_tanh","(",")","{","a",":","ivy.array","(","[","1.49570239",",","1.65537548","]",")",",","b",":","ivy.array","(","[","1.00376701",",","1.49570239","]",")","}",">",">",">","x","=","ivy.Container","(","a=ivy.array","(","[","1.",",","1",".","]",")",",","b=ivy.array","(","[","1.",",","1",".","]",")",")",">",">",">","x.scaled_tanh","(","alpha=30",")","{","a",":","ivy.array","(","[","17.54939651",",","17.54939651","]",")",",","b",":","ivy.array","(","[","17.54939651",",","17.54939651","]",")","}",">",">",">","x","=","ivy.Container","(","a=ivy.array","(","[","20.",",","21",".","]",")",",","b=ivy.array","(","[","3.",",","1",".","]",")",")",">",">",">","x.scaled_tanh","(","alpha=0.1",",","beta=-0.4",")","{","a",":","ivy.array","(","[","-0.09999998",",","-0.09999999","]",")",",","b",":","ivy.array","(","[","-0.08336546",",","-0.0379949","]",")","}"]
code: def scaled_tanh(
      self: ivy.Container,
      /,
      *,
      alpha: Union[float, ivy.Container] = 1.7159,
      beta: Union[float, ivy.Container] = 0.67,
      key_chains: Optional[
          Union[List[str], Dict[str, str], ivy.Container]
      ] = None,
      to_apply: Union[bool, ivy.Container] = True,
      prune_unapplied: Union[bool, ivy.Container] = False,
      map_sequences: Union[bool, ivy.Container] = False,
      out: Optional[ivy.Container] = None,
  ) -> ivy.Container:
      """ivy.Container instance method variant of ivy.scaled_tanh. This
      method simplywraps the function, and so the docstring for
      ivy.scaled_tanh also applies to this method with minimal changes.
  
      Parameters
      ----------
      x
         input container.
      alpha
         The scaling parameter for the output.
         Determines the amplitude of the tanh function.
         Default: 1.7159
      beta
          The scaling parameter for the input.
          Determines the slope of the tanh function.
          Default: 0.67
      key_chains
          The key-chains to apply or not apply the method to. Default is ``None``.
      to_apply
          If True, the method will be applied to key_chains, otherwise key_chains
          will be skipped. Default is ``True``.
      prune_unapplied
          Whether to prune key_chains for which the function was not applied.
          Default is ``False``.
      map_sequences
          Whether to also map method to sequences (lists, tuples).
          Default is ``False``.
      out
          optional output container, for writing the result to. It must have a shape
          that the inputs broadcast to.
  
      Returns
      -------
      ret
           a container with the scaled_tanh function applied.
  
      Examples
      --------
      >>> x = ivy.Container(a=ivy.array([2., 3.]), b=ivy.array([1., 2.]))
      >>> x.scaled_tanh()
      {
          a: ivy.array([1.49570239, 1.65537548]),
          b: ivy.array([1.00376701, 1.49570239])
      }
  
      >>> x = ivy.Container(a=ivy.array([1., 1.]), b=ivy.array([1., 1.]))
      >>> x.scaled_tanh(alpha=30)
      {
          a: ivy.array([17.54939651, 17.54939651]),
          b: ivy.array([17.54939651, 17.54939651])
      }
  
      >>> x = ivy.Container(a=ivy.array([20., 21.]), b=ivy.array([3., 1.]))
      >>> x.scaled_tanh(alpha=0.1, beta=-0.4)
      {
          a: ivy.array([-0.09999998, -0.09999999]),
          b: ivy.array([-0.08336546, -0.0379949])
      }
      """
      return self._static_scaled_tanh(
          self,
          alpha=alpha,
          beta=beta,
          key_chains=key_chains,
          to_apply=to_apply,
          prune_unapplied=prune_unapplied,
          map_sequences=map_sequences,
          out=out,
      )
  
imports: from typing import Union, Optional, List, Dict, Literal
  import ivy
  from ivy.data_classes.container.base import ContainerBase
label_desc: Use image node_id 28 for calling the _ContainerWithActivationExperimental obj's underlying member method code with example usage: obj.scaled_tanh() and returns: self