org.apache.mxnet

Symbol

Related Docs: class Symbol | package mxnet

object Symbol

Annotations
@AddSymbolFunctions( false )
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.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. def arange(start: Float, stop: Option[Float] = None, step: Float = 1.0f, repeat: Int = 1, name: String = null, dType: 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.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. 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

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

    Annotations
    @Deprecated
  11. 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

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

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

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

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

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

  17. def equals(arg0: Any): Boolean

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

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

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

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

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

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

  24. def hashCode(): Int

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

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

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

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

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

  30. 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.

  31. 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.

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

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

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

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

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

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

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

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

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

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

  42. final def notify(): Unit

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  49. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. def zeros(shape: Shape, dType: 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