org.apache.mxnet

Symbol

Related Docs: class Symbol | package mxnet

object Symbol

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Symbol
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def Group(symbols: Symbol*): Symbol

    Create a symbol that groups symbols together.

    Create a symbol that groups symbols together.

    symbols

    List of symbols to be grouped.

    returns

    The created group symbol.

  5. def Variable(name: String, attr: Map[String, String] = null, shape: Shape = null, lrMult: Option[Float] = None, wdMult: Option[Float] = None, dType: DType = null, kwargs: Map[String, String] = Map.empty[String, String]): Symbol

    Create a symbolic variable with specified name.

    Create a symbolic variable with specified name.

    name

    Name of the variable.

    attr

    Additional attributes to set on the variable.

    shape

    The shape of a variable. If specified, this will be used during the shape inference. If one has specified a different shape for this variable using a keyword argument when calling shape inference, this shape information will be ignored.

    lrMult

    The learning rate multiplier for input variable.

    wdMult

    Weight decay multiplier for input variable.

    dType

    The dtype for input variable. If not specified, this value will be inferred.

    kwargs

    Additional attributes which must start and end with double underscores.

    returns

    A symbol corresponding to an input to the computation graph.

  6. val api: SymbolAPI.type

  7. def arange(start: Float, stop: Option[Float] = None, step: Float = 1.0f, repeat: Int = 1, name: String = null, dType: DType = Base.MX_REAL_TYPE): Symbol

    Returns evenly spaced values within a given interval.

    Returns evenly spaced values within a given interval.

    start

    Start of interval. The default start value is 0.

    stop

    End of interval.

    step

    Spacing between values. The default step size is 1.

    repeat

    Number of times to repeat each element. The default repeat count is 1.

    dType

    The data type of the NDArray. The default datatype is DType.Float32.

    returns

    Symbol The created Symbol.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def createFromListedSymbols(operator: String, name: String = null, attr: Map[String, String] = null)(symbols: Array[Symbol], paramKwargs: Map[String, String] = null): Symbol

    Activation Operator of Neural Net.

    Activation Operator of Neural Net. The parameters listed below can be passed in as keyword arguments.

    attr

    Attributes set to the resulting symbol

    symbols

    Symbol parameters passed to create the resulting symbol

    paramKwargs

    Key-value parameters passed to create the resulting symbol

    returns

    the resulting symbol

  11. def createFromListedSymbolsNoCheck(operator: String, name: String = null, attr: Map[String, String] = null)(symbols: Array[Symbol], kwargs: Map[String, Any] = null): Symbol

    Annotations
    @Deprecated
  12. def createFromNamedSymbols(operator: String, name: String = null, attr: Map[String, String] = null)(symbols: Map[String, Symbol], paramKwargs: Map[String, String] = null): Symbol

    Activation Operator of Neural Net.

    Activation Operator of Neural Net. The parameters listed below can be passed in as keyword arguments.

    attr

    Attributes set to the resulting symbol

    symbols

    Named symbol parameters passed to create the resulting symbol

    paramKwargs

    Key-value parameters passed to create the resulting symbol

    returns

    the resulting symbol

  13. def createFromNamedSymbolsNoCheck(operator: String, name: String = null, attr: Map[String, String] = null)(kwargs: Map[String, Any]): Symbol

    Annotations
    @Deprecated
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equal[V](left: V, right: Symbol): Symbol

  16. def equal[V](left: Symbol, right: V): Symbol

  17. def equal(left: Symbol, right: Symbol): Symbol

  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def greater[V](left: Symbol, right: V): Symbol

  22. def greater(left: Symbol, right: Symbol): Symbol

  23. def greaterEqual[V](left: Symbol, right: V): Symbol

  24. def greaterEqual(left: Symbol, right: Symbol): Symbol

  25. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def lesser[V](left: Symbol, right: V): Symbol

  28. def lesser(left: Symbol, right: Symbol): Symbol

  29. def lesserEqual[V](left: Symbol, right: V): Symbol

  30. def lesserEqual(left: Symbol, right: Symbol): Symbol

  31. def load(fname: String): Symbol

    Load symbol from a JSON file.

    Load symbol from a JSON file.

    You can also use pickle to do the job if you only work on python. The advantage of load/save is the file is language agnostic. This means the file saved using save can be loaded by other language binding of mxnet. You also get the benefit being able to directly load/save from cloud storage(S3, HDFS)

    fname

    The name of the file, examples:

    • s3://my-bucket/path/my-s3-symbol
    • hdfs://my-bucket/path/my-hdfs-symbol
    • /path-to/my-local-symbol
    returns

    The loaded symbol.

    See also

    Symbol.save : Used to save symbol into file.

  32. def loadJson(json: String): Symbol

    Load symbol from json string.

    Load symbol from json string.

    json

    A json string.

    returns

    The loaded symbol.

    See also

    Symbol.tojson : Used to save symbol into json string.

  33. def max[V](left: V, right: Symbol): Symbol

  34. def max[V](left: Symbol, right: V): Symbol

  35. def max(left: Symbol, right: Symbol): Symbol

  36. def min[V](left: V, right: Symbol): Symbol

  37. def min[V](left: Symbol, right: V): Symbol

  38. def min(left: Symbol, right: Symbol): Symbol

  39. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  40. def notEqual[V](left: V, right: Symbol): Symbol

  41. def notEqual[V](left: Symbol, right: V): Symbol

  42. def notEqual(left: Symbol, right: Symbol): Symbol

  43. final def notify(): Unit

    Definition Classes
    AnyRef
  44. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  45. def ones(shape: Shape, dType: DType = Base.MX_REAL_TYPE, ctx: Context = null): Symbol

    Returns a new symbol of given shape and type, filled with ones.

  46. def pow[V](number: V, sym: Symbol): Symbol

  47. def pow[V](sym: Symbol, number: V): Symbol

  48. def pow(sym1: Symbol, sym2: Symbol): Symbol

  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  50. def toString(): String

    Definition Classes
    AnyRef → Any
  51. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def zeros(shape: Shape, dType: DType = Base.MX_REAL_TYPE, ctx: Context = null): Symbol

    Returns a new symbol of given shape and type, filled with zeros.

Inherited from AnyRef

Inherited from Any

Ungrouped