Object/Class

ml.dmlc.mxnet

Symbol

Related Docs: class Symbol | package mxnet

Permalink

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
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

    Permalink

    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

    Permalink

    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 = Base.MX_REAL_TYPE): Symbol

    Permalink

    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

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    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

    Permalink

    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

    Permalink
    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

    Permalink

    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

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

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

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

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

    Permalink
  17. def equals(arg0: Any): Boolean

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

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

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

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

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

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

    Permalink
  24. def hashCode(): Int

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

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

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

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

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

    Permalink
  30. def load(fname: String): Symbol

    Permalink

    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

    Permalink

    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

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

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

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

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

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

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

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

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

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

    Permalink
  42. final def notify(): Unit

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

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

    Permalink

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  49. def toString(): String

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

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

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

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

    Permalink

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

Inherited from AnyRef

Inherited from Any

Ungrouped