diff --git a/README.html b/README.html index be6da88c3917..a67a0c8fdf6f 100644 --- a/README.html +++ b/README.html @@ -151,7 +151,7 @@

Architecture Github -Versions(0.11-RC) +Versions(0.11.0.rc3)
-
-
-
-

MXNet 0.11-RC Released

-

We're excited to announce the release of MXNet 0.11-RC! Check out the release notes for latest updates.

- Learn More -
-
-

MXNet Joining Apache

-

We’re excited to announce that MXNet has been accepted to the Apache Incubator. +

+
+
+

Introducing - Gluon

+

We’re happy to introduce a new elegant, easy to use, imperative interface for MXNet.

- Learn More -
-
-

MXNet in AWS re:Invent 2016

-

Learn how to use MXNet to build neural network models for recommendation systems. +Learn More +

+
+

MXNet 0.10.0 Released

+

We're excited to announce the release of MXNet 0.10.0! Check out the release notes for latest updates.

+Learn More +
+
+

MXNet Joining Apache

+

We’re excited to announce that MXNet has been accepted to the Apache Incubator.

- Watch Video -
-
-
+Learn More +
+
+
-
-
-
-
-

Examples

-

Explore projects from simple demos to state-of-the-art research

- -
-
-

Model Zoo

-

Off the shelf pre-trained models

-
- Model Zoo -
-
-
-
-
- +
+
+
+ +

Examples

+

Explore projects from simple demos to state-of-the-art research

+ +
+
+ +

Model Zoo

+

Off the shelf pre-trained models

+ +
+
+
+
-
-
-

+

+
+

MXNet is developed by collaborators from multiple universities and companies. We sincerely thank the following organizations for supporting MXNet and sponsoring its major developers (alphabetical order).

-
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
-
-
-
- +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
- -

+ +

Apache MXNet is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

-
+ \ No newline at end of file diff --git a/_static/mxnet-theme/layout.html b/_static/mxnet-theme/layout.html index c312181a1476..d03d14fe0f58 100644 --- a/_static/mxnet-theme/layout.html +++ b/_static/mxnet-theme/layout.html @@ -1,30 +1,31 @@ {%- block doctype -%} + {%- endblock %} -{%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %} +{%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %} {%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %} {%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and (sidebars != []) %} {%- set url_root = pathto('', 1) %} {%- if url_root == '#' %}{% set url_root = '' %}{% endif %} {%- if not embedded and docstitle %} - {%- set titlesuffix = " — "|safe + docstitle|e %} + {%- set titlesuffix = " — "|safe + docstitle|e %} {%- else %} {%- set titlesuffix = "" %} {%- endif %} {%- macro searchform(classes, button) %} - + {%- endmacro %} {%- macro sidebarglobal() %} @@ -33,13 +34,13 @@ {%- macro sidebar() %} {%- if render_sidebar %} - + +
+
+

Inherited from AnyRef

+
+

Inherited from Any

+
+
+
+
+

Ungrouped

+
+
+ +
+ + + diff --git a/api/scala/docs/ml/dmlc/mxnet/KVStore.html b/api/scala/docs/ml/dmlc/mxnet/KVStore.html index 4704e0caefec..bfb7c5c51125 100644 --- a/api/scala/docs/ml/dmlc/mxnet/KVStore.html +++ b/api/scala/docs/ml/dmlc/mxnet/KVStore.html @@ -1,19 +1,18 @@ + - - KVStore - ml.dmlc.mxnet.KVStore - - - - - - - - - - - - + + + + - - - -
- Class/Object -

ml.dmlc.mxnet

-

KVStore

+ + +
+Class/Object +

ml.dmlc.mxnet

+

KVStore

Related Docs: object KVStore - | package mxnet -

- - Permalink - - -
- -

- - - class - - - KVStore extends AnyRef - -

- -
- Linear Supertypes -
AnyRef, Any
-
- - -
-
-
- Ordering -
    - -
  1. Alphabetic
  2. -
  3. By Inheritance
  4. -
-
-
- Inherited
-
-
    -
  1. KVStore
  2. AnyRef
  3. Any
  4. -
-
- -
    -
  1. Hide All
  2. -
  3. Show All
  4. -
-
-
- Visibility -
  1. Public
  2. All
-
-
- -
-
-
-

Instance Constructors

-
  1. - - -

    - - - new - - - KVStore(handle: KVStoreHandle) - -

    - - Permalink - - - -
-
- - - - - -
-

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

    - - final - def - - - asInstanceOf[T0]: T0 - -

    - - Permalink - - -
    Definition Classes
    Any
    -
  5. - - -

    - - - def - - - barrier(): Unit - -

    - - Permalink - - -

    Global barrier among all worker nodes

    Global barrier among all worker nodes

    For example, assume there are n machines, we want to let machine 0 first + | package mxnet +

+ +Permalink + + +
+

+ + +class + + +KVStore extends AnyRef + +

+
+Linear Supertypes +
AnyRef, Any
+
+
+
+
+Ordering +
    +
  1. Alphabetic
  2. +
  3. By Inheritance
  4. +
+
+
+Inherited
+
+
    +
  1. KVStore
  2. AnyRef
  3. Any
  4. +
+
+ +
    +
  1. Hide All
  2. +
  3. Show All
  4. +
+
+
+Visibility +
  1. Public
  2. All
+
+
+
+
+
+

Instance Constructors

+
  1. + + +

    + + +new + + +KVStore(handle: KVStoreHandle) + +

    + +Permalink + + +
+
+
+

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

    + +final +def + + +asInstanceOf[T0]: T0 + +

    + +Permalink + + +
    Definition Classes
    Any
    +
  5. + + +

    + + +def + + +barrier(): Unit + +

    + +Permalink + + +

    Global barrier among all worker nodes

    Global barrier among all worker nodes

    For example, assume there are n machines, we want to let machine 0 first init the values, and then pull the inited value to all machines. Before pulling, we can place a barrier to guarantee that the initialization is finished.

    -
  6. - - -

    - - - def - - - clone(): AnyRef - -

    - - Permalink - - -
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    - @throws( - - ... - ) - -
    -
  7. - - -

    - - - def - - - dispose(): Unit - -

    - - Permalink - - -

    Release the native memory.

    Release the native memory. +

  8. + + +

    + + +def + + +clone(): AnyRef + +

    + +Permalink + + +
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  9. + + +

    + + +def + + +dispose(): Unit + +

    + +Permalink + + +

    Release the native memory.

    Release the native memory. The object shall never be used after it is disposed.

    -
  10. - - -

    - - final - def - - - eq(arg0: AnyRef): Boolean - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    -
  11. - - -

    - - - def - - - equals(arg0: Any): Boolean - -

    - - Permalink - - -
    Definition Classes
    AnyRef → Any
    -
  12. - - -

    - - - def - - - finalize(): Unit - -

    - - Permalink - - -
    Attributes
    protected
    Definition Classes
    KVStore → AnyRef
    -
  13. - - -

    - - final - def - - - getClass(): Class[_] - -

    - - Permalink - - -
    Definition Classes
    AnyRef → Any
    -
  14. - - -

    - - - def - - - hashCode(): Int - -

    - - Permalink - - -
    Definition Classes
    AnyRef → Any
    -
  15. - - -

    - - - def - - - init(key: String, value: NDArray): Unit - -

    - - Permalink - - - -
  16. - - -

    - - - def - - - init(keys: Array[String], values: Array[NDArray]): Unit - -

    - - Permalink - - -

    Initialize a single or a sequence of key-value pairs into the store.

    Initialize a single or a sequence of key-value pairs into the store. +

  17. + + +

    + +final +def + + +eq(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  18. + + +

    + + +def + + +equals(arg0: Any): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  19. + + +

    + + +def + + +finalize(): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    KVStore → AnyRef
    +
  20. + + +

    + +final +def + + +getClass(): Class[_] + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  21. + + +

    + + +def + + +hashCode(): Int + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  22. + + +

    + + +def + + +init(key: String, value: NDArray): Unit + +

    + +Permalink + + +
  23. + + +

    + + +def + + +init(keys: Array[String], values: Array[NDArray]): Unit + +

    + +Permalink + + +

    Initialize a single or a sequence of key-value pairs into the store.

    Initialize a single or a sequence of key-value pairs into the store. For each key, one must init it before push and pull. Only worker 0's (rank == 0) data are used. This function returns after data have been initialized successfully

    keys

    The keys.

    values

    The values.

    -
  24. - - -

    - - final - def - - - isInstanceOf[T0]: Boolean - -

    - - Permalink - - -
    Definition Classes
    Any
    -
  25. - - -

    - - - def - - - loadOptimizerStates(fname: String): Unit - -

    - - Permalink - - -

    Load optimizer (updater) state from file

    Load optimizer (updater) state from file

    fname

    Path to input states file.

    -
  26. - - -

    - - final - def - - - ne(arg0: AnyRef): Boolean - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    -
  27. - - -

    - - final - def - - - notify(): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    -
  28. - - -

    - - final - def - - - notifyAll(): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    -
  29. - - -

    - - - def - - - numDeadNode(nodeId: Int): Int - -

    - - Permalink - - - -
  30. - - -

    - - - def - - - numWorkers: Int - -

    - - Permalink - - -

    Get the number of worker nodes

    Get the number of worker nodes

    returns

    The number of worker nodes

    -
  31. - - -

    - - - def - - - pull(key: String, outs: Array[NDArray]): Unit - -

    - - Permalink - - - -
  32. - - -

    - - - def - - - pull(key: String, outs: Array[NDArray], priority: Int): Unit - -

    - - Permalink - - - -
  33. - - -

    - - - def - - - pull(key: String, out: NDArray, priority: Int = 0): Unit - -

    - - Permalink - - - -
  34. - - -

    - - - def - - - pull(keys: Array[String], outs: Array[NDArray]): Unit - -

    - - Permalink - - - -
  35. - - -

    - - - def - - - pull(keys: Array[String], outs: Array[NDArray], priority: Int): Unit - -

    - - Permalink - - -

    Pull a single value or a sequence of values from the store.

    Pull a single value or a sequence of values from the store.

    Data consistency: +

  36. + + +

    + +final +def + + +isInstanceOf[T0]: Boolean + +

    + +Permalink + + +
    Definition Classes
    Any
    +
  37. + + +

    + + +def + + +loadOptimizerStates(fname: String): Unit + +

    + +Permalink + + +

    Load optimizer (updater) state from file

    Load optimizer (updater) state from file

    fname

    Path to input states file.

    +
  38. + + +

    + +final +def + + +ne(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  39. + + +

    + +final +def + + +notify(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  40. + + +

    + +final +def + + +notifyAll(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  41. + + +

    + + +def + + +numDeadNode(nodeId: Int): Int + +

    + +Permalink + + +
  42. + + +

    + + +def + + +numWorkers: Int + +

    + +Permalink + + +

    Get the number of worker nodes

    Get the number of worker nodes

    returns

    The number of worker nodes

    +
  43. + + +

    + + +def + + +pull(key: String, outs: Array[NDArray]): Unit + +

    + +Permalink + + +
  44. + + +

    + + +def + + +pull(key: String, outs: Array[NDArray], priority: Int): Unit + +

    + +Permalink + + +
  45. + + +

    + + +def + + +pull(key: String, out: NDArray, priority: Int = 0): Unit + +

    + +Permalink + + +
  46. + + +

    + + +def + + +pull(keys: Array[String], outs: Array[NDArray]): Unit + +

    + +Permalink + + +
  47. + + +

    + + +def + + +pull(keys: Array[String], outs: Array[NDArray], priority: Int): Unit + +

    + +Permalink + + +

    Pull a single value or a sequence of values from the store.

    Pull a single value or a sequence of values from the store.

    Data consistency: 1. this function returns after adding an operator to the engine. But any further read on out will be blocked until it is finished. 2. pull is always called after all previous push and pull on the same key are finished @@ -581,91 +559,87 @@

    The priority of the push operation. The higher the priority, the faster this action is likely to be executed before other push actions.

    -
  48. - - -

    - - - def - - - push(key: String, values: Array[NDArray]): Unit - -

    - - Permalink - - - -
  49. - - -

    - - - def - - - push(key: String, values: Array[NDArray], priority: Int): Unit - -

    - - Permalink - - - -
  50. - - -

    - - - def - - - push(key: String, value: NDArray, priority: Int = 0): Unit - -

    - - Permalink - - - -
  51. - - -

    - - - def - - - push(keys: Array[String], values: Array[NDArray]): Unit - -

    - - Permalink - - - -
  52. - - -

    - - - def - - - push(keys: Array[String], values: Array[NDArray], priority: Int): Unit - -

    - - Permalink - - -

    Push a single or a sequence of key-value pairs into the store.

    Push a single or a sequence of key-value pairs into the store. +

  53. + + +

    + + +def + + +push(key: String, values: Array[NDArray]): Unit + +

    + +Permalink + + +
  54. + + +

    + + +def + + +push(key: String, values: Array[NDArray], priority: Int): Unit + +

    + +Permalink + + +
  55. + + +

    + + +def + + +push(key: String, value: NDArray, priority: Int = 0): Unit + +

    + +Permalink + + +
  56. + + +

    + + +def + + +push(keys: Array[String], values: Array[NDArray]): Unit + +

    + +Permalink + + +
  57. + + +

    + + +def + + +push(keys: Array[String], values: Array[NDArray], priority: Int): Unit + +

    + +Permalink + + +

    Push a single or a sequence of key-value pairs into the store.

    Push a single or a sequence of key-value pairs into the store. Data consistency: 1. this function returns after adding an operator to the engine. 2. push is always called after all previous push and pull on the same key are finished @@ -674,249 +648,229 @@

    The priority of the push operation. The higher the priority, the faster this action is likely to be executed before other push actions.

    -
  58. - - -

    - - - def - - - rank: Int - -

    - - Permalink - - -

    Get the rank of this worker node

    Get the rank of this worker node

    returns

    The rank of this node, which is in [0, get_num_workers())

    -
  59. - - -

    - - - def - - - saveOptimizerStates(fname: String): Unit - -

    - - Permalink - - -

    Save optimizer (updater) state to file

    Save optimizer (updater) state to file

    fname

    Path to output states file.

    -
  60. - - -

    - - - def - - - setBarrierBeforeExit(barrierBeforeExit: Boolean): Unit - -

    - - Permalink - - -

    Whether to do barrier when the kvstore finalizes

    -
  61. - - -

    - - - def - - - setOptimizer(optimizer: Optimizer): Unit - -

    - - Permalink - - -

    Register an optimizer to the store +

  62. + + +

    + + +def + + +rank: Int + +

    + +Permalink + + +

    Get the rank of this worker node

    Get the rank of this worker node

    returns

    The rank of this node, which is in [0, get_num_workers())

    +
  63. + + +

    + + +def + + +saveOptimizerStates(fname: String): Unit + +

    + +Permalink + + +

    Save optimizer (updater) state to file

    Save optimizer (updater) state to file

    fname

    Path to output states file.

    +
  64. + + +

    + + +def + + +setBarrierBeforeExit(barrierBeforeExit: Boolean): Unit + +

    + +Permalink + + +

    Whether to do barrier when the kvstore finalizes

    +
  65. + + +

    + + +def + + +setOptimizer(optimizer: Optimizer): Unit + +

    + +Permalink + + +

    Register an optimizer to the store If there are multiple machines, this process (should be a worker node) will pack this optimizer and send it to all servers.

    Register an optimizer to the store If there are multiple machines, this process (should be a worker node) will pack this optimizer and send it to all servers. It returns after this action is done.

    optimizer

    the optimizer

    -
  66. - - -

    - - - def - - - setUpdater(updater: MXKVStoreUpdater): Unit - -

    - - Permalink - - -

    Set a push updater into the store.

    Set a push updater into the store.

    This function only changes the local store. Use setOptimizer for +

  67. + + +

    + + +def + + +setUpdater(updater: MXKVStoreUpdater): Unit + +

    + +Permalink + + +

    Set a push updater into the store.

    Set a push updater into the store.

    This function only changes the local store. Use setOptimizer for multi-machines.

    updater

    the updater function

    -
  68. - - -

    - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    -
  69. - - -

    - - - def - - - toString(): String - -

    - - Permalink - - -
    Definition Classes
    AnyRef → Any
    -
  70. - - -

    - - - def - - - type: String - -

    - - Permalink - - - -
  71. - - -

    - - final - def - - - wait(): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    Annotations
    - @throws( - - ... - ) - -
    -
  72. - - -

    - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    Annotations
    - @throws( - - ... - ) - -
    -
  73. - - -

    - - final - def - - - wait(arg0: Long): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    Annotations
    - @throws( - - ... - ) - -
    -
-
- - - - -
- -
-
-

Inherited from AnyRef

-
-

Inherited from Any

-
- -
- -
-
-

Ungrouped

- -
-
- -
- -
- - - - - - +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +type: String + +

    + +Permalink + + +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/KVStoreServer$.html b/api/scala/docs/ml/dmlc/mxnet/KVStoreServer$.html index b1fde624ae9f..2b03de58f4c0 100644 --- a/api/scala/docs/ml/dmlc/mxnet/KVStoreServer$.html +++ b/api/scala/docs/ml/dmlc/mxnet/KVStoreServer$.html @@ -1,19 +1,18 @@ + - - KVStoreServer - ml.dmlc.mxnet.KVStoreServer - - - - - - - - - - - - + + + + - - - -
    - Object -

    ml.dmlc.mxnet

    -

    KVStoreServer

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - object - - - KVStoreServer - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. KVStoreServer
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - init(env: Map[String, String]): Unit - -

      - - Permalink - - - -
    12. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    13. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - - def - - - start(dieIfOthersGoOutTimeout: Int = 0): Unit - -

      - - Permalink - - -

      Start server/scheduler according to env variables

      Start server/scheduler according to env variables

      dieIfOthersGoOutTimeout

      When this argument is set to an integer greater than 0 + + +

      +Object +

      ml.dmlc.mxnet

      +

      KVStoreServer

      Related Doc: + package mxnet +

      + +Permalink + + +
      +

      + + +object + + +KVStoreServer + +

      +
      +Linear Supertypes +
      AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. KVStoreServer
      2. AnyRef
      3. Any
      4. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +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. + + +

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      5. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      6. + + +

        + +final +def + + +eq(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      7. + + +

        + + +def + + +equals(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      8. + + +

        + + +def + + +finalize(): Unit + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +classOf[java.lang.Throwable] +) +
        +
      9. + + +

        + +final +def + + +getClass(): Class[_] + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      10. + + +

        + + +def + + +hashCode(): Int + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      11. + + +

        + + +def + + +init(env: Map[String, String]): Unit + +

        + +Permalink + + +
      12. + + +

        + +final +def + + +isInstanceOf[T0]: Boolean + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      13. + + +

        + +final +def + + +ne(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      14. + + +

        + +final +def + + +notify(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      15. + + +

        + +final +def + + +notifyAll(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      16. + + +

        + + +def + + +start(dieIfOthersGoOutTimeout: Int = 0): Unit + +

        + +Permalink + + +

        Start server/scheduler according to env variables

        Start server/scheduler according to env variables

        dieIfOthersGoOutTimeout

        When this argument is set to an integer greater than 0 (in second), a daemon thread will start to periodically check whether scheduler (server side) or servers (scheduler side) @@ -388,139 +369,120 @@

        and in such situation you want others die automatically once some of the nodes goes out.

        -
      17. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      18. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      19. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      20. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      21. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      -
      - - - - -
      - -
      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +
    17. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    18. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    19. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    20. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    21. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/LRScheduler.html b/api/scala/docs/ml/dmlc/mxnet/LRScheduler.html index bba96b0115c3..0ecf1b426972 100644 --- a/api/scala/docs/ml/dmlc/mxnet/LRScheduler.html +++ b/api/scala/docs/ml/dmlc/mxnet/LRScheduler.html @@ -1,19 +1,18 @@ + - - LRScheduler - ml.dmlc.mxnet.LRScheduler - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet

    -

    LRScheduler

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - abstract - class - - - LRScheduler extends AnyRef - -

    - -

    Learning rate scheduler, which adaptively changes the learning rate + + +

    +Class +

    ml.dmlc.mxnet

    +

    LRScheduler

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + +abstract +class + + +LRScheduler extends AnyRef + +

    +

    Learning rate scheduler, which adaptively changes the learning rate based on the training progress.

    - Linear Supertypes -
    AnyRef, Any
    -
    - Known Subclasses - -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. LRScheduler
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - LRScheduler(baseLR: Float = 0.01f) - -

      - - Permalink - - - -
    -
    - - - -
    -

    Abstract Value Members

    -
    1. - - -

      - - abstract - def - - - apply(numUpdate: Int): Float - -

      - - Permalink - - -

      Base class of a learning rate scheduler

      Base class of a learning rate scheduler

      The training progress is presented by num_update, which can be roughly +Linear Supertypes +

      AnyRef, Any
      +
      +Known Subclasses + +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. LRScheduler
      2. AnyRef
      3. Any
      4. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Instance Constructors

      +
      1. + + +

        + + +new + + +LRScheduler(baseLR: Float = 0.01f) + +

        + +Permalink + + +
      +
      +
      +

      Abstract Value Members

      +
      1. + + +

        + +abstract +def + + +apply(numUpdate: Int): Float + +

        + +Permalink + + +

        Base class of a learning rate scheduler

        Base class of a learning rate scheduler

        The training progress is presented by num_update, which can be roughly viewed as the number of minibatches executed so far. Its value is non-decreasing, and increases at most by one.

        The exact value is the upper bound of the number of updates applied to a weight/index.

        numUpdate

        Int, the maximal number of updates applied to a weight.

        -
      -
      - -
      -

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

        - - final - def - - - asInstanceOf[T0]: T0 - -

        - - Permalink - - -
        Definition Classes
        Any
        -
      5. - - -

        - - - var - - - baseLR: Float - -

        - - Permalink - - - -
      6. - - -

        - - - def - - - clone(): AnyRef - -

        - - Permalink - - -
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      7. - - -

        - - final - def - - - eq(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      8. - - -

        - - - def - - - equals(arg0: Any): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      9. - - -

        - - - def - - - finalize(): Unit - -

        - - Permalink - - -
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - classOf[java.lang.Throwable] - ) - -
        -
      10. - - -

        - - final - def - - - getClass(): Class[_] - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      11. - - -

        - - - def - - - hashCode(): Int - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      12. - - -

        - - final - def - - - isInstanceOf[T0]: Boolean - -

        - - Permalink - - -
        Definition Classes
        Any
        -
      13. - - -

        - - final - def - - - ne(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      14. - - -

        - - final - def - - - notify(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      15. - - -

        - - final - def - - - notifyAll(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      16. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      17. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      18. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      19. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      20. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      -
      - - - - -
      - -
      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +
    +
    +
    +

    Concrete 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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +var + + +baseLR: Float + +

      + +Permalink + + +
    6. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    7. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    8. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    9. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    10. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    13. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    18. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    19. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    20. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/MAE.html b/api/scala/docs/ml/dmlc/mxnet/MAE.html index 4e1017326bb9..931c21a5d533 100644 --- a/api/scala/docs/ml/dmlc/mxnet/MAE.html +++ b/api/scala/docs/ml/dmlc/mxnet/MAE.html @@ -1,19 +1,18 @@ + - - MAE - ml.dmlc.mxnet.MAE - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet

    -

    MAE

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - MAE extends EvalMetric - -

    - -

    Calculate Mean Absolute Error loss + + +

    +Class +

    ml.dmlc.mxnet

    +

    MAE

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +class + + +MAE extends EvalMetric + +

    +

    Calculate Mean Absolute Error loss

    - Linear Supertypes -
    EvalMetric, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. MAE
    2. EvalMetric
    3. AnyRef
    4. Any
    5. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - MAE() - -

      - - Permalink - - - -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - - def - - - get: (Array[String], Array[Float]) - -

      - - Permalink - - -

      Get the current evaluation result.

      Get the current evaluation result.

      returns

      name, Name of the metric - value, Value of the evaluation

      Definition Classes
      EvalMetric
      -
    10. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    13. - - -

      - - - val - - - name: String - -

      - - Permalink - - -

      Metric name

      Metric name

      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    14. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - var - - - numInst: Int - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    18. - - -

      - - - def - - - reset(): Unit - -

      - - Permalink - - -

      Clear the internal statistics to initial state.

      Clear the internal statistics to initial state. -

      Definition Classes
      EvalMetric
      -
    19. - - -

      - - - var - - - sumMetric: Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    20. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    21. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    22. - - -

      - - - def - - - update(labels: IndexedSeq[NDArray], preds: IndexedSeq[NDArray]): Unit - -

      - - Permalink - - -

      Update the internal evaluation.

      Update the internal evaluation. -

      labels

      The labels of the data

      preds

      Predicted values.

      Definition Classes
      MAEEvalMetric
      -
    23. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    24. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    25. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from EvalMetric

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +Linear Supertypes +
    EvalMetric, AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. MAE
    2. EvalMetric
    3. AnyRef
    4. Any
    5. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +MAE() + +

      + +Permalink + + +
    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + + +def + + +get: (Array[String], Array[Float]) + +

      + +Permalink + + +

      Get the current evaluation result.

      Get the current evaluation result.

      returns

      name, Name of the metric + value, Value of the evaluation

      Definition Classes
      EvalMetric
      +
    10. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    13. + + +

      + + +val + + +name: String + +

      + +Permalink + + +

      Metric name

      Metric name

      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    14. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +var + + +numInst: Int + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    18. + + +

      + + +def + + +reset(): Unit + +

      + +Permalink + + +

      Clear the internal statistics to initial state.

      Clear the internal statistics to initial state. +

      Definition Classes
      EvalMetric
      +
    19. + + +

      + + +var + + +sumMetric: Float + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    20. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    21. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    22. + + +

      + + +def + + +update(labels: IndexedSeq[NDArray], preds: IndexedSeq[NDArray]): Unit + +

      + +Permalink + + +

      Update the internal evaluation.

      Update the internal evaluation. +

      labels

      The labels of the data

      preds

      Predicted values.

      Definition Classes
      MAEEvalMetric
      +
    23. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    24. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    25. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from EvalMetric

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/MSE.html b/api/scala/docs/ml/dmlc/mxnet/MSE.html index cd79cc9e53fa..674335e90171 100644 --- a/api/scala/docs/ml/dmlc/mxnet/MSE.html +++ b/api/scala/docs/ml/dmlc/mxnet/MSE.html @@ -1,19 +1,18 @@ + - - MSE - ml.dmlc.mxnet.MSE - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet

    -

    MSE

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - MSE extends EvalMetric - -

    - -
    - Linear Supertypes -
    EvalMetric, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. MSE
    2. EvalMetric
    3. AnyRef
    4. Any
    5. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - MSE() - -

      - - Permalink - - - -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - - def - - - get: (Array[String], Array[Float]) - -

      - - Permalink - - -

      Get the current evaluation result.

      Get the current evaluation result.

      returns

      name, Name of the metric - value, Value of the evaluation

      Definition Classes
      EvalMetric
      -
    10. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    13. - - -

      - - - val - - - name: String - -

      - - Permalink - - -

      Metric name

      Metric name

      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    14. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - var - - - numInst: Int - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    18. - - -

      - - - def - - - reset(): Unit - -

      - - Permalink - - -

      Clear the internal statistics to initial state.

      Clear the internal statistics to initial state. -

      Definition Classes
      EvalMetric
      -
    19. - - -

      - - - var - - - sumMetric: Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    20. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    21. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    22. - - -

      - - - def - - - update(labels: IndexedSeq[NDArray], preds: IndexedSeq[NDArray]): Unit - -

      - - Permalink - - -

      Update the internal evaluation.

      Update the internal evaluation. -

      labels

      The labels of the data

      preds

      Predicted values.

      Definition Classes
      MSEEvalMetric
      -
    23. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    24. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    25. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from EvalMetric

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Class +

    ml.dmlc.mxnet

    +

    MSE

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +class + + +MSE extends EvalMetric + +

    +
    +Linear Supertypes +
    EvalMetric, AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. MSE
    2. EvalMetric
    3. AnyRef
    4. Any
    5. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +MSE() + +

      + +Permalink + + +
    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + + +def + + +get: (Array[String], Array[Float]) + +

      + +Permalink + + +

      Get the current evaluation result.

      Get the current evaluation result.

      returns

      name, Name of the metric + value, Value of the evaluation

      Definition Classes
      EvalMetric
      +
    10. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    13. + + +

      + + +val + + +name: String + +

      + +Permalink + + +

      Metric name

      Metric name

      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    14. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +var + + +numInst: Int + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    18. + + +

      + + +def + + +reset(): Unit + +

      + +Permalink + + +

      Clear the internal statistics to initial state.

      Clear the internal statistics to initial state. +

      Definition Classes
      EvalMetric
      +
    19. + + +

      + + +var + + +sumMetric: Float + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    20. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    21. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    22. + + +

      + + +def + + +update(labels: IndexedSeq[NDArray], preds: IndexedSeq[NDArray]): Unit + +

      + +Permalink + + +

      Update the internal evaluation.

      Update the internal evaluation. +

      labels

      The labels of the data

      preds

      Predicted values.

      Definition Classes
      MSEEvalMetric
      +
    23. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    24. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    25. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from EvalMetric

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/MXIndexedRecordIO.html b/api/scala/docs/ml/dmlc/mxnet/MXIndexedRecordIO.html index 3eb7c568c734..fc5b71590f22 100644 --- a/api/scala/docs/ml/dmlc/mxnet/MXIndexedRecordIO.html +++ b/api/scala/docs/ml/dmlc/mxnet/MXIndexedRecordIO.html @@ -1,19 +1,18 @@ + - - MXIndexedRecordIO - ml.dmlc.mxnet.MXIndexedRecordIO - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet

    -

    MXIndexedRecordIO

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - MXIndexedRecordIO extends MXRecordIO - -

    - -

    Scala interface for read/write RecordIO data formmat with index. + + +

    +Class +

    ml.dmlc.mxnet

    +

    MXIndexedRecordIO

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +class + + +MXIndexedRecordIO extends MXRecordIO + +

    +

    Scala interface for read/write RecordIO data formmat with index. Support random access.

    - Linear Supertypes -
    MXRecordIO, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. MXIndexedRecordIO
    2. MXRecordIO
    3. AnyRef
    4. Any
    5. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - MXIndexedRecordIO(idxPath: String, uri: String, flag: IOFlag, keyType: KeyType = MXIndexedRecordIO.TyepInt) - -

      - - Permalink - - -

      -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - def - - - close(): Unit - -

      - - Permalink - - -
      Definition Classes
      MXIndexedRecordIOMXRecordIO
      -
    7. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    8. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    9. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    10. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    13. - - -

      - - - var - - - isOpen: Boolean - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      MXRecordIO
      -
    14. - - -

      - - - def - - - keys(): Iterable[Any] - -

      - - Permalink - - - -
    15. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    18. - - -

      - - - def - - - open(): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      MXRecordIO
      -
    19. - - -

      - - - def - - - read(): String - -

      - - Permalink - - -
      Definition Classes
      MXRecordIO
      -
    20. - - -

      - - - def - - - readIdx(idx: Any): String - -

      - - Permalink - - - -
    21. - - -

      - - - val - - - recordIOHandle: RecordIOHandleRef - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      MXRecordIO
      -
    22. - - -

      - - - def - - - reset(): Unit - -

      - - Permalink - - -
      Definition Classes
      MXIndexedRecordIOMXRecordIO
      -
    23. - - -

      - - - def - - - seek(idx: Any): Unit - -

      - - Permalink - - - -
    24. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    25. - - -

      - - - def - - - tell(): Int - -

      - - Permalink - - - -
    26. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    27. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    28. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    29. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    30. - - -

      - - - def - - - write(buf: String): Unit - -

      - - Permalink - - -
      Definition Classes
      MXRecordIO
      -
    31. - - -

      - - - def - - - writeIdx(idx: Any, buf: String): Unit - -

      - - Permalink - - - -
    -
    - - - - -
    - -
    -
    -

    Inherited from MXRecordIO

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +Linear Supertypes +
    MXRecordIO, AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. MXIndexedRecordIO
    2. MXRecordIO
    3. AnyRef
    4. Any
    5. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +MXIndexedRecordIO(idxPath: String, uri: String, flag: IOFlag, keyType: KeyType = MXIndexedRecordIO.TyepInt) + +

      + +Permalink + + +

      +
    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + + +def + + +close(): Unit + +

      + +Permalink + + +
      Definition Classes
      MXIndexedRecordIOMXRecordIO
      +
    7. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    8. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    9. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    10. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    13. + + +

      + + +var + + +isOpen: Boolean + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      MXRecordIO
      +
    14. + + +

      + + +def + + +keys(): Iterable[Any] + +

      + +Permalink + + +
    15. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    18. + + +

      + + +def + + +open(): Unit + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      MXRecordIO
      +
    19. + + +

      + + +def + + +read(): String + +

      + +Permalink + + +
      Definition Classes
      MXRecordIO
      +
    20. + + +

      + + +def + + +readIdx(idx: Any): String + +

      + +Permalink + + +
    21. + + +

      + + +val + + +recordIOHandle: RecordIOHandleRef + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      MXRecordIO
      +
    22. + + +

      + + +def + + +reset(): Unit + +

      + +Permalink + + +
      Definition Classes
      MXIndexedRecordIOMXRecordIO
      +
    23. + + +

      + + +def + + +seek(idx: Any): Unit + +

      + +Permalink + + +
    24. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    25. + + +

      + + +def + + +tell(): Int + +

      + +Permalink + + +
    26. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    27. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    28. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    29. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    30. + + +

      + + +def + + +write(buf: String): Unit + +

      + +Permalink + + +
      Definition Classes
      MXRecordIO
      +
    31. + + +

      + + +def + + +writeIdx(idx: Any, buf: String): Unit + +

      + +Permalink + + +
    +
    +
    +
    +
    +

    Inherited from MXRecordIO

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/MXKVStoreCachedStates.html b/api/scala/docs/ml/dmlc/mxnet/MXKVStoreCachedStates.html index 851d5c2f7d29..5fff5dc15de9 100644 --- a/api/scala/docs/ml/dmlc/mxnet/MXKVStoreCachedStates.html +++ b/api/scala/docs/ml/dmlc/mxnet/MXKVStoreCachedStates.html @@ -1,19 +1,18 @@ + - - MXKVStoreCachedStates - ml.dmlc.mxnet.MXKVStoreCachedStates - - - - - - - - - - - - + + + + - - - -
    - Trait -

    ml.dmlc.mxnet

    -

    MXKVStoreCachedStates

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - trait - - - MXKVStoreCachedStates extends AnyRef - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. MXKVStoreCachedStates
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    - - - - -
    -

    Abstract Value Members

    -
    1. - - -

      - - abstract - def - - - deserializeState(bytes: Array[Byte]): Unit - -

      - - Permalink - - -

      Update states with serialized results

      Update states with serialized results

      bytes

      Generated by serializeState()

      -
    2. - - -

      - - abstract - def - - - serializeState(): Array[Byte] - -

      - - Permalink - - -

      Serialize states to byte array

      Serialize states to byte array

      returns

      serialized states

      -
    -
    - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    12. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    13. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - - val - - - states: HashMap[Int, AnyRef] - -

      - - Permalink - - -
      Attributes
      protected
      -
    16. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    18. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    19. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    20. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Trait +

    ml.dmlc.mxnet

    +

    MXKVStoreCachedStates

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +trait + + +MXKVStoreCachedStates extends AnyRef + +

    +
    +Linear Supertypes +
    AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. MXKVStoreCachedStates
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Abstract Value Members

    +
    1. + + +

      + +abstract +def + + +deserializeState(bytes: Array[Byte]): Unit + +

      + +Permalink + + +

      Update states with serialized results

      Update states with serialized results

      bytes

      Generated by serializeState()

      +
    2. + + +

      + +abstract +def + + +serializeState(): Array[Byte] + +

      + +Permalink + + +

      Serialize states to byte array

      Serialize states to byte array

      returns

      serialized states

      +
    +
    +
    +

    Concrete 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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    12. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    13. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + + +val + + +states: HashMap[Int, AnyRef] + +

      + +Permalink + + +
      Attributes
      protected
      +
    16. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    18. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    19. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    20. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/MXKVStoreUpdater.html b/api/scala/docs/ml/dmlc/mxnet/MXKVStoreUpdater.html index 0e4d15cac762..06e41a3de699 100644 --- a/api/scala/docs/ml/dmlc/mxnet/MXKVStoreUpdater.html +++ b/api/scala/docs/ml/dmlc/mxnet/MXKVStoreUpdater.html @@ -1,19 +1,18 @@ + - - MXKVStoreUpdater - ml.dmlc.mxnet.MXKVStoreUpdater - - - - - - - - - - - - + + + + - - - -
    - Trait -

    ml.dmlc.mxnet

    -

    MXKVStoreUpdater

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - trait - - - MXKVStoreUpdater extends AnyRef - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. MXKVStoreUpdater
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    - - - - -
    -

    Abstract Value Members

    -
    1. - - -

      - - abstract - def - - - dispose(): Unit - -

      - - Permalink - - - -
    2. - - -

      - - abstract - def - - - update(key: Int, recv: NDArray, local: NDArray): Unit - -

      - - Permalink - - -

      user-defined updater for the kvstore + + +

      +Trait +

      ml.dmlc.mxnet

      +

      MXKVStoreUpdater

      Related Doc: + package mxnet +

      + +Permalink + + +
      +

      + + +trait + + +MXKVStoreUpdater extends AnyRef + +

      +
      +Linear Supertypes +
      AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. MXKVStoreUpdater
      2. AnyRef
      3. Any
      4. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Abstract Value Members

      +
      1. + + +

        + +abstract +def + + +dispose(): Unit + +

        + +Permalink + + +
      2. + + +

        + +abstract +def + + +update(key: Int, recv: NDArray, local: NDArray): Unit + +

        + +Permalink + + +

        user-defined updater for the kvstore It's this updater's responsibility to delete recv and local

        user-defined updater for the kvstore It's this updater's responsibility to delete recv and local

        key

        the key

        recv

        the pushed value on this key

        local

        the value stored on local on this key

        -
      -
      - -
      -

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

        - - final - def - - - asInstanceOf[T0]: T0 - -

        - - Permalink - - -
        Definition Classes
        Any
        -
      5. - - -

        - - - def - - - clone(): AnyRef - -

        - - Permalink - - -
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      6. - - -

        - - final - def - - - eq(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      7. - - -

        - - - def - - - equals(arg0: Any): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      8. - - -

        - - - def - - - finalize(): Unit - -

        - - Permalink - - -
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - classOf[java.lang.Throwable] - ) - -
        -
      9. - - -

        - - final - def - - - getClass(): Class[_] - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      10. - - -

        - - - def - - - hashCode(): Int - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      11. - - -

        - - final - def - - - isInstanceOf[T0]: Boolean - -

        - - Permalink - - -
        Definition Classes
        Any
        -
      12. - - -

        - - final - def - - - ne(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      13. - - -

        - - final - def - - - notify(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      14. - - -

        - - final - def - - - notifyAll(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      15. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      16. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      17. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      18. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      19. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      -
      - - - - -
      - -
      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +
    +
    +
    +

    Concrete 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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    12. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    13. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    17. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    18. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    19. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IOFlag.html b/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IOFlag.html index 463f515e8663..87020d16514e 100644 --- a/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IOFlag.html +++ b/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IOFlag.html @@ -1,19 +1,18 @@ + - - IOFlag - ml.dmlc.mxnet.MXRecordIO.IOFlag - - - - - - - - - - - - + + + + - - - -
    - Trait -

    ml.dmlc.mxnet.MXRecordIO

    -

    IOFlag

    Related Doc: - package MXRecordIO -

    - - Permalink - - -
    - -

    - - sealed - trait - - - IOFlag extends AnyRef - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - Known Subclasses - -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. IOFlag
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    12. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    13. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    17. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    18. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    19. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Trait +

    ml.dmlc.mxnet.MXRecordIO

    +

    IOFlag

    Related Doc: + package MXRecordIO +

    + +Permalink + + +
    +

    + +sealed +trait + + +IOFlag extends AnyRef + +

    +
    +Linear Supertypes +
    AnyRef, Any
    +
    +Known Subclasses + +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. IOFlag
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    12. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    13. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    17. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    18. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    19. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IORead$.html b/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IORead$.html index f27da5e59e0e..07854c84e22b 100644 --- a/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IORead$.html +++ b/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IORead$.html @@ -1,19 +1,18 @@ + - - IORead - ml.dmlc.mxnet.MXRecordIO.IORead - - - - - - - - - - - - + + + + - - - -
    - Object -

    ml.dmlc.mxnet.MXRecordIO

    -

    IORead

    Related Doc: - package MXRecordIO -

    - - Permalink - - -
    - -

    - - - object - - - IORead extends IOFlag with Product with Serializable - -

    - -
    - Linear Supertypes -
    Serializable, Serializable, Product, Equals, IOFlag, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. IORead
    2. Serializable
    3. Serializable
    4. Product
    5. Equals
    6. IOFlag
    7. AnyRef
    8. Any
    9. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    11. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    12. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    13. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    16. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    17. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from Serializable

    -
    -

    Inherited from Serializable

    -
    -

    Inherited from Product

    -
    -

    Inherited from Equals

    -
    -

    Inherited from IOFlag

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Object +

    ml.dmlc.mxnet.MXRecordIO

    +

    IORead

    Related Doc: + package MXRecordIO +

    + +Permalink + + +
    +

    + + +object + + +IORead extends IOFlag with Product with Serializable + +

    +
    +Linear Supertypes +
    Serializable, Serializable, Product, Equals, IOFlag, AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. IORead
    2. Serializable
    3. Serializable
    4. Product
    5. Equals
    6. IOFlag
    7. AnyRef
    8. Any
    9. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    11. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    12. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    13. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    16. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    17. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from Serializable

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from Product

    +
    +

    Inherited from Equals

    +
    +

    Inherited from IOFlag

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IOWrite$.html b/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IOWrite$.html index e788f2f1f5fa..89dcf09ec6a9 100644 --- a/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IOWrite$.html +++ b/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IOWrite$.html @@ -1,19 +1,18 @@ + - - IOWrite - ml.dmlc.mxnet.MXRecordIO.IOWrite - - - - - - - - - - - - + + + + - - - -
    - Object -

    ml.dmlc.mxnet.MXRecordIO

    -

    IOWrite

    Related Doc: - package MXRecordIO -

    - - Permalink - - -
    - -

    - - - object - - - IOWrite extends IOFlag with Product with Serializable - -

    - -
    - Linear Supertypes -
    Serializable, Serializable, Product, Equals, IOFlag, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. IOWrite
    2. Serializable
    3. Serializable
    4. Product
    5. Equals
    6. IOFlag
    7. AnyRef
    8. Any
    9. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    11. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    12. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    13. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    16. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    17. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from Serializable

    -
    -

    Inherited from Serializable

    -
    -

    Inherited from Product

    -
    -

    Inherited from Equals

    -
    -

    Inherited from IOFlag

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Object +

    ml.dmlc.mxnet.MXRecordIO

    +

    IOWrite

    Related Doc: + package MXRecordIO +

    + +Permalink + + +
    +

    + + +object + + +IOWrite extends IOFlag with Product with Serializable + +

    +
    +Linear Supertypes +
    Serializable, Serializable, Product, Equals, IOFlag, AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. IOWrite
    2. Serializable
    3. Serializable
    4. Product
    5. Equals
    6. IOFlag
    7. AnyRef
    8. Any
    9. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    11. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    12. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    13. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    16. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    17. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from Serializable

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from Product

    +
    +

    Inherited from Equals

    +
    +

    Inherited from IOFlag

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IRHeader.html b/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IRHeader.html index e731c64bbb10..a6d756599358 100644 --- a/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IRHeader.html +++ b/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$$IRHeader.html @@ -1,19 +1,18 @@ + - - IRHeader - ml.dmlc.mxnet.MXRecordIO.IRHeader - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.MXRecordIO

    -

    IRHeader

    Related Doc: - package MXRecordIO -

    - - Permalink - - -
    - -

    - - - case class - - - IRHeader(flag: Int, label: Array[Float], id: Int, id2: Int) extends Product with Serializable - -

    - -
    - Linear Supertypes -
    Serializable, Serializable, Product, Equals, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. IRHeader
    2. Serializable
    3. Serializable
    4. Product
    5. Equals
    6. AnyRef
    7. Any
    8. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - IRHeader(flag: Int, label: Array[Float], id: Int, id2: Int) - -

      - - Permalink - - - -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    8. - - -

      - - - val - - - flag: Int - -

      - - Permalink - - - -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - val - - - id: Int - -

      - - Permalink - - - -
    11. - - -

      - - - val - - - id2: Int - -

      - - Permalink - - - -
    12. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    13. - - -

      - - - val - - - label: Array[Float] - -

      - - Permalink - - - -
    14. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    18. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    19. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    20. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from Serializable

    -
    -

    Inherited from Serializable

    -
    -

    Inherited from Product

    -
    -

    Inherited from Equals

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Class +

    ml.dmlc.mxnet.MXRecordIO

    +

    IRHeader

    Related Doc: + package MXRecordIO +

    + +Permalink + + +
    +

    + + +case class + + +IRHeader(flag: Int, label: Array[Float], id: Int, id2: Int) extends Product with Serializable + +

    +
    +Linear Supertypes +
    Serializable, Serializable, Product, Equals, AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. IRHeader
    2. Serializable
    3. Serializable
    4. Product
    5. Equals
    6. AnyRef
    7. Any
    8. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +IRHeader(flag: Int, label: Array[Float], id: Int, id2: Int) + +

      + +Permalink + + +
    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    8. + + +

      + + +val + + +flag: Int + +

      + +Permalink + + +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +val + + +id: Int + +

      + +Permalink + + +
    11. + + +

      + + +val + + +id2: Int + +

      + +Permalink + + +
    12. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    13. + + +

      + + +val + + +label: Array[Float] + +

      + +Permalink + + +
    14. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    18. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    19. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    20. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from Serializable

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from Product

    +
    +

    Inherited from Equals

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$.html b/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$.html index b34a6fa8a738..d13796f6f688 100644 --- a/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$.html +++ b/api/scala/docs/ml/dmlc/mxnet/MXRecordIO$.html @@ -1,19 +1,18 @@ + - - MXRecordIO - ml.dmlc.mxnet.MXRecordIO - - - - - - - - - - - - + + + + - - - -
    - Object/Class -

    ml.dmlc.mxnet

    -

    MXRecordIO

    + + + - -

    - - - object - - - MXRecordIO - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. MXRecordIO
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    - - -
    -

    Type Members

    -
    1. - - -

      - - sealed - trait - - - IOFlag extends AnyRef - -

      - - Permalink - - - -
    2. - - -

      - - - case class - - - IRHeader(flag: Int, label: Array[Float], id: Int, id2: Int) extends Product with Serializable - -

      - - Permalink - - - -
    -
    - - - -
    -

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

      - - - object - - - IORead extends IOFlag with Product with Serializable - -

      - - Permalink - - - -
    5. - - -

      - - - object - - - IOWrite extends IOFlag with Product with Serializable - -

      - - Permalink - - - -
    6. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    7. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    8. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    9. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    11. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    14. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - def - - - pack(header: IRHeader, s: String): String - -

      - - Permalink - - -

      pack an string into MXImageRecord.

      pack an string into MXImageRecord.

      s

      string to pack

      returns

      the resulting packed string

      -
    18. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    19. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    20. - - -

      - - - def - - - unpack(s: String): (IRHeader, String) - -

      - - Permalink - - -

      unpack a MXImageRecord to string.

      unpack a MXImageRecord to string.

      s

      string buffer from MXRecordIO.read

      returns

      + | package mxnet +

    + +Permalink + + +
    +

    + + +object + + +MXRecordIO + +

    +
    +Linear Supertypes +
    AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. MXRecordIO
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Type Members

    +
    1. + + +

      + +sealed +trait + + +IOFlag extends AnyRef + +

      + +Permalink + + +
    2. + + +

      + + +case class + + +IRHeader(flag: Int, label: Array[Float], id: Int, id2: Int) extends Product with Serializable + +

      + +Permalink + + +
    +
    +
    +

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

      + + +object + + +IORead extends IOFlag with Product with Serializable + +

      + +Permalink + + +
    5. + + +

      + + +object + + +IOWrite extends IOFlag with Product with Serializable + +

      + +Permalink + + +
    6. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    7. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    8. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    9. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    11. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    13. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    14. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +def + + +pack(header: IRHeader, s: String): String + +

      + +Permalink + + +

      pack an string into MXImageRecord.

      pack an string into MXImageRecord.

      s

      string to pack

      returns

      the resulting packed string

      +
    18. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    19. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    20. + + +

      + + +def + + +unpack(s: String): (IRHeader, String) + +

      + +Permalink + + +

      unpack a MXImageRecord to string.

      unpack a MXImageRecord to string.

      s

      string buffer from MXRecordIO.read

      returns

      header : IRHeader, header of the image record str : String, unpacked string

      -
    21. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    22. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    23. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/MXRecordIO.html b/api/scala/docs/ml/dmlc/mxnet/MXRecordIO.html index dc5c32ab579d..bf25144c0803 100644 --- a/api/scala/docs/ml/dmlc/mxnet/MXRecordIO.html +++ b/api/scala/docs/ml/dmlc/mxnet/MXRecordIO.html @@ -1,19 +1,18 @@ + - - MXRecordIO - ml.dmlc.mxnet.MXRecordIO - - - - - - - - - - - - + + + + - - - -
    - Class/Object -

    ml.dmlc.mxnet

    -

    MXRecordIO

    + + + - -

    - - - class - - - MXRecordIO extends AnyRef - -

    - -

    Scala interface for read/write RecordIO data format + | package mxnet +

    + +Permalink + + +
    +

    + + +class + + +MXRecordIO extends AnyRef + +

    +

    Scala interface for read/write RecordIO data format

    - Linear Supertypes -
    AnyRef, Any
    -
    - Known Subclasses - -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. MXRecordIO
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - MXRecordIO(uri: String, flag: IOFlag) - -

      - - Permalink - - -

      -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - def - - - close(): Unit - -

      - - Permalink - - - -
    7. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    8. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    9. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    10. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    13. - - -

      - - - var - - - isOpen: Boolean - -

      - - Permalink - - -
      Attributes
      protected
      -
    14. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - def - - - open(): Unit - -

      - - Permalink - - -
      Attributes
      protected
      -
    18. - - -

      - - - def - - - read(): String - -

      - - Permalink - - - -
    19. - - -

      - - - val - - - recordIOHandle: RecordIOHandleRef - -

      - - Permalink - - -
      Attributes
      protected
      -
    20. - - -

      - - - def - - - reset(): Unit - -

      - - Permalink - - - -
    21. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    22. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    23. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    24. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    25. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    26. - - -

      - - - def - - - write(buf: String): Unit - -

      - - Permalink - - - -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +Linear Supertypes +
    AnyRef, Any
    +
    +Known Subclasses +
    MXIndexedRecordIO
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. MXRecordIO
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +MXRecordIO(uri: String, flag: IOFlag) + +

      + +Permalink + + +

      +
    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + + +def + + +close(): Unit + +

      + +Permalink + + +
    7. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    8. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    9. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    10. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    13. + + +

      + + +var + + +isOpen: Boolean + +

      + +Permalink + + +
      Attributes
      protected
      +
    14. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +def + + +open(): Unit + +

      + +Permalink + + +
      Attributes
      protected
      +
    18. + + +

      + + +def + + +read(): String + +

      + +Permalink + + +
    19. + + +

      + + +val + + +recordIOHandle: RecordIOHandleRef + +

      + +Permalink + + +
      Attributes
      protected
      +
    20. + + +

      + + +def + + +reset(): Unit + +

      + +Permalink + + +
    21. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    22. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    23. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    24. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    25. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    26. + + +

      + + +def + + +write(buf: String): Unit + +

      + +Permalink + + +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Mixed.html b/api/scala/docs/ml/dmlc/mxnet/Mixed.html index 483131cbaa10..ec6cf4ed02dc 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Mixed.html +++ b/api/scala/docs/ml/dmlc/mxnet/Mixed.html @@ -1,19 +1,18 @@ + - - Mixed - ml.dmlc.mxnet.Mixed - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet

    -

    Mixed

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - Mixed extends Initializer - -

    - -

    Initialize the weight with mixed Initializer + + +

    +Class +

    ml.dmlc.mxnet

    +

    Mixed

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +class + + +Mixed extends Initializer + +

    +

    Initialize the weight with mixed Initializer

    - Linear Supertypes -
    Initializer, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Mixed
    2. Initializer
    3. AnyRef
    4. Any
    5. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - Mixed(patterns: List[String], initializers: List[Initializer]) - -

      - - Permalink - - -

      patterns

      List of regular expression patterns to match parameter names.

      initializers

      List of Initializer corrosponding to patterns

      -
    -
    - - - - - -
    -

    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 - - - apply(name: String, arr: NDArray): Unit - -

      - - Permalink - - -

      Initialize an Initializer +Linear Supertypes +

      Initializer, AnyRef, Any
      +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Mixed
    2. Initializer
    3. AnyRef
    4. Any
    5. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +Mixed(patterns: List[String], initializers: List[Initializer]) + +

      + +Permalink + + +

      patterns

      List of regular expression patterns to match parameter names.

      initializers

      List of Initializer corrosponding to patterns

      +
    +
    +
    +

    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 + + +apply(name: String, arr: NDArray): Unit + +

      + +Permalink + + +

      Initialize an Initializer

      Initialize an Initializer -

      name

      name of corrosponding ndarray

      arr

      ndarray to be Initialized

      Definition Classes
      MixedInitializer
      -
    5. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    6. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    7. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    8. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    9. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    10. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - - def - - - initBeta(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    13. - - -

      - - - def - - - initBias(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    14. - - -

      - - - def - - - initBilinear(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    15. - - -

      - - - def - - - initDefault(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    16. - - -

      - - - def - - - initGamma(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    17. - - -

      - - - def - - - initWeight(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Definition Classes
      MixedInitializer
      -
    18. - - -

      - - - def - - - initZero(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    19. - - -

      - - - val - - - initializers: List[Initializer] - -

      - - Permalink - - -

      List of Initializer corrosponding to patterns

      List of Initializer corrosponding to patterns

      Attributes
      protected
      -
    20. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    21. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    22. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    23. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    24. - - -

      - - - val - - - patterns: List[String] - -

      - - Permalink - - -

      List of regular expression patterns to match parameter names.

      List of regular expression patterns to match parameter names.

      Attributes
      protected
      -
    25. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    26. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    27. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    28. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    29. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from Initializer

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +

    name

    name of corrosponding ndarray

    arr

    ndarray to be Initialized

    Definition Classes
    MixedInitializer
    +
  • + + +

    + +final +def + + +asInstanceOf[T0]: T0 + +

    + +Permalink + + +
    Definition Classes
    Any
    +
  • + + +

    + + +def + + +clone(): AnyRef + +

    + +Permalink + + +
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +eq(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +equals(arg0: Any): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +finalize(): Unit + +

    + +Permalink + + +
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    +@throws( +classOf[java.lang.Throwable] +) +
    +
  • + + +

    + +final +def + + +getClass(): Class[_] + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +hashCode(): Int + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +initBeta(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initBias(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initBilinear(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initDefault(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initGamma(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initWeight(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Definition Classes
    MixedInitializer
    +
  • + + +

    + + +def + + +initZero(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +val + + +initializers: List[Initializer] + +

    + +Permalink + + +

    List of Initializer corrosponding to patterns

    List of Initializer corrosponding to patterns

    Attributes
    protected
    +
  • + + +

    + +final +def + + +isInstanceOf[T0]: Boolean + +

    + +Permalink + + +
    Definition Classes
    Any
    +
  • + + +

    + +final +def + + +ne(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notify(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notifyAll(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +val + + +patterns: List[String] + +

    + +Permalink + + +

    List of regular expression patterns to match parameter names.

    List of regular expression patterns to match parameter names.

    Attributes
    protected
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • +
    + +
    +
    +

    Inherited from Initializer

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Model$$SerializedModel.html b/api/scala/docs/ml/dmlc/mxnet/Model$$SerializedModel.html index e459f84f19bd..f9f4628a4d82 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Model$$SerializedModel.html +++ b/api/scala/docs/ml/dmlc/mxnet/Model$$SerializedModel.html @@ -1,19 +1,18 @@ + - - SerializedModel - ml.dmlc.mxnet.Model.SerializedModel - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.Model

    -

    SerializedModel

    Related Doc: - package Model -

    - - Permalink - - -
    - -

    - - - class - - - SerializedModel extends Serializable - -

    - -
    - Linear Supertypes -
    Serializable, Serializable, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. SerializedModel
    2. Serializable
    3. Serializable
    4. AnyRef
    5. Any
    6. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - - val - - - argParams: Map[String, Array[Byte]] - -

      - - Permalink - - - -
    5. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    6. - - -

      - - - val - - - auxParams: Map[String, Array[Byte]] - -

      - - Permalink - - - -
    7. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    8. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    9. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    11. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    14. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - val - - - symbol: String - -

      - - Permalink - - - -
    18. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    19. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    20. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    21. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    22. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from Serializable

    -
    -

    Inherited from Serializable

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Class +

    ml.dmlc.mxnet.Model

    +

    SerializedModel

    Related Doc: + package Model +

    + +Permalink + + +
    +

    + + +class + + +SerializedModel extends Serializable + +

    +
    +Linear Supertypes +
    Serializable, Serializable, AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. SerializedModel
    2. Serializable
    3. Serializable
    4. AnyRef
    5. Any
    6. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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. + + +

      + + +val + + +argParams: Map[String, Array[Byte]] + +

      + +Permalink + + +
    5. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    6. + + +

      + + +val + + +auxParams: Map[String, Array[Byte]] + +

      + +Permalink + + +
    7. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    8. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    9. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    11. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    13. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    14. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +val + + +symbol: String + +

      + +Permalink + + +
    18. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    19. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    20. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    21. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    22. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from Serializable

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Model$.html b/api/scala/docs/ml/dmlc/mxnet/Model$.html index fcaa6d4ed378..181a5f8d7e10 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Model$.html +++ b/api/scala/docs/ml/dmlc/mxnet/Model$.html @@ -1,19 +1,18 @@ + - - Model - ml.dmlc.mxnet.Model - - - - - - - - - - - - + + + + - - - -
    - Object/Class -

    ml.dmlc.mxnet

    -

    Model

    + + +
    +Object/Class +

    ml.dmlc.mxnet

    +

    Model

    Related Docs: class Model - | package mxnet -

    - - Permalink - - -
    - -

    - - - object - - - Model - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Model
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    - - -
    -

    Type Members

    -
    1. - - -

      - - - class - - - SerializedModel extends Serializable - -

      - - Permalink - - - -
    -
    - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    12. - - -

      - - - def - - - loadCheckpoint(prefix: String, epoch: Int): (Symbol, Map[String, NDArray], Map[String, NDArray]) - -

      - - Permalink - - -

      Load model checkpoint from file.

      Load model checkpoint from file. + | package mxnet +

    + +Permalink + + +
    +

    + + +object + + +Model + +

    +
    +Linear Supertypes +
    AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Model
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Type Members

    +
    1. + + +

      + + +class + + +SerializedModel extends Serializable + +

      + +Permalink + + +
    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    12. + + +

      + + +def + + +loadCheckpoint(prefix: String, epoch: Int): (Symbol, Map[String, NDArray], Map[String, NDArray]) + +

      + +Permalink + + +

      Load model checkpoint from file.

      Load model checkpoint from file.

      prefix

      Prefix of model name.

      epoch

      Epoch number of model we would like to load.

      returns

      symbol : The symbol configuration of computation network. argParams : Model parameter, dict of name to NDArray of net's weights. auxParams : Model parameter, dict of name to NDArray of net's auxiliary states.

      Note

      - symbol will be loaded from prefix-symbol.json. - parameters will be loaded from prefix-epoch.params.

      -
    13. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - - def - - - saveCheckpoint(prefix: String, epoch: Int, symbol: Symbol, argParams: Map[String, NDArray], auxParams: Map[String, NDArray]): Unit - -

      - - Permalink - - -

      Checkpoint the model data into file.

      Checkpoint the model data into file.

      prefix

      Prefix of model name.

      epoch

      The epoch number of the model.

      symbol

      The input symbol

      argParams

      Model parameter, dict of name to NDArray of net's weights.

      auxParams

      Model parameter, dict of name to NDArray of net's auxiliary states.

      Note

      +

    17. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    18. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    19. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    20. + + +

      + + +def + + +saveCheckpoint(prefix: String, epoch: Int, symbol: Symbol, argParams: Map[String, NDArray], auxParams: Map[String, NDArray]): Unit + +

      + +Permalink + + +

      Checkpoint the model data into file.

      Checkpoint the model data into file.

      prefix

      Prefix of model name.

      epoch

      The epoch number of the model.

      symbol

      The input symbol

      argParams

      Model parameter, dict of name to NDArray of net's weights.

      auxParams

      Model parameter, dict of name to NDArray of net's auxiliary states.

      Note

      - prefix-symbol.json will be saved for symbol. - prefix-epoch.params will be saved for parameters.

      -
    21. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    22. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    23. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    24. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    25. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Model.html b/api/scala/docs/ml/dmlc/mxnet/Model.html index 550b59b03306..82ca1e91eeca 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Model.html +++ b/api/scala/docs/ml/dmlc/mxnet/Model.html @@ -1,19 +1,18 @@ + - - Model - ml.dmlc.mxnet.Model - - - - - - - - - - - - + + + + - - - -
    - Class/Object -

    ml.dmlc.mxnet

    -

    Model

    + + +
    +Class/Object +

    ml.dmlc.mxnet

    +

    Model

    Related Docs: object Model - | package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - Model extends AnyRef - -

    - -

    Describe the model flow + | package mxnet +

    + +Permalink + + +
    +

    + + +class + + +Model extends AnyRef + +

    +

    Describe the model flow

    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Model
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - Model() - -

      - - Permalink - - - -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    12. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    13. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    17. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    18. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    19. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +Linear Supertypes +
    AnyRef, Any
    + +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Model
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +Model() + +

      + +Permalink + + +
    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    12. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    13. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    17. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    18. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    19. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Monitor.html b/api/scala/docs/ml/dmlc/mxnet/Monitor.html index e620e586296a..4adaa7aae712 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Monitor.html +++ b/api/scala/docs/ml/dmlc/mxnet/Monitor.html @@ -1,19 +1,18 @@ + - - Monitor - ml.dmlc.mxnet.Monitor - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet

    -

    Monitor

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - Monitor extends AnyRef - -

    - -

    Monitor outputs, weights, and gradients for debugging. + + +

    +Class +

    ml.dmlc.mxnet

    +

    Monitor

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +class + + +Monitor extends AnyRef + +

    +

    Monitor outputs, weights, and gradients for debugging.

    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Monitor
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - Monitor(interval: Int, statFunc: (NDArray) ⇒ NDArray = null) - -

      - - Permalink - - -

      interval

      Number of batches between printing.

      statFunc

      A function that computes statistics of tensors. +Linear Supertypes +

      AnyRef, Any
      +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Monitor
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +Monitor(interval: Int, statFunc: (NDArray) ⇒ NDArray = null) + +

      + +Permalink + + +

      interval

      Number of batches between printing.

      statFunc

      A function that computes statistics of tensors. Takes a NDArray and returns a NDArray. defaults to mean absolute value |x|/size(x).

      -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - install(exe: Executor): Unit - -

      - - Permalink - - -

      Install callback to executor.

      Install callback to executor. +

    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + + +def + + +install(exe: Executor): Unit + +

      + +Permalink + + +

      Install callback to executor.

      Install callback to executor. Supports installing to multiple exes

      exe

      the Executor (returned by symbol.bind) to install to.

      -
    12. - - -

      - - - val - - - interval: Int - -

      - - Permalink - - -

      Number of batches between printing.

      Number of batches between printing.

      Attributes
      protected
      -
    13. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    14. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - var - - - statFunc: (NDArray) ⇒ NDArray - -

      - - Permalink - - -

      A function that computes statistics of tensors.

      A function that computes statistics of tensors. +

    18. + + +

      + + +val + + +interval: Int + +

      + +Permalink + + +

      Number of batches between printing.

      Number of batches between printing.

      Attributes
      protected
      +
    19. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    20. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    21. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    22. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    23. + + +

      + + +var + + +statFunc: (NDArray) ⇒ NDArray + +

      + +Permalink + + +

      A function that computes statistics of tensors.

      A function that computes statistics of tensors. Takes a NDArray and returns a NDArray. defaults to mean absolute value |x|/size(x).

      Attributes
      protected
      -
    24. - - -

      - - - val - - - statHelper: MXMonitorCallback - -

      - - Permalink - - - -
    25. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    26. - - -

      - - - def - - - tic(): Unit - -

      - - Permalink - - -

      Start collecting stats for current batch.

      Start collecting stats for current batch. +

    27. + + +

      + + +val + + +statHelper: MXMonitorCallback + +

      + +Permalink + + +
    28. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    29. + + +

      + + +def + + +tic(): Unit + +

      + +Permalink + + +

      Start collecting stats for current batch.

      Start collecting stats for current batch. Call before forward

      -
    30. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    31. - - -

      - - - def - - - toc(): Queue[(Int, String, String)] - -

      - - Permalink - - -

      End collecting for current batch and return results.

      End collecting for current batch and return results. +

    32. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    33. + + +

      + + +def + + +toc(): Queue[(Int, String, String)] + +

      + +Permalink + + +

      End collecting for current batch and return results.

      End collecting for current batch and return results. Call after computation of current batch.

      -
    34. - - -

      - - - def - - - tocPrint(): Unit - -

      - - Permalink - - -

      End collecting and print results +

    35. + + +

      + + +def + + +tocPrint(): Unit + +

      + +Permalink + + +

      End collecting and print results

      -
    36. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    37. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    38. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/NDArray$.html b/api/scala/docs/ml/dmlc/mxnet/NDArray$.html index 1b394481b30a..dca555cfb359 100644 --- a/api/scala/docs/ml/dmlc/mxnet/NDArray$.html +++ b/api/scala/docs/ml/dmlc/mxnet/NDArray$.html @@ -1,19 +1,18 @@ + - - NDArray - ml.dmlc.mxnet.NDArray - - - - - - - - - - - - + + + + - - - -
    - Object/Class -

    ml.dmlc.mxnet

    -

    NDArray

    + + +
    +Object/Class +

    ml.dmlc.mxnet

    +

    NDArray

    Related Docs: class NDArray - | package mxnet -

    - - Permalink - - -
    - -

    - - - object - - - NDArray - -

    - -

    NDArray API of mxnet + | package mxnet +

    + +Permalink + + +
    +

    + + +object + + +NDArray + +

    +

    NDArray API of mxnet

    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. NDArray
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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 - - - array(sourceArr: Array[Float], shape: Shape, ctx: Context = null): NDArray - -

      - - Permalink - - -

      Create a new NDArray that copies content from source_array.

      Create a new NDArray that copies content from source_array.

      sourceArr

      Source data to create NDArray from.

      shape

      shape of the NDArray

      ctx

      The context of the NDArray, default to current default context.

      returns

      The created NDArray.

      -
    5. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    6. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    7. - - -

      - - - def - - - concatenate(arrays: NDArray*): NDArray - -

      - - Permalink - - - -
    8. - - -

      - - - def - - - concatenate(arrays: Seq[NDArray], axis: Int = 0, alwaysCopy: Boolean = true): NDArray - -

      - - Permalink - - -

      Concatenate a list of NDArrays along the specified dimension.

      Concatenate a list of NDArrays along the specified dimension.

      arrays

      Arrays to be concatenate. +Linear Supertypes +

      AnyRef, Any
      +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. NDArray
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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 + + +arange(start: Float, stop: Option[Float] = None, step: Float = 1.0f, repeat: Int = 1, ctx: Context = Context.defaultCtx, dType: DType = Base.MX_REAL_TYPE): NDArray + +

      + +Permalink + + +

      Returns evenly spaced values within a given interval.

      Returns evenly spaced values within a given interval. +Values are generated within the half-open interval [start, stop). In other +words, the interval includes start but excludes stop.

      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.

      ctx

      Device context. Default context is the current default context.

      dType

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

      returns

      NDArray of evenly spaced values in the specified range.

      +
    5. + + +

      + + +def + + +array(sourceArr: Array[Float], shape: Shape, ctx: Context = null): NDArray + +

      + +Permalink + + +

      Create a new NDArray that copies content from source_array.

      Create a new NDArray that copies content from source_array.

      sourceArr

      Source data to create NDArray from.

      shape

      shape of the NDArray

      ctx

      The context of the NDArray, default to current default context.

      returns

      The created NDArray.

      +
    6. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    7. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    8. + + +

      + + +def + + +concatenate(arrays: NDArray*): NDArray + +

      + +Permalink + + +
    9. + + +

      + + +def + + +concatenate(arrays: Seq[NDArray], axis: Int = 0, alwaysCopy: Boolean = true): NDArray + +

      + +Permalink + + +

      Concatenate a list of NDArrays along the specified dimension.

      Concatenate a list of NDArrays along the specified dimension.

      arrays

      Arrays to be concatenate. They must have identical shape except the first dimension. They also must have the same data type.

      axis

      The axis along which to concatenate.

      alwaysCopy

      Default True. When not True, if the arrays only contain one NDArray, that element will be returned directly, avoid copying.

      returns

      An NDArray that lives on the same context as arrays[0].context.

      -
    10. - - -

      - - - def - - - deserialize(bytes: Array[Byte]): NDArray - -

      - - Permalink - - - -
    11. - - -

      - - - def - - - empty(ctx: Context, shape: Int*): NDArray - -

      - - Permalink - - - -
    12. - - -

      - - - def - - - empty(shape: Int*): NDArray - -

      - - Permalink - - - -
    13. - - -

      - - - def - - - empty(shape: Shape, ctx: Context = null, dtype: DType = Base.MX_REAL_TYPE): NDArray - -

      - - Permalink - - -

      Create an empty uninitialized new NDArray, with specified shape.

      Create an empty uninitialized new NDArray, with specified shape. +

    14. + + +

      + + +def + + +deserialize(bytes: Array[Byte]): NDArray + +

      + +Permalink + + +
    15. + + +

      + + +def + + +empty(ctx: Context, shape: Int*): NDArray + +

      + +Permalink + + +
    16. + + +

      + + +def + + +empty(shape: Int*): NDArray + +

      + +Permalink + + +
    17. + + +

      + + +def + + +empty(shape: Shape, ctx: Context = null, dtype: DType = Base.MX_REAL_TYPE): NDArray + +

      + +Permalink + + +

      Create an empty uninitialized new NDArray, with specified shape.

      Create an empty uninitialized new NDArray, with specified shape.

      shape

      shape of the NDArray.

      ctx

      The context of the NDArray, default to current default context.

      returns

      The created NDArray.

      -
    18. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    19. - - -

      - - - def - - - equal(lhs: NDArray, rhs: Float): NDArray - -

      - - Permalink - - - -
    20. - - -

      - - - def - - - equal(lhs: NDArray, rhs: NDArray): NDArray - -

      - - Permalink - - -

      Returns the result of element-wise **equal to** (==) comparison operation with broadcasting.

      Returns the result of element-wise **equal to** (==) comparison operation with broadcasting. +

    21. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    22. + + +

      + + +def + + +equal(lhs: NDArray, rhs: Float): NDArray + +

      + +Permalink + + +
    23. + + +

      + + +def + + +equal(lhs: NDArray, rhs: NDArray): NDArray + +

      + +Permalink + + +

      Returns the result of element-wise **equal to** (==) comparison operation with broadcasting.

      Returns the result of element-wise **equal to** (==) comparison operation with broadcasting. For each element in input arrays, return 1(true) if corresponding elements are same, otherwise return 0(false).

      -
    24. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    25. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    26. - - -

      - - - def - - - full(shape: Shape, value: Float, ctx: Context = null): NDArray - -

      - - Permalink - - -

      Create a new NDArray filled with given value, with specified shape.

      Create a new NDArray filled with given value, with specified shape.

      shape

      shape of the NDArray.

      value

      value to be filled with

      ctx

      The context of the NDArray, default to current default context

      -
    27. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    28. - - -

      - - implicit - def - - - getFirstResult(ret: NDArrayFuncReturn): NDArray - -

      - - Permalink - - - -
    29. - - -

      - - - def - - - greater(lhs: NDArray, rhs: Float): NDArray - -

      - - Permalink - - - -
    30. - - -

      - - - def - - - greater(lhs: NDArray, rhs: NDArray): NDArray - -

      - - Permalink - - -

      Returns the result of element-wise **greater than** (>) comparison operation +

    31. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    32. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    33. + + +

      + + +def + + +full(shape: Shape, value: Float, ctx: Context = null): NDArray + +

      + +Permalink + + +

      Create a new NDArray filled with given value, with specified shape.

      Create a new NDArray filled with given value, with specified shape.

      shape

      shape of the NDArray.

      value

      value to be filled with

      ctx

      The context of the NDArray, default to current default context

      +
    34. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    35. + + +

      + +implicit +def + + +getFirstResult(ret: NDArrayFuncReturn): NDArray + +

      + +Permalink + + +
    36. + + +

      + + +def + + +greater(lhs: NDArray, rhs: Float): NDArray + +

      + +Permalink + + +
    37. + + +

      + + +def + + +greater(lhs: NDArray, rhs: NDArray): NDArray + +

      + +Permalink + + +

      Returns the result of element-wise **greater than** (>) comparison operation with broadcasting.

      Returns the result of element-wise **greater than** (>) comparison operation with broadcasting. For each element in input arrays, return 1(true) if lhs elements are greater than rhs, otherwise return 0(false).

      -
    38. - - -

      - - - def - - - greaterEqual(lhs: NDArray, rhs: Float): NDArray - -

      - - Permalink - - - -
    39. - - -

      - - - def - - - greaterEqual(lhs: NDArray, rhs: NDArray): NDArray - -

      - - Permalink - - -

      Returns the result of element-wise **greater than or equal to** (>=) comparison +

    40. + + +

      + + +def + + +greaterEqual(lhs: NDArray, rhs: Float): NDArray + +

      + +Permalink + + +
    41. + + +

      + + +def + + +greaterEqual(lhs: NDArray, rhs: NDArray): NDArray + +

      + +Permalink + + +

      Returns the result of element-wise **greater than or equal to** (>=) comparison operation with broadcasting.

      Returns the result of element-wise **greater than or equal to** (>=) comparison operation with broadcasting. For each element in input arrays, return 1(true) if lhs elements are greater than equal to rhs, otherwise return 0(false).

      -
    42. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    43. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    44. - - -

      - - - def - - - lesser(lhs: NDArray, rhs: Float): NDArray - -

      - - Permalink - - - -
    45. - - -

      - - - def - - - lesser(lhs: NDArray, rhs: NDArray): NDArray - -

      - - Permalink - - -

      Returns the result of element-wise **lesser than** (<) comparison operation +

    46. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    47. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    48. + + +

      + + +def + + +lesser(lhs: NDArray, rhs: Float): NDArray + +

      + +Permalink + + +
    49. + + +

      + + +def + + +lesser(lhs: NDArray, rhs: NDArray): NDArray + +

      + +Permalink + + +

      Returns the result of element-wise **lesser than** (<) comparison operation with broadcasting.

      Returns the result of element-wise **lesser than** (<) comparison operation with broadcasting. For each element in input arrays, return 1(true) if lhs elements are less than rhs, otherwise return 0(false).

      -
    50. - - -

      - - - def - - - lesserEqual(lhs: NDArray, rhs: Float): NDArray - -

      - - Permalink - - - -
    51. - - -

      - - - def - - - lesserEqual(lhs: NDArray, rhs: NDArray): NDArray - -

      - - Permalink - - -

      Returns the result of element-wise **lesser than or equal to** (<=) comparison +

    52. + + +

      + + +def + + +lesserEqual(lhs: NDArray, rhs: Float): NDArray + +

      + +Permalink + + +
    53. + + +

      + + +def + + +lesserEqual(lhs: NDArray, rhs: NDArray): NDArray + +

      + +Permalink + + +

      Returns the result of element-wise **lesser than or equal to** (<=) comparison operation with broadcasting.

      Returns the result of element-wise **lesser than or equal to** (<=) comparison operation with broadcasting. For each element in input arrays, return 1(true) if lhs elements are lesser than equal to rhs, otherwise return 0(false).

      -
    54. - - -

      - - - def - - - load(fname: String): (Array[String], Array[NDArray]) - -

      - - Permalink - - -

      Load ndarray from binary file.

      Load ndarray from binary file.

      You can also use pickle to do the job if you only work on python. +

    55. + + +

      + + +def + + +load(fname: String): (Array[String], Array[NDArray]) + +

      + +Permalink + + +

      Load ndarray from binary file.

      Load ndarray from binary 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.Can be S3 or HDFS address (remember built with S3 support). Example of fname:

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

      dict of str->NDArray to be saved

      -
    56. - - -

      - - - def - - - load2Array(fname: String): Array[NDArray] - -

      - - Permalink - - - -
    57. - - -

      - - - def - - - load2Map(fname: String): Map[String, NDArray] - -

      - - Permalink - - - -
    58. - - -

      - - - def - - - maximum(lhs: Float, rhs: NDArray): NDArray - -

      - - Permalink - - - -
    59. - - -

      - - - def - - - maximum(lhs: NDArray, rhs: Float): NDArray - -

      - - Permalink - - - -
    60. - - -

      - - - def - - - maximum(lhs: NDArray, rhs: NDArray): NDArray - -

      - - Permalink - - - -
    61. - - -

      - - - def - - - minimum(lhs: Float, rhs: NDArray): NDArray - -

      - - Permalink - - - -
    62. - - -

      - - - def - - - minimum(lhs: NDArray, rhs: Float): NDArray - -

      - - Permalink - - - -
    63. - - -

      - - - def - - - minimum(lhs: NDArray, rhs: NDArray): NDArray - -

      - - Permalink - - - -
    64. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    65. - - -

      - - - def - - - notEqual(lhs: NDArray, rhs: Float): NDArray - -

      - - Permalink - - - -
    66. - - -

      - - - def - - - notEqual(lhs: NDArray, rhs: NDArray): NDArray - -

      - - Permalink - - -

      Returns the result of element-wise **not equal to** (!=) comparison operation +

    67. + + +

      + + +def + + +load2Array(fname: String): Array[NDArray] + +

      + +Permalink + + +
    68. + + +

      + + +def + + +load2Map(fname: String): Map[String, NDArray] + +

      + +Permalink + + +
    69. + + +

      + + +def + + +maximum(lhs: Float, rhs: NDArray): NDArray + +

      + +Permalink + + +
    70. + + +

      + + +def + + +maximum(lhs: NDArray, rhs: Float): NDArray + +

      + +Permalink + + +
    71. + + +

      + + +def + + +maximum(lhs: NDArray, rhs: NDArray): NDArray + +

      + +Permalink + + +
    72. + + +

      + + +def + + +minimum(lhs: Float, rhs: NDArray): NDArray + +

      + +Permalink + + +
    73. + + +

      + + +def + + +minimum(lhs: NDArray, rhs: Float): NDArray + +

      + +Permalink + + +
    74. + + +

      + + +def + + +minimum(lhs: NDArray, rhs: NDArray): NDArray + +

      + +Permalink + + +
    75. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    76. + + +

      + + +def + + +notEqual(lhs: NDArray, rhs: Float): NDArray + +

      + +Permalink + + +
    77. + + +

      + + +def + + +notEqual(lhs: NDArray, rhs: NDArray): NDArray + +

      + +Permalink + + +

      Returns the result of element-wise **not equal to** (!=) comparison operation with broadcasting.

      Returns the result of element-wise **not equal to** (!=) comparison operation with broadcasting. For each element in input arrays, return 1(true) if corresponding elements are different, otherwise return 0(false).

      -
    78. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    79. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    80. - - -

      - - - def - - - onehotEncode(indices: NDArray, out: NDArray): NDArray - -

      - - Permalink - - -

      One hot encoding indices into matrix out.

      One hot encoding indices into matrix out.

      indices

      An NDArray containing indices of the categorical features.

      out

      The result holder of the encoding.

      returns

      Same as out.

      -
    81. - - -

      - - - def - - - ones(ctx: Context, shape: Int*): NDArray - -

      - - Permalink - - - -
    82. - - -

      - - - def - - - ones(shape: Int*): NDArray - -

      - - Permalink - - - -
    83. - - -

      - - - def - - - ones(shape: Shape, ctx: Context = null, dtype: DType = Base.MX_REAL_TYPE): NDArray - -

      - - Permalink - - -

      Create a new NDArray filled with 1, with specified shape.

      Create a new NDArray filled with 1, with specified shape.

      shape

      shape of the NDArray.

      ctx

      The context of the NDArray, default to current default context.

      returns

      The created NDArray.

      -
    84. - - -

      - - - def - - - power(lhs: Float, rhs: NDArray): NDArray - -

      - - Permalink - - - -
    85. - - -

      - - - def - - - power(lhs: NDArray, rhs: Float): NDArray - -

      - - Permalink - - - -
    86. - - -

      - - - def - - - power(lhs: NDArray, rhs: NDArray): NDArray - -

      - - Permalink - - - -
    87. - - -

      - - - def - - - save(fname: String, data: Traversable[NDArray]): Unit - -

      - - Permalink - - - -
    88. - - -

      - - - def - - - save(fname: String, data: Map[String, NDArray]): Unit - -

      - - Permalink - - -

      Save list of NDArray or dict of str->NDArray to binary file.

      Save list of NDArray or dict of str->NDArray to binary file.

      You can also use pickle to do the job if you only work on python. +

    89. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    90. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    91. + + +

      + + +def + + +onehotEncode(indices: NDArray, out: NDArray): NDArray + +

      + +Permalink + + +

      One hot encoding indices into matrix out.

      One hot encoding indices into matrix out.

      indices

      An NDArray containing indices of the categorical features.

      out

      The result holder of the encoding.

      returns

      Same as out.

      +
    92. + + +

      + + +def + + +ones(ctx: Context, shape: Int*): NDArray + +

      + +Permalink + + +
    93. + + +

      + + +def + + +ones(shape: Int*): NDArray + +

      + +Permalink + + +
    94. + + +

      + + +def + + +ones(shape: Shape, ctx: Context = null, dtype: DType = Base.MX_REAL_TYPE): NDArray + +

      + +Permalink + + +

      Create a new NDArray filled with 1, with specified shape.

      Create a new NDArray filled with 1, with specified shape.

      shape

      shape of the NDArray.

      ctx

      The context of the NDArray, default to current default context.

      returns

      The created NDArray.

      +
    95. + + +

      + + +def + + +power(lhs: Float, rhs: NDArray): NDArray + +

      + +Permalink + + +
    96. + + +

      + + +def + + +power(lhs: NDArray, rhs: Float): NDArray + +

      + +Permalink + + +
    97. + + +

      + + +def + + +power(lhs: NDArray, rhs: NDArray): NDArray + +

      + +Permalink + + +
    98. + + +

      + + +def + + +save(fname: String, data: Traversable[NDArray]): Unit + +

      + +Permalink + + +
    99. + + +

      + + +def + + +save(fname: String, data: Map[String, NDArray]): Unit + +

      + +Permalink + + +

      Save list of NDArray or dict of str->NDArray to binary file.

      Save list of NDArray or dict of str->NDArray to binary 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.Can be S3 or HDFS address (remember built with S3 support). Example of fname:

      • s3://my-bucket/path/my-s3-ndarray
      • hdfs://my-bucket/path/my-hdfs-ndarray
      • /path-to/my-local-ndarray
      data

      dict of str->NDArray

      -
    100. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    101. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    102. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    103. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    104. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    105. - - -

      - - - def - - - waitall(): Unit - -

      - - Permalink - - -

      Wait all async operation to finish in MXNet +

    106. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    107. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    108. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    109. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    110. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    111. + + +

      + + +def + + +waitall(): Unit + +

      + +Permalink + + +

      Wait all async operation to finish in MXNet This function is used for benchmark only

      -
    112. - - -

      - - - def - - - zeros(ctx: Context, shape: Int*): NDArray - -

      - - Permalink - - - -
    113. - - -

      - - - def - - - zeros(shape: Int*): NDArray - -

      - - Permalink - - - -
    114. - - -

      - - - def - - - zeros(shape: Shape, ctx: Context = null, dtype: DType = Base.MX_REAL_TYPE): NDArray - -

      - - Permalink - - -

      Create a new NDArray filled with 0, with specified shape.

      Create a new NDArray filled with 0, with specified shape. +

    115. + + +

      + + +def + + +zeros(ctx: Context, shape: Int*): NDArray + +

      + +Permalink + + +
    116. + + +

      + + +def + + +zeros(shape: Int*): NDArray + +

      + +Permalink + + +
    117. + + +

      + + +def + + +zeros(shape: Shape, ctx: Context = null, dtype: DType = Base.MX_REAL_TYPE): NDArray + +

      + +Permalink + + +

      Create a new NDArray filled with 0, with specified shape.

      Create a new NDArray filled with 0, with specified shape.

      shape

      shape of the NDArray.

      ctx

      The context of the NDArray, default to current default context.

      returns

      The created NDArray.

      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/NDArray.html b/api/scala/docs/ml/dmlc/mxnet/NDArray.html index deb69942b5b1..63af762bcb08 100644 --- a/api/scala/docs/ml/dmlc/mxnet/NDArray.html +++ b/api/scala/docs/ml/dmlc/mxnet/NDArray.html @@ -1,19 +1,18 @@ + - - NDArray - ml.dmlc.mxnet.NDArray - - - - - - - - - - - - + + + + - - - -
    - Class/Object -

    ml.dmlc.mxnet

    -

    NDArray

    + + +
    +Class/Object +

    ml.dmlc.mxnet

    +

    NDArray

    Related Docs: object NDArray - | package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - NDArray extends AnyRef - -

    - -

    NDArray object in mxnet. -NDArray is basic ndarray/Tensor like data structure in mxnet.
    + | package mxnet +

    + +Permalink + + +
    +

    + + +class + + +NDArray extends AnyRef + +

    +

    NDArray object in mxnet. +NDArray is basic ndarray/Tensor like data structure in mxnet.
    WARNING: it is your responsibility to clear this object through dispose(). NEVER rely on the GC strategy

    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. NDArray
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - - def - - - %(other: Float): NDArray - -

      - - Permalink - - - -
    4. - - -

      - - - def - - - %(other: NDArray): NDArray - -

      - - Permalink - - - -
    5. - - -

      - - - def - - - %=(other: Float): NDArray - -

      - - Permalink - - - -
    6. - - -

      - - - def - - - %=(other: NDArray): NDArray - -

      - - Permalink - - - -
    7. - - -

      - - - def - - - *(other: Float): NDArray - -

      - - Permalink - - - -
    8. - - -

      - - - def - - - *(other: NDArray): NDArray - -

      - - Permalink - - - -
    9. - - -

      - - - def - - - **(other: Float): NDArray - -

      - - Permalink - - - -
    10. - - -

      - - - def - - - **(other: NDArray): NDArray - -

      - - Permalink - - - -
    11. - - -

      - - - def - - - **=(other: Float): NDArray - -

      - - Permalink - - - -
    12. - - -

      - - - def - - - **=(other: NDArray): NDArray - -

      - - Permalink - - - -
    13. - - -

      - - - def - - - *=(other: Float): NDArray - -

      - - Permalink - - - -
    14. - - -

      - - - def - - - *=(other: NDArray): NDArray - -

      - - Permalink - - - -
    15. - - -

      - - - def - - - +(other: Float): NDArray - -

      - - Permalink - - - -
    16. - - -

      - - - def - - - +(other: NDArray): NDArray - -

      - - Permalink - - - -
    17. - - -

      - - - def - - - +=(other: Float): NDArray - -

      - - Permalink - - - -
    18. - - -

      - - - def - - - +=(other: NDArray): NDArray - -

      - - Permalink - - - -
    19. - - -

      - - - def - - - -(other: Float): NDArray - -

      - - Permalink - - - -
    20. - - -

      - - - def - - - -(other: NDArray): NDArray - -

      - - Permalink - - - -
    21. - - -

      - - - def - - - -=(other: Float): NDArray - -

      - - Permalink - - - -
    22. - - -

      - - - def - - - -=(other: NDArray): NDArray - -

      - - Permalink - - - -
    23. - - -

      - - - def - - - /(other: Float): NDArray - -

      - - Permalink - - - -
    24. - - -

      - - - def - - - /(other: NDArray): NDArray - -

      - - Permalink - - - -
    25. - - -

      - - - def - - - /=(other: Float): NDArray - -

      - - Permalink - - - -
    26. - - -

      - - - def - - - /=(other: NDArray): NDArray - -

      - - Permalink - - - -
    27. - - -

      - - - def - - - <(other: Float): NDArray - -

      - - Permalink - - - -
    28. - - -

      - - - def - - - <(other: NDArray): NDArray - -

      - - Permalink - - - -
    29. - - -

      - - - def - - - <=(other: Float): NDArray - -

      - - Permalink - - - -
    30. - - -

      - - - def - - - <=(other: NDArray): NDArray - -

      - - Permalink - - - -
    31. - - -

      - - final - def - - - ==(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    32. - - -

      - - - def - - - >(other: Float): NDArray - -

      - - Permalink - - - -
    33. - - -

      - - - def - - - >(other: NDArray): NDArray - -

      - - Permalink - - - -
    34. - - -

      - - - def - - - >=(other: Float): NDArray - -

      - - Permalink - - - -
    35. - - -

      - - - def - - - >=(other: NDArray): NDArray - -

      - - Permalink - - - -
    36. - - -

      - - - def - - - T: NDArray - -

      - - Permalink - - - -
    37. - - -

      - - - def - - - asInContext(context: Context): NDArray - -

      - - Permalink - - -

      Return an NDArray that lives in the target context.

      Return an NDArray that lives in the target context. If the array +Linear Supertypes +

      AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. NDArray
      2. AnyRef
      3. Any
      4. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +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. + + +

        + + +def + + +%(other: Float): NDArray + +

        + +Permalink + + +
      4. + + +

        + + +def + + +%(other: NDArray): NDArray + +

        + +Permalink + + +
      5. + + +

        + + +def + + +%=(other: Float): NDArray + +

        + +Permalink + + +
      6. + + +

        + + +def + + +%=(other: NDArray): NDArray + +

        + +Permalink + + +
      7. + + +

        + + +def + + +*(other: Float): NDArray + +

        + +Permalink + + +
      8. + + +

        + + +def + + +*(other: NDArray): NDArray + +

        + +Permalink + + +
      9. + + +

        + + +def + + +**(other: Float): NDArray + +

        + +Permalink + + +
      10. + + +

        + + +def + + +**(other: NDArray): NDArray + +

        + +Permalink + + +
      11. + + +

        + + +def + + +**=(other: Float): NDArray + +

        + +Permalink + + +
      12. + + +

        + + +def + + +**=(other: NDArray): NDArray + +

        + +Permalink + + +
      13. + + +

        + + +def + + +*=(other: Float): NDArray + +

        + +Permalink + + +
      14. + + +

        + + +def + + +*=(other: NDArray): NDArray + +

        + +Permalink + + +
      15. + + +

        + + +def + + ++(other: Float): NDArray + +

        + +Permalink + + +
      16. + + +

        + + +def + + ++(other: NDArray): NDArray + +

        + +Permalink + + +
      17. + + +

        + + +def + + ++=(other: Float): NDArray + +

        + +Permalink + + +
      18. + + +

        + + +def + + ++=(other: NDArray): NDArray + +

        + +Permalink + + +
      19. + + +

        + + +def + + +-(other: Float): NDArray + +

        + +Permalink + + +
      20. + + +

        + + +def + + +-(other: NDArray): NDArray + +

        + +Permalink + + +
      21. + + +

        + + +def + + +-=(other: Float): NDArray + +

        + +Permalink + + +
      22. + + +

        + + +def + + +-=(other: NDArray): NDArray + +

        + +Permalink + + +
      23. + + +

        + + +def + + +/(other: Float): NDArray + +

        + +Permalink + + +
      24. + + +

        + + +def + + +/(other: NDArray): NDArray + +

        + +Permalink + + +
      25. + + +

        + + +def + + +/=(other: Float): NDArray + +

        + +Permalink + + +
      26. + + +

        + + +def + + +/=(other: NDArray): NDArray + +

        + +Permalink + + +
      27. + + +

        + + +def + + +<(other: Float): NDArray + +

        + +Permalink + + +
      28. + + +

        + + +def + + +<(other: NDArray): NDArray + +

        + +Permalink + + +
      29. + + +

        + + +def + + +<=(other: Float): NDArray + +

        + +Permalink + + +
      30. + + +

        + + +def + + +<=(other: NDArray): NDArray + +

        + +Permalink + + +
      31. + + +

        + +final +def + + +==(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      32. + + +

        + + +def + + +>(other: Float): NDArray + +

        + +Permalink + + +
      33. + + +

        + + +def + + +>(other: NDArray): NDArray + +

        + +Permalink + + +
      34. + + +

        + + +def + + +>=(other: Float): NDArray + +

        + +Permalink + + +
      35. + + +

        + + +def + + +>=(other: NDArray): NDArray + +

        + +Permalink + + +
      36. + + +

        + + +def + + +T: NDArray + +

        + +Permalink + + +
      37. + + +

        + + +def + + +asInContext(context: Context): NDArray + +

        + +Permalink + + +

        Return an NDArray that lives in the target context.

        Return an NDArray that lives in the target context. If the array is already in that context, self is returned. Otherwise, a copy is made.

        context

        The target context we want the return value to live in.

        returns

        A copy or self as an NDArray that lives in the target context.

        -
      38. - - -

        - - final - def - - - asInstanceOf[T0]: T0 - -

        - - Permalink - - -
        Definition Classes
        Any
        -
      39. - - -

        - - - def - - - asType(dtype: DType): NDArray - -

        - - Permalink - - -

        Return a copied numpy array of current array with specified type.

        Return a copied numpy array of current array with specified type.

        dtype

        Desired type of result array.

        returns

        A copy of array content.

        -
      40. - - -

        - - - def - - - at(idx: Int): NDArray - -

        - - Permalink - - -

        Return a sub NDArray that shares memory with current one.

        Return a sub NDArray that shares memory with current one. +

      41. + + +

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      42. + + +

        + + +def + + +asType(dtype: DType): NDArray + +

        + +Permalink + + +

        Return a copied numpy array of current array with specified type.

        Return a copied numpy array of current array with specified type.

        dtype

        Desired type of result array.

        returns

        A copy of array content.

        +
      43. + + +

        + + +def + + +at(idx: Int): NDArray + +

        + +Permalink + + +

        Return a sub NDArray that shares memory with current one.

        Return a sub NDArray that shares memory with current one. the first axis will be rolled up, which causes its shape different from slice(i, i+1)

        idx

        index of sub array.

        -
      44. - - -

        - - - def - - - clone(): AnyRef - -

        - - Permalink - - -
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      45. - - -

        - - - def - - - context: Context - -

        - - Permalink - - -

        Get context of current NDArray.

        Get context of current NDArray.

        returns

        The context of current NDArray.

        -
      46. - - -

        - - - def - - - copy(): NDArray - -

        - - Permalink - - -

        Clone the current array

        Clone the current array

        returns

        the copied NDArray in the same context

        -
      47. - - -

        - - - def - - - copyTo(ctx: Context): NDArray - -

        - - Permalink - - -

        Copy the content of current array to a new NDArray in the context.

        Copy the content of current array to a new NDArray in the context. +

      48. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      49. + + +

        + + +def + + +context: Context + +

        + +Permalink + + +

        Get context of current NDArray.

        Get context of current NDArray.

        returns

        The context of current NDArray.

        +
      50. + + +

        + + +def + + +copy(): NDArray + +

        + +Permalink + + +

        Clone the current array

        Clone the current array

        returns

        the copied NDArray in the same context

        +
      51. + + +

        + + +def + + +copyTo(ctx: Context): NDArray + +

        + +Permalink + + +

        Copy the content of current array to a new NDArray in the context.

        Copy the content of current array to a new NDArray in the context.

        ctx

        Target context we want to copy data to.

        returns

        The copy target NDArray

        -
      52. - - -

        - - - def - - - copyTo(other: NDArray): NDArray - -

        - - Permalink - - -

        Copy the content of current array to other.

        Copy the content of current array to other. +

      53. + + +

        + + +def + + +copyTo(other: NDArray): NDArray + +

        + +Permalink + + +

        Copy the content of current array to other.

        Copy the content of current array to other.

        other

        Target NDArray or context we want to copy data to.

        returns

        The copy target NDArray

        -
      54. - - -

        - - - def - - - dispose(): Unit - -

        - - Permalink - - -

        Release the native memory.

        Release the native memory.
        -The NDArrays it depends on will NOT be disposed.
        +

      55. + + +

        + + +def + + +dispose(): Unit + +

        + +Permalink + + +

        Release the native memory.

        Release the native memory.
        +The NDArrays it depends on will NOT be disposed.
        The object shall never be used after it is disposed.

        -
      56. - - -

        - - - def - - - disposeDeps(): NDArray - -

        - - Permalink - - -

        Dispose all NDArrays who help to construct this array.

        Dispose all NDArrays who help to construct this array.
        +

      57. + + +

        + + +def + + +disposeDeps(): NDArray + +

        + +Permalink + + +

        Dispose all NDArrays who help to construct this array.

        Dispose all NDArrays who help to construct this array.
        e.g. (a * b + c).disposeDeps() will dispose a, b, c (including their deps) and a * b

        returns

        this array

        -
      58. - - -

        - - - def - - - disposeDepsExcept(arrs: NDArray*): NDArray - -

        - - Permalink - - -

        Dispose all NDArrays who help to construct this array, excepts those in the arguments.

        Dispose all NDArrays who help to construct this array, excepts those in the arguments.
        +

      59. + + +

        + + +def + + +disposeDepsExcept(arrs: NDArray*): NDArray + +

        + +Permalink + + +

        Dispose all NDArrays who help to construct this array, excepts those in the arguments.

        Dispose all NDArrays who help to construct this array, excepts those in the arguments.
        e.g. (a * b + c).disposeDepsExcept(a, b) will dispose c and a * b. Note that a, b's dependencies will not be disposed either.

        returns

        this array

        -
      60. - - -

        - - - def - - - dtype: DType - -

        - - Permalink - - -

        Get data type of current NDArray.

        Get data type of current NDArray.

        returns

        class representing type of current ndarray

        -
      61. - - -

        - - final - def - - - eq(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      62. - - -

        - - - def - - - equals(o: Any): Boolean - -

        - - Permalink - - -
        Definition Classes
        NDArray → AnyRef → Any
        -
      63. - - -

        - - - def - - - finalize(): Unit - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        NDArray → AnyRef
        -
      64. - - -

        - - final - def - - - getClass(): Class[_] - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      65. - - -

        - - - def - - - hashCode(): Int - -

        - - Permalink - - -
        Definition Classes
        NDArray → AnyRef → Any
        -
      66. - - -

        - - - def - - - internal: NDArrayInternal - -

        - - Permalink - - - -
      67. - - -

        - - - def - - - isDisposed: Boolean - -

        - - Permalink - - - -
      68. - - -

        - - final - def - - - isInstanceOf[T0]: Boolean - -

        - - Permalink - - -
        Definition Classes
        Any
        -
      69. - - -

        - - final - def - - - ne(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      70. - - -

        - - final - def - - - notify(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      71. - - -

        - - final - def - - - notifyAll(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      72. - - -

        - - - def - - - reshape(dims: Shape): NDArray - -

        - - Permalink - - -

        Return a reshaped NDArray that shares memory with current one.

        Return a reshaped NDArray that shares memory with current one.

        dims

        New shape.

        returns

        a reshaped NDArray that shares memory with current one.

        -
      73. - - -

        - - - def - - - reshape(dims: Array[Int]): NDArray - -

        - - Permalink - - -

        Return a reshaped NDArray that shares memory with current one.

        Return a reshaped NDArray that shares memory with current one.

        dims

        New shape.

        returns

        a reshaped NDArray that shares memory with current one.

        -
      74. - - -

        - - - def - - - serialize(): Array[Byte] - -

        - - Permalink - - - -
      75. - - -

        - - - def - - - set(other: Array[Float]): NDArray - -

        - - Permalink - - - -
      76. - - -

        - - - def - - - set(other: NDArray): NDArray - -

        - - Permalink - - - -
      77. - - -

        - - - def - - - set(value: Float): NDArray - -

        - - Permalink - - -

        Set the values of the NDArray

        Set the values of the NDArray

        value

        Value to set

        returns

        Current NDArray

        -
      78. - - -

        - - - def - - - shape: Shape - -

        - - Permalink - - -

        Get shape of current NDArray.

        Get shape of current NDArray.

        returns

        an array representing shape of current ndarray

        -
      79. - - -

        - - - def - - - size: Int - -

        - - Permalink - - - -
      80. - - -

        - - - def - - - slice(i: Int): NDArray - -

        - - Permalink - - -

        Return a sliced NDArray at the ith position of axis0

        Return a sliced NDArray at the ith position of axis0

        returns

        a sliced NDArray that shares memory with current one.

        -
      81. - - -

        - - - def - - - slice(range: (Int, Int)): NDArray - -

        - - Permalink - - - -
      82. - - -

        - - - def - - - slice(start: Int, stop: Int): NDArray - -

        - - Permalink - - -

        Return a sliced NDArray that shares memory with current one.

        Return a sliced NDArray that shares memory with current one. +

      83. + + +

        + + +def + + +dtype: DType + +

        + +Permalink + + +

        Get data type of current NDArray.

        Get data type of current NDArray.

        returns

        class representing type of current ndarray

        +
      84. + + +

        + +final +def + + +eq(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      85. + + +

        + + +def + + +equals(o: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        NDArray → AnyRef → Any
        +
      86. + + +

        + + +def + + +finalize(): Unit + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        NDArray → AnyRef
        +
      87. + + +

        + +final +def + + +getClass(): Class[_] + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      88. + + +

        + + +def + + +hashCode(): Int + +

        + +Permalink + + +
        Definition Classes
        NDArray → AnyRef → Any
        +
      89. + + +

        + + +def + + +internal: NDArrayInternal + +

        + +Permalink + + +
      90. + + +

        + + +def + + +isDisposed: Boolean + +

        + +Permalink + + +
      91. + + +

        + +final +def + + +isInstanceOf[T0]: Boolean + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      92. + + +

        + +final +def + + +ne(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      93. + + +

        + +final +def + + +notify(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      94. + + +

        + +final +def + + +notifyAll(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      95. + + +

        + + +def + + +reshape(dims: Shape): NDArray + +

        + +Permalink + + +

        Return a reshaped NDArray that shares memory with current one.

        Return a reshaped NDArray that shares memory with current one.

        dims

        New shape.

        returns

        a reshaped NDArray that shares memory with current one.

        +
      96. + + +

        + + +def + + +reshape(dims: Array[Int]): NDArray + +

        + +Permalink + + +

        Return a reshaped NDArray that shares memory with current one.

        Return a reshaped NDArray that shares memory with current one.

        dims

        New shape.

        returns

        a reshaped NDArray that shares memory with current one.

        +
      97. + + +

        + + +def + + +serialize(): Array[Byte] + +

        + +Permalink + + +
      98. + + +

        + + +def + + +set(other: Array[Float]): NDArray + +

        + +Permalink + + +
      99. + + +

        + + +def + + +set(other: NDArray): NDArray + +

        + +Permalink + + +
      100. + + +

        + + +def + + +set(value: Float): NDArray + +

        + +Permalink + + +

        Set the values of the NDArray

        Set the values of the NDArray

        value

        Value to set

        returns

        Current NDArray

        +
      101. + + +

        + + +def + + +shape: Shape + +

        + +Permalink + + +

        Get shape of current NDArray.

        Get shape of current NDArray.

        returns

        an array representing shape of current ndarray

        +
      102. + + +

        + + +def + + +size: Int + +

        + +Permalink + + +
      103. + + +

        + + +def + + +slice(i: Int): NDArray + +

        + +Permalink + + +

        Return a sliced NDArray at the ith position of axis0

        Return a sliced NDArray at the ith position of axis0

        returns

        a sliced NDArray that shares memory with current one.

        +
      104. + + +

        + + +def + + +slice(range: (Int, Int)): NDArray + +

        + +Permalink + + +
      105. + + +

        + + +def + + +slice(start: Int, stop: Int): NDArray + +

        + +Permalink + + +

        Return a sliced NDArray that shares memory with current one.

        Return a sliced NDArray that shares memory with current one. NDArray only support continuous slicing on axis 0

        start

        Starting index of slice.

        stop

        Finishing index of slice.

        returns

        a sliced NDArray that shares memory with current one.

        -
      106. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      107. - - -

        - - - def - - - toArray: Array[Float] - -

        - - Permalink - - -

        Return a copied flat java array of current array (row-major).

        Return a copied flat java array of current array (row-major).

        returns

        A copy of array content.

        -
      108. - - -

        - - - def - - - toScalar: Float - -

        - - Permalink - - -

        Return a CPU scalar(float) of current ndarray.

        Return a CPU scalar(float) of current ndarray. +

      109. + + +

        + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      110. + + +

        + + +def + + +toArray: Array[Float] + +

        + +Permalink + + +

        Return a copied flat java array of current array (row-major).

        Return a copied flat java array of current array (row-major).

        returns

        A copy of array content.

        +
      111. + + +

        + + +def + + +toScalar: Float + +

        + +Permalink + + +

        Return a CPU scalar(float) of current ndarray.

        Return a CPU scalar(float) of current ndarray. This ndarray must have shape (1,)

        returns

        The scalar representation of the ndarray.

        -
      112. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      113. - - -

        - - - def - - - unary_-(): NDArray - -

        - - Permalink - - - -
      114. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      115. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      116. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      117. - - -

        - - - def - - - waitToRead(): Unit - -

        - - Permalink - - -

        Block until all pending writes operations on current NDArray are finished.

        Block until all pending writes operations on current NDArray are finished. +

      118. + + +

        + + +def + + +toString(): String + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      119. + + +

        + + +def + + +unary_-(): NDArray + +

        + +Permalink + + +
      120. + + +

        + +final +def + + +wait(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      121. + + +

        + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      122. + + +

        + +final +def + + +wait(arg0: Long): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      123. + + +

        + + +def + + +waitToRead(): Unit + +

        + +Permalink + + +

        Block until all pending writes operations on current NDArray are finished.

        Block until all pending writes operations on current NDArray are finished. This function will return when all the pending writes to the current NDArray finishes. There can still be pending read going on when the function returns.

        -
      124. - - -

        - - - val - - - writable: Boolean - -

        - - Permalink - - - -
      -
      - - - - -
      - -
      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +
    38. + + +

      + + +val + + +writable: Boolean + +

      + +Permalink + + +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/NameManager$.html b/api/scala/docs/ml/dmlc/mxnet/NameManager$.html index 397eb9d3930c..a1abfc9aa061 100644 --- a/api/scala/docs/ml/dmlc/mxnet/NameManager$.html +++ b/api/scala/docs/ml/dmlc/mxnet/NameManager$.html @@ -1,19 +1,18 @@ + - - NameManager - ml.dmlc.mxnet.NameManager - - - - - - - - - - - - + + + + - - - -
    - Object/Class -

    ml.dmlc.mxnet

    -

    NameManager

    + + + - -

    - - - object - - - NameManager - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. NameManager
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - def - - - current: NameManager - -

      - - Permalink - - - -
    7. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    8. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    9. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    10. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    13. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    18. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    19. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    20. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + | package mxnet +

    + +Permalink + + +
    +

    + + +object + + +NameManager + +

    +
    +Linear Supertypes +
    AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. NameManager
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + + +def + + +current: NameManager + +

      + +Permalink + + +
    7. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    8. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    9. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    10. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    13. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    18. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    19. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    20. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/NameManager.html b/api/scala/docs/ml/dmlc/mxnet/NameManager.html index 79748c4cbe97..dd572b527982 100644 --- a/api/scala/docs/ml/dmlc/mxnet/NameManager.html +++ b/api/scala/docs/ml/dmlc/mxnet/NameManager.html @@ -1,19 +1,18 @@ + - - NameManager - ml.dmlc.mxnet.NameManager - - - - - - - - - - - - + + + + - - - -
    - Class/Object -

    ml.dmlc.mxnet

    -

    NameManager

    + + + - -

    - - - class - - - NameManager extends AnyRef - -

    - -

    NameManager to do automatic naming. + | package mxnet +

    + +Permalink + + +
    +

    + + +class + + +NameManager extends AnyRef + +

    +

    NameManager to do automatic naming. User can also inherit this object to change naming behavior.

    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. NameManager
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - NameManager() - -

      - - Permalink - - - -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - val - - - counter: Map[String, Int] - -

      - - Permalink - - - -
    7. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    8. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    9. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    10. - - -

      - - - def - - - get(name: Option[String], hint: String): String - -

      - - Permalink - - -

      Get the canonical name for a symbol.

      Get the canonical name for a symbol. +Linear Supertypes +

      AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. NameManager
      2. AnyRef
      3. Any
      4. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Instance Constructors

      +
      1. + + +

        + + +new + + +NameManager() + +

        + +Permalink + + +
      +
      +
      +

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

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      5. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      6. + + +

        + + +val + + +counter: Map[String, Int] + +

        + +Permalink + + +
      7. + + +

        + +final +def + + +eq(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      8. + + +

        + + +def + + +equals(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      9. + + +

        + + +def + + +finalize(): Unit + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +classOf[java.lang.Throwable] +) +
        +
      10. + + +

        + + +def + + +get(name: Option[String], hint: String): String + +

        + +Permalink + + +

        Get the canonical name for a symbol.

        Get the canonical name for a symbol. This is default implementation. When user specified a name, the user specified name will be used. When user did not, we will automatically generate a name based on hint string.

        name

        : The name user specified.

        hint

        : A hint string, which can be used to generate name.

        returns

        A canonical name for the user.

        -
      11. - - -

        - - final - def - - - getClass(): Class[_] - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      12. - - -

        - - - def - - - hashCode(): Int - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      13. - - -

        - - final - def - - - isInstanceOf[T0]: Boolean - -

        - - Permalink - - -
        Definition Classes
        Any
        -
      14. - - -

        - - final - def - - - ne(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      15. - - -

        - - final - def - - - notify(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      16. - - -

        - - final - def - - - notifyAll(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      17. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      18. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      19. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      20. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      21. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      22. - - -

        - - - def - - - withScope[T](body: ⇒ T): T - -

        - - Permalink - - - -
      -
      - - - - -
      - -
      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +
    11. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    13. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    14. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    18. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    19. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    20. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    21. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    22. + + +

      + + +def + + +withScope[T](body: ⇒ T): T + +

      + +Permalink + + +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Normal.html b/api/scala/docs/ml/dmlc/mxnet/Normal.html index 995560a66fcd..794c3b020522 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Normal.html +++ b/api/scala/docs/ml/dmlc/mxnet/Normal.html @@ -1,19 +1,18 @@ + - - Normal - ml.dmlc.mxnet.Normal - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet

    -

    Normal

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - Normal extends Initializer - -

    - -

    Initialize the weight with normal(0, sigma) + + +

    +Class +

    ml.dmlc.mxnet

    +

    Normal

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +class + + +Normal extends Initializer + +

    +

    Initialize the weight with normal(0, sigma)

    - Linear Supertypes -
    Initializer, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Normal
    2. Initializer
    3. AnyRef
    4. Any
    5. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - Normal(sigma: Float = 0.01f) - -

      - - Permalink - - -

      sigma

      Standard deviation for gaussian distribution.

      -
    -
    - - - - - -
    -

    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 - - - apply(name: String, arr: NDArray): Unit - -

      - - Permalink - - -

      Initialize an Initializer +Linear Supertypes +

      Initializer, AnyRef, Any
      +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Normal
    2. Initializer
    3. AnyRef
    4. Any
    5. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +Normal(sigma: Float = 0.01f) + +

      + +Permalink + + +

      sigma

      Standard deviation for gaussian distribution.

      +
    +
    +
    +

    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 + + +apply(name: String, arr: NDArray): Unit + +

      + +Permalink + + +

      Initialize an Initializer

      Initialize an Initializer -

      name

      name of corrosponding ndarray

      arr

      ndarray to be Initialized

      Definition Classes
      Initializer
      -
    5. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    6. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    7. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    8. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    9. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    10. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - - def - - - initBeta(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    13. - - -

      - - - def - - - initBias(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    14. - - -

      - - - def - - - initBilinear(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    15. - - -

      - - - def - - - initDefault(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    16. - - -

      - - - def - - - initGamma(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    17. - - -

      - - - def - - - initWeight(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Definition Classes
      NormalInitializer
      -
    18. - - -

      - - - def - - - initZero(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    19. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    20. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    21. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    22. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    23. - - -

      - - - val - - - sigma: Float - -

      - - Permalink - - -

      Standard deviation for gaussian distribution.

      Standard deviation for gaussian distribution.

      Attributes
      protected
      -
    24. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    25. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    26. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    27. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    28. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from Initializer

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +

    name

    name of corrosponding ndarray

    arr

    ndarray to be Initialized

    Definition Classes
    Initializer
    +
  • + + +

    + +final +def + + +asInstanceOf[T0]: T0 + +

    + +Permalink + + +
    Definition Classes
    Any
    +
  • + + +

    + + +def + + +clone(): AnyRef + +

    + +Permalink + + +
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +eq(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +equals(arg0: Any): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +finalize(): Unit + +

    + +Permalink + + +
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    +@throws( +classOf[java.lang.Throwable] +) +
    +
  • + + +

    + +final +def + + +getClass(): Class[_] + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +hashCode(): Int + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +initBeta(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initBias(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initBilinear(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initDefault(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initGamma(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initWeight(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Definition Classes
    NormalInitializer
    +
  • + + +

    + + +def + + +initZero(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + +final +def + + +isInstanceOf[T0]: Boolean + +

    + +Permalink + + +
    Definition Classes
    Any
    +
  • + + +

    + +final +def + + +ne(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notify(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notifyAll(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +val + + +sigma: Float + +

    + +Permalink + + +

    Standard deviation for gaussian distribution.

    Standard deviation for gaussian distribution.

    Attributes
    protected
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • +
    + +
    +
    +

    Inherited from Initializer

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Operator$.html b/api/scala/docs/ml/dmlc/mxnet/Operator$.html index d40fea022973..a2867798f53c 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Operator$.html +++ b/api/scala/docs/ml/dmlc/mxnet/Operator$.html @@ -1,19 +1,18 @@ + - - Operator - ml.dmlc.mxnet.Operator - - - - - - - - - - - - + + + + - - - -
    - Object -

    ml.dmlc.mxnet

    -

    Operator

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - object - - - Operator - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Operator
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    12. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    13. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - - def - - - register(regName: String, opProp: CustomOpProp): Unit - -

      - - Permalink - - - -
    16. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    18. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    19. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    20. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Object +

    ml.dmlc.mxnet

    +

    Operator

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +object + + +Operator + +

    +
    +Linear Supertypes +
    AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Operator
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    12. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    13. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + + +def + + +register(regName: String, opProp: CustomOpProp): Unit + +

      + +Permalink + + +
    16. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    18. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    19. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    20. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Optimizer$.html b/api/scala/docs/ml/dmlc/mxnet/Optimizer$.html index a9b702b195ca..e1289963ecb6 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Optimizer$.html +++ b/api/scala/docs/ml/dmlc/mxnet/Optimizer$.html @@ -1,19 +1,18 @@ + - - Optimizer - ml.dmlc.mxnet.Optimizer - - - - - - - - - - - - + + + + - - - -
    - Object/Class -

    ml.dmlc.mxnet

    -

    Optimizer

    + + +
    +Object/Class +

    ml.dmlc.mxnet

    +

    Optimizer

    Related Docs: class Optimizer - | package mxnet -

    - - Permalink - - -
    - -

    - - - object - - - Optimizer extends Serializable - -

    - -
    - Linear Supertypes -
    Serializable, Serializable, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Optimizer
    2. Serializable
    3. Serializable
    4. AnyRef
    5. Any
    6. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - getUpdater(optimizer: Optimizer): MXKVStoreUpdater - -

      - - Permalink - - - -
    11. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    13. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    18. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    19. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    20. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from Serializable

    -
    -

    Inherited from Serializable

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + | package mxnet +

    + +Permalink + + +
    +

    + + +object + + +Optimizer extends Serializable + +

    +
    +Linear Supertypes +
    Serializable, Serializable, AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Optimizer
    2. Serializable
    3. Serializable
    4. AnyRef
    5. Any
    6. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +getUpdater(optimizer: Optimizer): MXKVStoreUpdater + +

      + +Permalink + + +
    11. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    13. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    18. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    19. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    20. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from Serializable

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Optimizer.html b/api/scala/docs/ml/dmlc/mxnet/Optimizer.html index 543fccce6357..d03be9a47268 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Optimizer.html +++ b/api/scala/docs/ml/dmlc/mxnet/Optimizer.html @@ -1,19 +1,18 @@ + - - Optimizer - ml.dmlc.mxnet.Optimizer - - - - - - - - - - - - + + + + - - - -
    - Class/Object -

    ml.dmlc.mxnet

    -

    Optimizer

    + + +
    +Class/Object +

    ml.dmlc.mxnet

    +

    Optimizer

    Related Docs: object Optimizer - | package mxnet -

    - - Permalink - - -
    - -

    - - abstract - class - - - Optimizer extends Serializable - -

    - -
    - Linear Supertypes -
    Serializable, AnyRef, Any
    -
    - Known Subclasses - -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Optimizer
    2. Serializable
    3. AnyRef
    4. Any
    5. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - Optimizer() - -

      - - Permalink - - - -
    -
    - - - -
    -

    Abstract Value Members

    -
    1. - - -

      - - abstract - def - - - createState(index: Int, weight: NDArray): AnyRef - -

      - - Permalink - - - -
    2. - - -

      - - abstract - def - - - deserializeState(bytes: Array[Byte]): AnyRef - -

      - - Permalink - - - -
    3. - - -

      - - abstract - def - - - disposeState(state: AnyRef): Unit - -

      - - Permalink - - - -
    4. - - -

      - - abstract - def - - - serializeState(state: AnyRef): Array[Byte] - -

      - - Permalink - - - -
    5. - - -

      - - abstract - def - - - update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit - -

      - - Permalink - - -

      Update the parameters.

      Update the parameters.

      index

      An unique integer key used to index the parameters

      weight

      weight ndarray

      grad

      grad ndarray

      state

      NDArray or other objects returned by initState + | package mxnet +

    + +Permalink + + +
    +

    + +abstract +class + + +Optimizer extends Serializable + +

    +
    +Linear Supertypes +
    Serializable, AnyRef, Any
    +
    +Known Subclasses + +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Optimizer
    2. Serializable
    3. AnyRef
    4. Any
    5. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +Optimizer() + +

      + +Permalink + + +
    +
    +
    +

    Abstract Value Members

    +
    1. + + +

      + +abstract +def + + +createState(index: Int, weight: NDArray): AnyRef + +

      + +Permalink + + +
    2. + + +

      + +abstract +def + + +deserializeState(bytes: Array[Byte]): AnyRef + +

      + +Permalink + + +
    3. + + +

      + +abstract +def + + +disposeState(state: AnyRef): Unit + +

      + +Permalink + + +
    4. + + +

      + +abstract +def + + +serializeState(state: AnyRef): Array[Byte] + +

      + +Permalink + + +
    5. + + +

      + +abstract +def + + +update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit + +

      + +Permalink + + +

      Update the parameters.

      Update the parameters.

      index

      An unique integer key used to index the parameters

      weight

      weight ndarray

      grad

      grad ndarray

      state

      NDArray or other objects returned by initState The auxiliary state used in optimization.

      -
    -
    - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - getLr(index: Int, lr: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      -
    11. - - -

      - - - def - - - getWd(index: Int, wd: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      -
    12. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - - var - - - idx2name: Map[Int, String] - -

      - - Permalink - - -
      Attributes
      protected
      -
    14. - - -

      - - - val - - - indexUpdateCount: Map[Int, Int] - -

      - - Permalink - - -
      Attributes
      protected
      -
    15. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    16. - - -

      - - - val - - - lrMult: Map[Either[Int, String], Float] - -

      - - Permalink - - -
      Attributes
      protected
      -
    17. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    18. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    19. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    20. - - -

      - - - var - - - numUpdate: Int - -

      - - Permalink - - -
      Attributes
      protected
      -
    21. - - -

      - - - var - - - rescaleGrad: Float - -

      - - Permalink - - -
      Attributes
      protected
      -
    22. - - -

      - - - def - - - setArgNames(argNames: Seq[String]): Unit - -

      - - Permalink - - - -
    23. - - -

      - - - def - - - setIdx2Name(paramIdx2Name: Map[Int, String]): Unit - -

      - - Permalink - - - -
    24. - - -

      - - - def - - - setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit - -

      - - Permalink - - -

      Sets an individual learning rate multiplier for each parameter.

      Sets an individual learning rate multiplier for each parameter. +

    +
    +
    +

    Concrete 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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +getLr(index: Int, lr: Float): Float + +

      + +Permalink + + +
      Attributes
      protected
      +
    11. + + +

      + + +def + + +getWd(index: Int, wd: Float): Float + +

      + +Permalink + + +
      Attributes
      protected
      +
    12. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    13. + + +

      + + +var + + +idx2name: Map[Int, String] + +

      + +Permalink + + +
      Attributes
      protected
      +
    14. + + +

      + + +val + + +indexUpdateCount: Map[Int, Int] + +

      + +Permalink + + +
      Attributes
      protected
      +
    15. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    16. + + +

      + + +val + + +lrMult: Map[Either[Int, String], Float] + +

      + +Permalink + + +
      Attributes
      protected
      +
    17. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    18. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    19. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    20. + + +

      + + +var + + +numUpdate: Int + +

      + +Permalink + + +
      Attributes
      protected
      +
    21. + + +

      + + +var + + +rescaleGrad: Float + +

      + +Permalink + + +
      Attributes
      protected
      +
    22. + + +

      + + +def + + +setArgNames(argNames: Seq[String]): Unit + +

      + +Permalink + + +
    23. + + +

      + + +def + + +setIdx2Name(paramIdx2Name: Map[Int, String]): Unit + +

      + +Permalink + + +
    24. + + +

      + + +def + + +setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit + +

      + +Permalink + + +

      Sets an individual learning rate multiplier for each parameter.

      Sets an individual learning rate multiplier for each parameter. If you specify a learning rate multiplier for a parameter, then the learning rate for the parameter will be set as the product of the global learning rate and its multiplier. note:: The default learning rate multiplier of a Variable can be set with lr_mult argument in the constructor.

      -
    25. - - -

      - - - def - - - setRescaleGrad(rescaleGrad: Float): Unit - -

      - - Permalink - - - -
    26. - - -

      - - - def - - - setSymbol(sym: Symbol): Unit - -

      - - Permalink - - - -
    27. - - -

      - - - def - - - setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit - -

      - - Permalink - - -

      Sets an individual weight decay multiplier for each parameter.

      Sets an individual weight decay multiplier for each parameter.

      By default, the weight decay multipler is set as 0 for all +

    28. + + +

      + + +def + + +setRescaleGrad(rescaleGrad: Float): Unit + +

      + +Permalink + + +
    29. + + +

      + + +def + + +setSymbol(sym: Symbol): Unit + +

      + +Permalink + + +
    30. + + +

      + + +def + + +setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit + +

      + +Permalink + + +

      Sets an individual weight decay multiplier for each parameter.

      Sets an individual weight decay multiplier for each parameter.

      By default, the weight decay multipler is set as 0 for all parameters whose name don't end with _weight or _gamma, if you call the setIdx2Name method to set idx2name.

      note:: The default weight decay multiplier for a Variable can be set with its wd_mult argument in the constructor.

      -
    31. - - -

      - - - var - - - specialized: Boolean - -

      - - Permalink - - -
      Attributes
      protected
      -
    32. - - -

      - - - var - - - symbol: Symbol - -

      - - Permalink - - -
      Attributes
      protected
      -
    33. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    34. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    35. - - -

      - - - def - - - updateCount(index: Int): Unit - -

      - - Permalink - - -

      update num_update

      update num_update

      index

      The index will be updated

      Attributes
      protected
      -
    36. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    37. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    38. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    39. - - -

      - - - val - - - wdMult: Map[Either[Int, String], Float] - -

      - - Permalink - - -
      Attributes
      protected
      -
    40. - - -

      - - - val - - - weightSet: Set[Int] - -

      - - Permalink - - -
      Attributes
      protected
      -
    -
    - - - -
    -

    Deprecated Value Members

    -
    1. - - -

      - - - def - - - setLrScale(lrScale: Map[Int, Float]): Unit - -

      - - Permalink - - -
      Annotations
      - @deprecated - -
      Deprecated

      Use setLrMult instead.

      -
    -
    -
    - -
    -
    -

    Inherited from Serializable

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +
  • + + +

    + + +var + + +specialized: Boolean + +

    + +Permalink + + +
    Attributes
    protected
    +
  • + + +

    + + +var + + +symbol: Symbol + +

    + +Permalink + + +
    Attributes
    protected
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +updateCount(index: Int): Unit + +

    + +Permalink + + +

    update num_update

    update num_update

    index

    The index will be updated

    Attributes
    protected
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + + +val + + +wdMult: Map[Either[Int, String], Float] + +

    + +Permalink + + +
    Attributes
    protected
    +
  • + + +

    + + +val + + +weightSet: Set[Int] + +

    + +Permalink + + +
    Attributes
    protected
    +
  • + +
    +

    Deprecated Value Members

    +
    1. + + +

      + + +def + + +setLrScale(lrScale: Map[Int, Float]): Unit + +

      + +Permalink + + +
      Annotations
      +@deprecated +
      Deprecated

      Use setLrMult instead.

      +
    +
    + +
    +
    +

    Inherited from Serializable

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Perplexity.html b/api/scala/docs/ml/dmlc/mxnet/Perplexity.html index 0ff36a7b896f..187f4a17c134 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Perplexity.html +++ b/api/scala/docs/ml/dmlc/mxnet/Perplexity.html @@ -1,19 +1,18 @@ + - - Perplexity - ml.dmlc.mxnet.Perplexity - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet

    -

    Perplexity

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - Perplexity extends EvalMetric - -

    - -

    Calculate perplexity. + + +

    +Class +

    ml.dmlc.mxnet

    +

    Perplexity

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +class + + +Perplexity extends EvalMetric + +

    +

    Calculate perplexity.

    - Linear Supertypes -
    EvalMetric, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Perplexity
    2. EvalMetric
    3. AnyRef
    4. Any
    5. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - Perplexity(ignoreLabel: Option[Int] = None, axis: Int = 1) - -

      - - Permalink - - -

      ignoreLabel

      +Linear Supertypes +

      EvalMetric, AnyRef, Any
      +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Perplexity
    2. EvalMetric
    3. AnyRef
    4. Any
    5. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +Perplexity(ignoreLabel: Option[Int] = None, axis: Int = 1) + +

      + +Permalink + + +

      ignoreLabel

      Index of invalid label to ignore when counting. Usually should be -1. Include all entries if None.

      axis

      The axis from prediction that was used to compute softmax. Default is -1 which means use the last axis.

      -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - - def - - - get: (Array[String], Array[Float]) - -

      - - Permalink - - -

      Get the current evaluation result.

      Get the current evaluation result.

      returns

      name, Name of the metric - value, Value of the evaluation

      Definition Classes
      EvalMetric
      -
    10. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    13. - - -

      - - - val - - - name: String - -

      - - Permalink - - -

      Metric name

      Metric name

      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    14. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - var - - - numInst: Int - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    18. - - -

      - - - def - - - reset(): Unit - -

      - - Permalink - - -

      Clear the internal statistics to initial state.

      Clear the internal statistics to initial state. -

      Definition Classes
      EvalMetric
      -
    19. - - -

      - - - var - - - sumMetric: Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    20. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    21. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    22. - - -

      - - - def - - - update(labels: IndexedSeq[NDArray], preds: IndexedSeq[NDArray]): Unit - -

      - - Permalink - - -

      Update the internal evaluation.

      Update the internal evaluation. -

      labels

      The labels of the data

      preds

      Predicted values.

      Definition Classes
      PerplexityEvalMetric
      -
    23. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    24. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    25. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from EvalMetric

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + + +def + + +get: (Array[String], Array[Float]) + +

      + +Permalink + + +

      Get the current evaluation result.

      Get the current evaluation result.

      returns

      name, Name of the metric + value, Value of the evaluation

      Definition Classes
      EvalMetric
      +
    10. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    13. + + +

      + + +val + + +name: String + +

      + +Permalink + + +

      Metric name

      Metric name

      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    14. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +var + + +numInst: Int + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    18. + + +

      + + +def + + +reset(): Unit + +

      + +Permalink + + +

      Clear the internal statistics to initial state.

      Clear the internal statistics to initial state. +

      Definition Classes
      EvalMetric
      +
    19. + + +

      + + +var + + +sumMetric: Float + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    20. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    21. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    22. + + +

      + + +def + + +update(labels: IndexedSeq[NDArray], preds: IndexedSeq[NDArray]): Unit + +

      + +Permalink + + +

      Update the internal evaluation.

      Update the internal evaluation. +

      labels

      The labels of the data

      preds

      Predicted values.

      Definition Classes
      PerplexityEvalMetric
      +
    23. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    24. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    25. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from EvalMetric

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Profiler$.html b/api/scala/docs/ml/dmlc/mxnet/Profiler$.html index 2428b433e404..091d87e245b7 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Profiler$.html +++ b/api/scala/docs/ml/dmlc/mxnet/Profiler$.html @@ -1,19 +1,18 @@ + - - Profiler - ml.dmlc.mxnet.Profiler - - - - - - - - - - - - + + + + - - - -
    - Object -

    ml.dmlc.mxnet

    -

    Profiler

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - object - - - Profiler - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Profiler
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - def - - - dumpProfile(): Unit - -

      - - Permalink - - -

      Dump profile and stop profiler.

      Dump profile and stop profiler. Use this to save profile + + +

      +Object +

      ml.dmlc.mxnet

      +

      Profiler

      Related Doc: + package mxnet +

      + +Permalink + + +
      +

      + + +object + + +Profiler + +

      +
      +Linear Supertypes +
      AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. Profiler
      2. AnyRef
      3. Any
      4. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +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. + + +

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      5. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      6. + + +

        + + +def + + +dumpProfile(): Unit + +

        + +Permalink + + +

        Dump profile and stop profiler.

        Dump profile and stop profiler. Use this to save profile in advance in case your program cannot exit normally.

        -
      7. - - -

        - - final - def - - - eq(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      8. - - -

        - - - def - - - equals(arg0: Any): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      9. - - -

        - - - def - - - finalize(): Unit - -

        - - Permalink - - -
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - classOf[java.lang.Throwable] - ) - -
        -
      10. - - -

        - - final - def - - - getClass(): Class[_] - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      11. - - -

        - - - def - - - hashCode(): Int - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      12. - - -

        - - final - def - - - isInstanceOf[T0]: Boolean - -

        - - Permalink - - -
        Definition Classes
        Any
        -
      13. - - -

        - - - val - - - mode2Int: Map[String, Int] - -

        - - Permalink - - - -
      14. - - -

        - - final - def - - - ne(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      15. - - -

        - - final - def - - - notify(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      16. - - -

        - - final - def - - - notifyAll(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      17. - - -

        - - - def - - - profilerSetConfig(mode: String = "symbolic", fileName: String = "profile.json"): Unit - -

        - - Permalink - - -

        Set up the configure of profiler.

        -
      18. - - -

        - - - def - - - profilerSetState(state: String = "stop"): Unit - -

        - - Permalink - - -

        Set up the profiler state to record operator.

        -
      19. - - -

        - - - val - - - state2Int: Map[String, Int] - -

        - - Permalink - - - -
      20. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      21. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      22. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      23. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      24. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      -
      - - - - -
      - -
      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +
    7. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    8. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    9. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    10. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    13. + + +

      + + +val + + +mode2Int: Map[String, Int] + +

      + +Permalink + + +
    14. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +def + + +profilerSetConfig(mode: String = "symbolic", fileName: String = "profile.json"): Unit + +

      + +Permalink + + +

      Set up the configure of profiler.

      +
    18. + + +

      + + +def + + +profilerSetState(state: String = "stop"): Unit + +

      + +Permalink + + +

      Set up the profiler state to record operator.

      +
    19. + + +

      + + +val + + +state2Int: Map[String, Int] + +

      + +Permalink + + +
    20. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    21. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    22. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    23. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    24. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/RMSE.html b/api/scala/docs/ml/dmlc/mxnet/RMSE.html index 1edfbbc919b9..bbbe92477dd3 100644 --- a/api/scala/docs/ml/dmlc/mxnet/RMSE.html +++ b/api/scala/docs/ml/dmlc/mxnet/RMSE.html @@ -1,19 +1,18 @@ + - - RMSE - ml.dmlc.mxnet.RMSE - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet

    -

    RMSE

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - RMSE extends EvalMetric - -

    - -

    Calculate Root Mean Squred Error loss + + +

    +Class +

    ml.dmlc.mxnet

    +

    RMSE

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +class + + +RMSE extends EvalMetric + +

    +

    Calculate Root Mean Squred Error loss

    - Linear Supertypes -
    EvalMetric, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. RMSE
    2. EvalMetric
    3. AnyRef
    4. Any
    5. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - RMSE() - -

      - - Permalink - - - -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - - def - - - get: (Array[String], Array[Float]) - -

      - - Permalink - - -

      Get the current evaluation result.

      Get the current evaluation result.

      returns

      name, Name of the metric - value, Value of the evaluation

      Definition Classes
      EvalMetric
      -
    10. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    13. - - -

      - - - val - - - name: String - -

      - - Permalink - - -

      Metric name

      Metric name

      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    14. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - var - - - numInst: Int - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    18. - - -

      - - - def - - - reset(): Unit - -

      - - Permalink - - -

      Clear the internal statistics to initial state.

      Clear the internal statistics to initial state. -

      Definition Classes
      EvalMetric
      -
    19. - - -

      - - - var - - - sumMetric: Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    20. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    21. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    22. - - -

      - - - def - - - update(labels: IndexedSeq[NDArray], preds: IndexedSeq[NDArray]): Unit - -

      - - Permalink - - -

      Update the internal evaluation.

      Update the internal evaluation. -

      labels

      The labels of the data

      preds

      Predicted values.

      Definition Classes
      RMSEEvalMetric
      -
    23. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    24. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    25. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from EvalMetric

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +Linear Supertypes +
    EvalMetric, AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. RMSE
    2. EvalMetric
    3. AnyRef
    4. Any
    5. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +RMSE() + +

      + +Permalink + + +
    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + + +def + + +get: (Array[String], Array[Float]) + +

      + +Permalink + + +

      Get the current evaluation result.

      Get the current evaluation result.

      returns

      name, Name of the metric + value, Value of the evaluation

      Definition Classes
      EvalMetric
      +
    10. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    13. + + +

      + + +val + + +name: String + +

      + +Permalink + + +

      Metric name

      Metric name

      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    14. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +var + + +numInst: Int + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    18. + + +

      + + +def + + +reset(): Unit + +

      + +Permalink + + +

      Clear the internal statistics to initial state.

      Clear the internal statistics to initial state. +

      Definition Classes
      EvalMetric
      +
    19. + + +

      + + +var + + +sumMetric: Float + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    20. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    21. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    22. + + +

      + + +def + + +update(labels: IndexedSeq[NDArray], preds: IndexedSeq[NDArray]): Unit + +

      + +Permalink + + +

      Update the internal evaluation.

      Update the internal evaluation. +

      labels

      The labels of the data

      preds

      Predicted values.

      Definition Classes
      RMSEEvalMetric
      +
    23. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    24. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    25. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from EvalMetric

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Random$.html b/api/scala/docs/ml/dmlc/mxnet/Random$.html index d4c428d02756..f2973701d953 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Random$.html +++ b/api/scala/docs/ml/dmlc/mxnet/Random$.html @@ -1,19 +1,18 @@ + - - Random - ml.dmlc.mxnet.Random - - - - - - - - - - - - + + + + - - - -
    - Object -

    ml.dmlc.mxnet

    -

    Random

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - object - - - Random - -

    - -

    Random Number interface of mxnet. + + +

    +Object +

    ml.dmlc.mxnet

    +

    Random

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +object + + +Random + +

    +

    Random Number interface of mxnet.

    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Random
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    12. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    13. - - -

      - - - def - - - normal(loc: Float, scale: Float, shape: Shape = null, ctx: Context = null, out: NDArray = null): NDArray - -

      - - Permalink - - -

      Generate normal(Gaussian) distribution N(mean, stdvar^^2) with shape. +Linear Supertypes +

      AnyRef, Any
      +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Random
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    12. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    13. + + +

      + + +def + + +normal(loc: Float, scale: Float, shape: Shape = null, ctx: Context = null, out: NDArray = null): NDArray + +

      + +Permalink + + +

      Generate normal(Gaussian) distribution N(mean, stdvar^^2) with shape.

      Generate normal(Gaussian) distribution N(mean, stdvar^^2) with shape.

      loc

      The mean of the normal distribution.

      scale

      The standard deviation of normal distribution.

      shape

      Output shape of the NDArray generated.

      ctx

      Context of output NDArray, will use default context if not specified.

      out

      Output place holder

      returns

      The result NDArray with generated result.

      -
    14. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - - def - - - seed(seedState: Int): Unit - -

      - - Permalink - - -

      Seed the random number generators in mxnet.

      Seed the random number generators in mxnet.

      This seed will affect behavior of functions in this module, +

    17. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    18. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    19. + + +

      + + +def + + +seed(seedState: Int): Unit + +

      + +Permalink + + +

      Seed the random number generators in mxnet.

      Seed the random number generators in mxnet.

      This seed will affect behavior of functions in this module, as well as results from executors that contains Random number such as Dropout operators.

      seedState

      The random number seed to set to all devices.

      Note

      The random number generator of mxnet is by default device specific. This means if you set the same seed, the random number sequence generated from GPU0 can be different from CPU.

      -
    20. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    21. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    22. - - -

      - - - def - - - uniform(low: Float, high: Float, shape: Shape = null, ctx: Context = null, out: NDArray = null): NDArray - -

      - - Permalink - - -

      Generate uniform distribution in [low, high) with shape.

      Generate uniform distribution in [low, high) with shape. +

    23. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    24. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    25. + + +

      + + +def + + +uniform(low: Float, high: Float, shape: Shape = null, ctx: Context = null, out: NDArray = null): NDArray + +

      + +Permalink + + +

      Generate uniform distribution in [low, high) with shape.

      Generate uniform distribution in [low, high) with shape.

      low

      The lower bound of distribution.

      high

      The upper bound of distribution.

      shape

      Output shape of the NDArray generated.

      ctx

      Context of output NDArray, will use default context if not specified.

      out

      Output place holder

      returns

      The result NDArray with generated result.

      -
    26. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    27. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    28. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Rtc.html b/api/scala/docs/ml/dmlc/mxnet/Rtc.html index ef5c757c8cef..73b6724030bd 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Rtc.html +++ b/api/scala/docs/ml/dmlc/mxnet/Rtc.html @@ -1,19 +1,18 @@ + - - Rtc - ml.dmlc.mxnet.Rtc - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet

    -

    Rtc

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - Rtc extends AnyRef - -

    - -

    This class allow you to write cuda kernel in Scala + + +

    +Class +

    ml.dmlc.mxnet

    +

    Rtc

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +class + + +Rtc extends AnyRef + +

    +

    This class allow you to write cuda kernel in Scala and call them with NDArray.

    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Rtc
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - Rtc(name: String, inputs: Array[(String, NDArray)], outputs: Array[(String, NDArray)], kernel: String) - -

      - - Permalink - - -

      name

      String, name of the kernel.

      inputs

      Array[(String, NDArray)], array of input names and ndarray.

      outputs

      Array[(String, NDArray)], array of output names and ndarray.

      kernel

      String, the actual kernel code. +Linear Supertypes +

      AnyRef, Any
      +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Rtc
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +Rtc(name: String, inputs: Array[(String, NDArray)], outputs: Array[(String, NDArray)], kernel: String) + +

      + +Permalink + + +

      name

      String, name of the kernel.

      inputs

      Array[(String, NDArray)], array of input names and ndarray.

      outputs

      Array[(String, NDArray)], array of output names and ndarray.

      kernel

      String, the actual kernel code. Note that this is only the body of the kernel, i.e. after { and before }. Rtc will decorate the kernel. - For example, if name = "mykernel" and - inputs = Array(("x", NDArray.zeros(10))) - outputs = Array(("y", NDArray.zeros(10))) - kernel = "y[threadIdx.x] = x[threadIdx.x];", + For example, if name = "mykernel" and + inputs = Array(("x", NDArray.zeros(10))) + outputs = Array(("y", NDArray.zeros(10))) + kernel = "y[threadIdx.x] = x[threadIdx.x];", the kernel that is compile will be: - extern "C" global mykernel(float *x, float *y) { + extern "C" global mykernel(float *x, float *y) { const int x_ndim = 1; const int x_dims[] = { 10 }; const int y_ndim = 1; const int y_dims[] = { 10 }; y[threadIdx.x] = x[threadIdx.x]; }

      -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - def - - - dispose(): Unit - -

      - - Permalink - - -

      Free the rtc handle.

      Free the rtc handle. +

    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + + +def + + +dispose(): Unit + +

      + +Permalink + + +

      Free the rtc handle.

      Free the rtc handle. The object shall never be used after it is disposed.

      -
    7. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    8. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    9. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    10. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    13. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - - def - - - push(ins: Array[NDArray], outs: Array[NDArray], gridDims: (Int, Int, Int), blockDims: (Int, Int, Int)): Unit - -

      - - Permalink - - -

      run the kernel.

      -
    17. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    18. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    19. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    20. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    21. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +
  • + + +

    + +final +def + + +eq(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +equals(arg0: Any): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +finalize(): Unit + +

    + +Permalink + + +
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    +@throws( +classOf[java.lang.Throwable] +) +
    +
  • + + +

    + +final +def + + +getClass(): Class[_] + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +hashCode(): Int + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + +final +def + + +isInstanceOf[T0]: Boolean + +

    + +Permalink + + +
    Definition Classes
    Any
    +
  • + + +

    + +final +def + + +ne(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notify(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notifyAll(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +push(ins: Array[NDArray], outs: Array[NDArray], gridDims: (Int, Int, Int), blockDims: (Int, Int, Int)): Unit + +

    + +Permalink + + +

    run the kernel.

    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Shape$.html b/api/scala/docs/ml/dmlc/mxnet/Shape$.html index b86942d1bc30..c2f7956409a6 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Shape$.html +++ b/api/scala/docs/ml/dmlc/mxnet/Shape$.html @@ -1,19 +1,18 @@ + - - Shape - ml.dmlc.mxnet.Shape - - - - - - - - - - - - + + + + - - - -
    - Object/Class -

    ml.dmlc.mxnet

    -

    Shape

    + + +
    +Object/Class +

    ml.dmlc.mxnet

    +

    Shape

    Related Docs: class Shape - | package mxnet -

    - - Permalink - - -
    - -

    - - - object - - - Shape extends Serializable - -

    - -
    - Linear Supertypes -
    Serializable, Serializable, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Shape
    2. Serializable
    3. Serializable
    4. AnyRef
    5. Any
    6. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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 - - - apply(dims: Traversable[Int]): Shape - -

      - - Permalink - - - -
    5. - - -

      - - - def - - - apply(dims: Int*): Shape - -

      - - Permalink - - - -
    6. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    7. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    8. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    9. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    11. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    14. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    18. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    19. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    20. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    21. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from Serializable

    -
    -

    Inherited from Serializable

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + | package mxnet +

    + +Permalink + + +
    +

    + + +object + + +Shape extends Serializable + +

    +
    +Linear Supertypes +
    Serializable, Serializable, AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Shape
    2. Serializable
    3. Serializable
    4. AnyRef
    5. Any
    6. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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 + + +apply(dims: Traversable[Int]): Shape + +

      + +Permalink + + +
    5. + + +

      + + +def + + +apply(dims: Int*): Shape + +

      + +Permalink + + +
    6. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    7. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    8. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    9. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    11. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    13. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    14. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    18. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    19. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    20. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    21. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from Serializable

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Shape.html b/api/scala/docs/ml/dmlc/mxnet/Shape.html index 4465fbe5665f..9bf8f394611f 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Shape.html +++ b/api/scala/docs/ml/dmlc/mxnet/Shape.html @@ -1,19 +1,18 @@ + - - Shape - ml.dmlc.mxnet.Shape - - - - - - - - - - - - + + + + - - - -
    - Class/Object -

    ml.dmlc.mxnet

    -

    Shape

    + + +
    +Class/Object +

    ml.dmlc.mxnet

    +

    Shape

    Related Docs: object Shape - | package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - Shape extends Serializable - -

    - -

    Shape of NDArray or other data + | package mxnet +

    + +Permalink + + +
    +

    + + +class + + +Shape extends Serializable + +

    +

    Shape of NDArray or other data

    - Linear Supertypes -
    Serializable, Serializable, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Shape
    2. Serializable
    3. Serializable
    4. AnyRef
    5. Any
    6. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - Shape(dims: Int*) - -

      - - Permalink - - - -
    2. - - -

      - - - new - - - Shape(dims: Traversable[Int]) - -

      - - Permalink - - - -
    -
    - - - - - -
    -

    Value Members

    -
    1. - - -

      - - final - def - - - !=(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    2. - - -

      - - final - def - - - ##(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    3. - - -

      - - - def - - - ++(other: Shape): Shape - -

      - - Permalink - - - -
    4. - - -

      - - final - def - - - ==(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    5. - - -

      - - - def - - - apply(dim: Int): Int - -

      - - Permalink - - - -
    6. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    7. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    8. - - -

      - - - def - - - drop(dim: Int): Shape - -

      - - Permalink - - - -
    9. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    10. - - -

      - - - def - - - equals(o: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      Shape → AnyRef → Any
      -
    11. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    12. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      Shape → AnyRef → Any
      -
    14. - - -

      - - - def - - - head: Int - -

      - - Permalink - - - -
    15. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    16. - - -

      - - - def - - - length: Int - -

      - - Permalink - - - -
    17. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    18. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    19. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    20. - - -

      - - - def - - - product: Int - -

      - - Permalink - - - -
    21. - - -

      - - - def - - - size: Int - -

      - - Permalink - - - -
    22. - - -

      - - - def - - - slice(from: Int, end: Int): Shape - -

      - - Permalink - - - -
    23. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    24. - - -

      - - - def - - - toArray: Array[Int] - -

      - - Permalink - - - -
    25. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      Shape → AnyRef → Any
      -
    26. - - -

      - - - def - - - toVector: Vector[Int] - -

      - - Permalink - - - -
    27. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    28. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    29. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from Serializable

    -
    -

    Inherited from Serializable

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +Linear Supertypes +
    Serializable, Serializable, AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Shape
    2. Serializable
    3. Serializable
    4. AnyRef
    5. Any
    6. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +Shape(dims: Int*) + +

      + +Permalink + + +
    2. + + +

      + + +new + + +Shape(dims: Traversable[Int]) + +

      + +Permalink + + +
    +
    +
    +

    Value Members

    +
    1. + + +

      + +final +def + + +!=(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    2. + + +

      + +final +def + + +##(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    3. + + +

      + + +def + + +++(other: Shape): Shape + +

      + +Permalink + + +
    4. + + +

      + +final +def + + +==(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    5. + + +

      + + +def + + +apply(dim: Int): Int + +

      + +Permalink + + +
    6. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    7. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    8. + + +

      + + +def + + +drop(dim: Int): Shape + +

      + +Permalink + + +
    9. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    10. + + +

      + + +def + + +equals(o: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      Shape → AnyRef → Any
      +
    11. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    12. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    13. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      Shape → AnyRef → Any
      +
    14. + + +

      + + +def + + +head: Int + +

      + +Permalink + + +
    15. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    16. + + +

      + + +def + + +length: Int + +

      + +Permalink + + +
    17. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    18. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    19. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    20. + + +

      + + +def + + +product: Int + +

      + +Permalink + + +
    21. + + +

      + + +def + + +size: Int + +

      + +Permalink + + +
    22. + + +

      + + +def + + +slice(from: Int, end: Int): Shape + +

      + +Permalink + + +
    23. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    24. + + +

      + + +def + + +toArray: Array[Int] + +

      + +Permalink + + +
    25. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      Shape → AnyRef → Any
      +
    26. + + +

      + + +def + + +toVector: Vector[Int] + +

      + +Permalink + + +
    27. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    28. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    29. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from Serializable

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Symbol$.html b/api/scala/docs/ml/dmlc/mxnet/Symbol$.html index 5e86fdabf8d1..85420bfc9f41 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Symbol$.html +++ b/api/scala/docs/ml/dmlc/mxnet/Symbol$.html @@ -1,19 +1,18 @@ + - - Symbol - ml.dmlc.mxnet.Symbol - - - - - - - - - - - - + + + + - - - -
    - Object/Class -

    ml.dmlc.mxnet

    -

    Symbol

    + + +
    +Object/Class +

    ml.dmlc.mxnet

    +

    Symbol

    Related Docs: class Symbol - | package mxnet -

    - - Permalink - - -
    - -

    - - - object - - - Symbol - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Symbol
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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): 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.

      returns

      The created variable symbol.

      -
    6. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    7. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    8. - - -

      - - - 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. + | package mxnet +

    + +Permalink + + +
    +

    + + +object + + +Symbol + +

    +
    +Linear Supertypes +
    AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Symbol
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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. +

    12. + + +

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

      + +Permalink + + +
      Annotations
      +@Deprecated +
      +
    13. + + +

      + + +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

      -
    14. - - -

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

      - - Permalink - - -
      Annotations
      - @Deprecated - -
      -
    15. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

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

      - - Permalink - - - -
    17. - - -

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

      - - Permalink - - - -
    18. - - -

      - - - def - - - equal(left: Symbol, right: Symbol): Symbol - -

      - - Permalink - - - -
    19. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    20. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    21. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    22. - - -

      - - - def - - - greater[V](left: Symbol, right: V): Symbol - -

      - - Permalink - - - -
    23. - - -

      - - - def - - - greater(left: Symbol, right: Symbol): Symbol - -

      - - Permalink - - - -
    24. - - -

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

      - - Permalink - - - -
    25. - - -

      - - - def - - - greaterEqual(left: Symbol, right: Symbol): Symbol - -

      - - Permalink - - - -
    26. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    27. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    28. - - -

      - - - def - - - lesser[V](left: Symbol, right: V): Symbol - -

      - - Permalink - - - -
    29. - - -

      - - - def - - - lesser(left: Symbol, right: Symbol): Symbol - -

      - - Permalink - - - -
    30. - - -

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

      - - Permalink - - - -
    31. - - -

      - - - def - - - lesserEqual(left: Symbol, right: Symbol): Symbol - -

      - - Permalink - - - -
    32. - - -

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

    33. + + +

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

      + +Permalink + + +
      Annotations
      +@Deprecated +
      +
    34. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    35. + + +

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

      + +Permalink + + +
    36. + + +

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

      + +Permalink + + +
    37. + + +

      + + +def + + +equal(left: Symbol, right: Symbol): Symbol + +

      + +Permalink + + +
    38. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    39. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    40. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    41. + + +

      + + +def + + +greater[V](left: Symbol, right: V): Symbol + +

      + +Permalink + + +
    42. + + +

      + + +def + + +greater(left: Symbol, right: Symbol): Symbol + +

      + +Permalink + + +
    43. + + +

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

      + +Permalink + + +
    44. + + +

      + + +def + + +greaterEqual(left: Symbol, right: Symbol): Symbol + +

      + +Permalink + + +
    45. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    46. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    47. + + +

      + + +def + + +lesser[V](left: Symbol, right: V): Symbol + +

      + +Permalink + + +
    48. + + +

      + + +def + + +lesser(left: Symbol, right: Symbol): Symbol + +

      + +Permalink + + +
    49. + + +

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

      + +Permalink + + +
    50. + + +

      + + +def + + +lesserEqual(left: Symbol, right: Symbol): Symbol + +

      + +Permalink + + +
    51. + + +

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

      -
    52. - - -

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

      -
    53. - - -

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

      - - Permalink - - - -
    54. - - -

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

      - - Permalink - - - -
    55. - - -

      - - - def - - - max(left: Symbol, right: Symbol): Symbol - -

      - - Permalink - - - -
    56. - - -

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

      - - Permalink - - - -
    57. - - -

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

      - - Permalink - - - -
    58. - - -

      - - - def - - - min(left: Symbol, right: Symbol): Symbol - -

      - - Permalink - - - -
    59. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    60. - - -

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

      - - Permalink - - - -
    61. - - -

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

      - - Permalink - - - -
    62. - - -

      - - - def - - - notEqual(left: Symbol, right: Symbol): Symbol - -

      - - Permalink - - - -
    63. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    64. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    65. - - -

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

      - - Permalink - - - -
    66. - - -

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

      - - Permalink - - - -
    67. - - -

      - - - def - - - pow(sym1: Symbol, sym2: Symbol): Symbol - -

      - - Permalink - - - -
    68. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    69. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    70. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    71. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    72. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +
  • + + +

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

    +
  • + + +

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

    + +Permalink + + +
  • + + +

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

    + +Permalink + + +
  • + + +

    + + +def + + +max(left: Symbol, right: Symbol): Symbol + +

    + +Permalink + + +
  • + + +

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

    + +Permalink + + +
  • + + +

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

    + +Permalink + + +
  • + + +

    + + +def + + +min(left: Symbol, right: Symbol): Symbol + +

    + +Permalink + + +
  • + + +

    + +final +def + + +ne(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

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

    + +Permalink + + +
  • + + +

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

    + +Permalink + + +
  • + + +

    + + +def + + +notEqual(left: Symbol, right: Symbol): Symbol + +

    + +Permalink + + +
  • + + +

    + +final +def + + +notify(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notifyAll(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

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

    +
  • + + +

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

    + +Permalink + + +
  • + + +

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

    + +Permalink + + +
  • + + +

    + + +def + + +pow(sym1: Symbol, sym2: Symbol): Symbol + +

    + +Permalink + + +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + + +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

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Symbol.html b/api/scala/docs/ml/dmlc/mxnet/Symbol.html index d8bd55f66c46..fa0b5844800c 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Symbol.html +++ b/api/scala/docs/ml/dmlc/mxnet/Symbol.html @@ -1,19 +1,18 @@ + - - Symbol - ml.dmlc.mxnet.Symbol - - - - - - - - - - - - + + + + - - - -
    - Class/Object -

    ml.dmlc.mxnet

    -

    Symbol

    + + +
    +Class/Object +

    ml.dmlc.mxnet

    +

    Symbol

    Related Docs: object Symbol - | package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - Symbol extends AnyRef - -

    - -

    Symbolic configuration API of mxnet.
    + | package mxnet +

    + +Permalink + + +
    +

    + + +class + + +Symbol extends AnyRef + +

    +

    Symbolic configuration API of mxnet.
    WARNING: it is your responsibility to clear this object through dispose(). NEVER rely on the GC strategy

    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Symbol
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - - def - - - %[V](other: V): Symbol - -

      - - Permalink - - - -
    4. - - -

      - - - def - - - %(other: Symbol): Symbol - -

      - - Permalink - - - -
    5. - - -

      - - - def - - - *[V](other: V): Symbol - -

      - - Permalink - - - -
    6. - - -

      - - - def - - - *(other: Symbol): Symbol - -

      - - Permalink - - - -
    7. - - -

      - - - def - - - **[V](other: V): Symbol - -

      - - Permalink - - - -
    8. - - -

      - - - def - - - **(other: Symbol): Symbol - -

      - - Permalink - - - -
    9. - - -

      - - - def - - - +[V](other: V): Symbol - -

      - - Permalink - - - -
    10. - - -

      - - - def - - - +(other: Symbol): Symbol - -

      - - Permalink - - - -
    11. - - -

      - - - def - - - -[V](other: V): Symbol - -

      - - Permalink - - - -
    12. - - -

      - - - def - - - -(other: Symbol): Symbol - -

      - - Permalink - - - -
    13. - - -

      - - - def - - - /[V](other: V): Symbol - -

      - - Permalink - - - -
    14. - - -

      - - - def - - - /(other: Symbol): Symbol - -

      - - Permalink - - - -
    15. - - -

      - - - def - - - <[V](other: V): Symbol - -

      - - Permalink - - - -
    16. - - -

      - - - def - - - <(other: Symbol): Symbol - -

      - - Permalink - - - -
    17. - - -

      - - - def - - - <=[V](other: V): Symbol - -

      - - Permalink - - - -
    18. - - -

      - - - def - - - <=(other: Symbol): Symbol - -

      - - Permalink - - - -
    19. - - -

      - - final - def - - - ==(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    20. - - -

      - - - def - - - >[V](other: V): Symbol - -

      - - Permalink - - - -
    21. - - -

      - - - def - - - >(other: Symbol): Symbol - -

      - - Permalink - - - -
    22. - - -

      - - - def - - - >=[V](other: V): Symbol - -

      - - Permalink - - - -
    23. - - -

      - - - def - - - >=(other: Symbol): Symbol - -

      - - Permalink - - - -
    24. - - -

      - - - def - - - apply(name: String, symbols: Map[String, Symbol]): Symbol - -

      - - Permalink - - -

      Invoke symbol as function on inputs.

      Invoke symbol as function on inputs.

      name

      resulting symbol name

      symbols

      provide named symbols

      returns

      the resulting symbol

      -
    25. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    26. - - -

      - - - def - - - attr(key: String): Option[String] - -

      - - Permalink - - -

      Get attribute string from the symbol, this function only works for non-grouped symbol.

      Get attribute string from the symbol, this function only works for non-grouped symbol.

      key

      The key to get attribute from.

      returns

      value The attribute value of the key, returns None if attribute do not exist.

      -
    27. - - -

      - - - def - - - attrMap(): Map[String, Map[String, String]] - -

      - - Permalink - - -

      Recursively gets all attributes from the symbol and its children.

      Recursively gets all attributes from the symbol and its children.

      returns

      Map[Map[String, String]], There is a key in the returned +Linear Supertypes +

      AnyRef, Any
      +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Symbol
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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. + + +

      + + +def + + +%[V](other: V): Symbol + +

      + +Permalink + + +
    4. + + +

      + + +def + + +%(other: Symbol): Symbol + +

      + +Permalink + + +
    5. + + +

      + + +def + + +*[V](other: V): Symbol + +

      + +Permalink + + +
    6. + + +

      + + +def + + +*(other: Symbol): Symbol + +

      + +Permalink + + +
    7. + + +

      + + +def + + +**[V](other: V): Symbol + +

      + +Permalink + + +
    8. + + +

      + + +def + + +**(other: Symbol): Symbol + +

      + +Permalink + + +
    9. + + +

      + + +def + + ++[V](other: V): Symbol + +

      + +Permalink + + +
    10. + + +

      + + +def + + ++(other: Symbol): Symbol + +

      + +Permalink + + +
    11. + + +

      + + +def + + +-[V](other: V): Symbol + +

      + +Permalink + + +
    12. + + +

      + + +def + + +-(other: Symbol): Symbol + +

      + +Permalink + + +
    13. + + +

      + + +def + + +/[V](other: V): Symbol + +

      + +Permalink + + +
    14. + + +

      + + +def + + +/(other: Symbol): Symbol + +

      + +Permalink + + +
    15. + + +

      + + +def + + +<[V](other: V): Symbol + +

      + +Permalink + + +
    16. + + +

      + + +def + + +<(other: Symbol): Symbol + +

      + +Permalink + + +
    17. + + +

      + + +def + + +<=[V](other: V): Symbol + +

      + +Permalink + + +
    18. + + +

      + + +def + + +<=(other: Symbol): Symbol + +

      + +Permalink + + +
    19. + + +

      + +final +def + + +==(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    20. + + +

      + + +def + + +>[V](other: V): Symbol + +

      + +Permalink + + +
    21. + + +

      + + +def + + +>(other: Symbol): Symbol + +

      + +Permalink + + +
    22. + + +

      + + +def + + +>=[V](other: V): Symbol + +

      + +Permalink + + +
    23. + + +

      + + +def + + +>=(other: Symbol): Symbol + +

      + +Permalink + + +
    24. + + +

      + + +def + + +apply(name: String, symbols: Map[String, Symbol]): Symbol + +

      + +Permalink + + +

      Invoke symbol as function on inputs.

      Invoke symbol as function on inputs.

      name

      resulting symbol name

      symbols

      provide named symbols

      returns

      the resulting symbol

      +
    25. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    26. + + +

      + + +def + + +attr(key: String): Option[String] + +

      + +Permalink + + +

      Get attribute string from the symbol, this function only works for non-grouped symbol.

      Get attribute string from the symbol, this function only works for non-grouped symbol.

      key

      The key to get attribute from.

      returns

      value The attribute value of the key, returns None if attribute do not exist.

      +
    27. + + +

      + + +def + + +attrMap(): Map[String, Map[String, String]] + +

      + +Permalink + + +

      Recursively gets all attributes from the symbol and its children.

      Recursively gets all attributes from the symbol and its children.

      returns

      Map[Map[String, String]], There is a key in the returned dict for every child with non-empty attribute set. For each symbol, the name of the symbol is its key in the dict and the correspond value is that symbol's attribute list (itself a dictionary).

      -
    28. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray]): Executor - -

      - - Permalink - - - -
    29. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray]): Executor - -

      - - Permalink - - - -
    30. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray], argsGrad: Map[String, NDArray]): Executor - -

      - - Permalink - - - -
    31. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray], argsGrad: Seq[NDArray]): Executor - -

      - - Permalink - - - -
    32. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray], argsGrad: Map[String, NDArray]): Executor - -

      - - Permalink - - - -
    33. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray], argsGrad: Seq[NDArray]): Executor - -

      - - Permalink - - - -
    34. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray], argsGrad: Map[String, NDArray], gradsReq: Map[String, String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    35. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray], argsGrad: Map[String, NDArray], gradsReq: Map[String, String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    36. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray], argsGrad: Seq[NDArray], gradsReq: Map[String, String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    37. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray], argsGrad: Seq[NDArray], gradsReq: Map[String, String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    38. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray], argsGrad: Map[String, NDArray], gradsReq: Map[String, String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    39. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray], argsGrad: Map[String, NDArray], gradsReq: Map[String, String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    40. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray], argsGrad: Seq[NDArray], gradsReq: Map[String, String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    41. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray], argsGrad: Seq[NDArray], gradsReq: Map[String, String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    42. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray], argsGrad: Map[String, NDArray], gradsReq: Seq[String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    43. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray], argsGrad: Map[String, NDArray], gradsReq: Seq[String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    44. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray], argsGrad: Seq[NDArray], gradsReq: Seq[String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    45. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray], argsGrad: Seq[NDArray], gradsReq: Seq[String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    46. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray], argsGrad: Map[String, NDArray], gradsReq: Seq[String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    47. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray], argsGrad: Map[String, NDArray], gradsReq: Seq[String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    48. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray], argsGrad: Seq[NDArray], gradsReq: Seq[String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    49. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray], argsGrad: Seq[NDArray], gradsReq: Seq[String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    50. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray], argsGrad: Map[String, NDArray], gradReq: String, auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    51. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray], argsGrad: Map[String, NDArray], gradReq: String, auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    52. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray], argsGrad: Seq[NDArray], gradReq: String, auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    53. - - -

      - - - def - - - bind(ctx: Context, args: Map[String, NDArray], argsGrad: Seq[NDArray], gradReq: String, auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    54. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray], argsGrad: Map[String, NDArray], gradReq: String, auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    55. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray], argsGrad: Map[String, NDArray], gradReq: String, auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    56. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray], argsGrad: Seq[NDArray], gradReq: String, auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - - -
    57. - - -

      - - - def - - - bind(ctx: Context, args: Seq[NDArray], argsGrad: Seq[NDArray], gradReq: String, auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor - -

      - - Permalink - - -

      Bind current symbol to get an executor.

      Bind current symbol to get an executor. +

    58. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray]): Executor + +

      + +Permalink + + +
    59. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray]): Executor + +

      + +Permalink + + +
    60. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray], argsGrad: Map[String, NDArray]): Executor + +

      + +Permalink + + +
    61. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray], argsGrad: Seq[NDArray]): Executor + +

      + +Permalink + + +
    62. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray], argsGrad: Map[String, NDArray]): Executor + +

      + +Permalink + + +
    63. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray], argsGrad: Seq[NDArray]): Executor + +

      + +Permalink + + +
    64. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray], argsGrad: Map[String, NDArray], gradsReq: Map[String, String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    65. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray], argsGrad: Map[String, NDArray], gradsReq: Map[String, String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    66. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray], argsGrad: Seq[NDArray], gradsReq: Map[String, String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    67. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray], argsGrad: Seq[NDArray], gradsReq: Map[String, String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    68. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray], argsGrad: Map[String, NDArray], gradsReq: Map[String, String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    69. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray], argsGrad: Map[String, NDArray], gradsReq: Map[String, String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    70. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray], argsGrad: Seq[NDArray], gradsReq: Map[String, String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    71. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray], argsGrad: Seq[NDArray], gradsReq: Map[String, String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    72. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray], argsGrad: Map[String, NDArray], gradsReq: Seq[String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    73. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray], argsGrad: Map[String, NDArray], gradsReq: Seq[String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    74. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray], argsGrad: Seq[NDArray], gradsReq: Seq[String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    75. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray], argsGrad: Seq[NDArray], gradsReq: Seq[String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    76. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray], argsGrad: Map[String, NDArray], gradsReq: Seq[String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    77. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray], argsGrad: Map[String, NDArray], gradsReq: Seq[String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    78. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray], argsGrad: Seq[NDArray], gradsReq: Seq[String], auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    79. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray], argsGrad: Seq[NDArray], gradsReq: Seq[String], auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    80. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray], argsGrad: Map[String, NDArray], gradReq: String, auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    81. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray], argsGrad: Map[String, NDArray], gradReq: String, auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    82. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray], argsGrad: Seq[NDArray], gradReq: String, auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    83. + + +

      + + +def + + +bind(ctx: Context, args: Map[String, NDArray], argsGrad: Seq[NDArray], gradReq: String, auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    84. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray], argsGrad: Map[String, NDArray], gradReq: String, auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    85. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray], argsGrad: Map[String, NDArray], gradReq: String, auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    86. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray], argsGrad: Seq[NDArray], gradReq: String, auxStates: Map[String, NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +
    87. + + +

      + + +def + + +bind(ctx: Context, args: Seq[NDArray], argsGrad: Seq[NDArray], gradReq: String, auxStates: Seq[NDArray], group2ctx: Map[String, Context], sharedExec: Executor): Executor + +

      + +Permalink + + +

      Bind current symbol to get an executor.

      Bind current symbol to get an executor.

      ctx

      Context The device context the generated executor to run on.

      args

      Input arguments to the symbol.

      • If type is list of NDArray, the position is in the same order of list_arguments.
      • If type is dict of str to NDArray, then it maps the name of arguments to the corresponding NDArray.
      • In either case, all the arguments must be provided.
      argsGrad

      When specified, args_grad provide NDArrays to hold the result of gradient value in backward.

      • If type is list of NDArray, @@ -1091,252 +1028,249 @@

        Most operators do not have auxiliary states and this parameter can be safely ignored. User can give up gradient by using a dict in args_grad and only specify gradient they interested in.

      -
    88. - - -

      - - - def - - - clone(): Symbol - -

      - - Permalink - - -
      Definition Classes
      Symbol → AnyRef
      -
    89. - - -

      - - - def - - - debugStr: String - -

      - - Permalink - - -

      Get a debug string.

      Get a debug string.

      returns

      Debug string of the symbol.

      -
    90. - - -

      - - - def - - - dispose(): Unit - -

      - - Permalink - - -

      Release the native memory.

      Release the native memory. +

    91. + + +

      + + +def + + +clone(): Symbol + +

      + +Permalink + + +
      Definition Classes
      Symbol → AnyRef
      +
    92. + + +

      + + +def + + +debugStr: String + +

      + +Permalink + + +

      Get a debug string.

      Get a debug string.

      returns

      Debug string of the symbol.

      +
    93. + + +

      + + +def + + +dispose(): Unit + +

      + +Permalink + + +

      Release the native memory.

      Release the native memory. The object shall never be used after it is disposed.

      -
    94. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    95. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    96. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Symbol → AnyRef
      -
    97. - - -

      - - - def - - - get(name: String): Symbol - -

      - - Permalink - - - -
    98. - - -

      - - - def - - - get(index: Int): Symbol - -

      - - Permalink - - - -
    99. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    100. - - -

      - - - def - - - getInternals(): Symbol - -

      - - Permalink - - -

      Get a new grouped symbol whose output contains all the internal outputs of this symbol.

      Get a new grouped symbol whose output contains all the internal outputs of this symbol.

      returns

      The internal of the symbol.

      -
    101. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    102. - - -

      - - - def - - - inferShape(keys: Array[String], indPtr: Array[Int], values: Array[Int]): (IndexedSeq[Shape], IndexedSeq[Shape], IndexedSeq[Shape]) - -

      - - Permalink - - - -
    103. - - -

      - - - def - - - inferShape(kwargs: Map[String, Shape]): (IndexedSeq[Shape], IndexedSeq[Shape], IndexedSeq[Shape]) - -

      - - Permalink - - -

      Infer the shape of outputs and arguments of given known shapes of arguments.

      Infer the shape of outputs and arguments of given known shapes of arguments. +

    104. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    105. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    106. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      Symbol → AnyRef
      +
    107. + + +

      + + +def + + +get(name: String): Symbol + +

      + +Permalink + + +
    108. + + +

      + + +def + + +get(index: Int): Symbol + +

      + +Permalink + + +
    109. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    110. + + +

      + + +def + + +getInternals(): Symbol + +

      + +Permalink + + +

      Get a new grouped symbol whose output contains all the internal outputs of this symbol.

      Get a new grouped symbol whose output contains all the internal outputs of this symbol.

      returns

      The internal of the symbol.

      +
    111. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    112. + + +

      + + +def + + +inferShape(keys: Array[String], indPtr: Array[Int], values: Array[Int]): (IndexedSeq[Shape], IndexedSeq[Shape], IndexedSeq[Shape]) + +

      + +Permalink + + +
    113. + + +

      + + +def + + +inferShape(kwargs: Map[String, Shape]): (IndexedSeq[Shape], IndexedSeq[Shape], IndexedSeq[Shape]) + +

      + +Permalink + + +

      Infer the shape of outputs and arguments of given known shapes of arguments.

      Infer the shape of outputs and arguments of given known shapes of arguments. User can either pass in the known shapes in positional way or keyword argument way. Tuple of Nones is returned if there is not enough information passed in. An error will be raised if there is inconsistency found in the known shapes passed in.

      kwargs

      Provide keyword arguments of known shapes.

      returns

      argShapes List of shapes of arguments. The order is in the same order as list_arguments() outShapes List of shapes of outputs. The order is in the same order as list_outputs() auxShapes List of shapes of outputs. The order is in the same order as list_auxiliary()

      -
    114. - - -

      - - - def - - - inferShape(args: Shape*): (IndexedSeq[Shape], IndexedSeq[Shape], IndexedSeq[Shape]) - -

      - - Permalink - - -

      Infer the shape of outputs and arguments of given known shapes of arguments.

      Infer the shape of outputs and arguments of given known shapes of arguments. +

    115. + + +

      + + +def + + +inferShape(args: Shape*): (IndexedSeq[Shape], IndexedSeq[Shape], IndexedSeq[Shape]) + +

      + +Permalink + + +

      Infer the shape of outputs and arguments of given known shapes of arguments.

      Infer the shape of outputs and arguments of given known shapes of arguments. User can either pass in the known shapes in positional way or keyword argument way. Tuple of Nones is returned if there is not enough information passed in. An error will be raised if there is inconsistency found in the known shapes passed in.

      args

      Provide shape of arguments in a positional way. @@ -1344,23 +1278,23 @@

      argShapes List of shapes of arguments. The order is in the same order as list_arguments() outShapes List of shapes of outputs. The order is in the same order as list_outputs() auxShapes List of shapes of outputs. The order is in the same order as list_auxiliary()

      -
    116. - - -

      - - - def - - - inferType(kwargs: Map[String, DType]): (Seq[DType], Seq[DType], Seq[DType]) - -

      - - Permalink - - -

      Infer the type of outputs and arguments of given known types of arguments.

      Infer the type of outputs and arguments of given known types of arguments. +

    117. + + +

      + + +def + + +inferType(kwargs: Map[String, DType]): (Seq[DType], Seq[DType], Seq[DType]) + +

      + +Permalink + + +

      Infer the type of outputs and arguments of given known types of arguments.

      Infer the type of outputs and arguments of given known types of arguments. Tuple of Nones is returned if there is not enough information passed in. An error will be raised if there is inconsistency found in the known types passed in.

      kwargs

      Provide keyword arguments of known types.

      returns

      argTypes : list of numpy.dtype or None @@ -1372,23 +1306,23 @@

      auxTypes : list of numpy.dtype or None List of types of outputs. The order is in the same order as list_auxiliary()

      -
    118. - - -

      - - - def - - - inferType(args: DType*): (Seq[DType], Seq[DType], Seq[DType]) - -

      - - Permalink - - -

      Infer the type of outputs and arguments of given known types of arguments.

      Infer the type of outputs and arguments of given known types of arguments. +

    119. + + +

      + + +def + + +inferType(args: DType*): (Seq[DType], Seq[DType], Seq[DType]) + +

      + +Permalink + + +

      Infer the type of outputs and arguments of given known types of arguments.

      Infer the type of outputs and arguments of given known types of arguments. Tuple of Nones is returned if there is not enough information passed in. An error will be raised if there is inconsistency found in the known types passed in.

      args

      Provide type of arguments in a positional way. Unknown type can be marked as null

      returns

      argTypes : list of numpy.dtype or None @@ -1400,344 +1334,325 @@

      auxTypes : list of numpy.dtype or None List of types of outputs. The order is in the same order as list_auxiliary()

      -
    120. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    121. - - -

      - - - def - - - listArguments(): IndexedSeq[String] - -

      - - Permalink - - -

      List all the arguments in the symbol.

      List all the arguments in the symbol.

      returns

      Array of all the arguments.

      -
    122. - - -

      - - - def - - - listAttr(): Map[String, String] - -

      - - Permalink - - -

      Gets all attributes from the symbol.

      Gets all attributes from the symbol.

      returns

      Map[String, String], mapping attribute keys to values.

      -
    123. - - -

      - - - def - - - listAuxiliaryStates(): IndexedSeq[String] - -

      - - Permalink - - -

      List all auxiliary states in the symbol.

      List all auxiliary states in the symbol.

      returns

      The names of the auxiliary states.

      Note

      +

    124. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    125. + + +

      + + +def + + +listArguments(): IndexedSeq[String] + +

      + +Permalink + + +

      List all the arguments in the symbol.

      List all the arguments in the symbol.

      returns

      Array of all the arguments.

      +
    126. + + +

      + + +def + + +listAttr(): Map[String, String] + +

      + +Permalink + + +

      Gets all attributes from the symbol.

      Gets all attributes from the symbol.

      returns

      Map[String, String], mapping attribute keys to values.

      +
    127. + + +

      + + +def + + +listAuxiliaryStates(): IndexedSeq[String] + +

      + +Permalink + + +

      List all auxiliary states in the symbol.

      List all auxiliary states in the symbol.

      returns

      The names of the auxiliary states.

      Note

      Auxiliary states are special states of symbols that do not corresponds to an argument, and do not have gradient. But still be useful for the specific operations. A common example of auxiliary state is the moving_mean and moving_variance in BatchNorm. Most operators do not have Auxiliary states.

      -
    128. - - -

      - - - def - - - listOutputs(): IndexedSeq[String] - -

      - - Permalink - - -

      List all outputs in the symbol.

      List all outputs in the symbol.

      returns

      : List of all the outputs.

      -
    129. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    130. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    131. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    132. - - -

      - - - def - - - save(fname: String): Unit - -

      - - Permalink - - -

      Save symbol into file.

      Save symbol into file. +

    133. + + +

      + + +def + + +listOutputs(): IndexedSeq[String] + +

      + +Permalink + + +

      List all outputs in the symbol.

      List all outputs in the symbol.

      returns

      : List of all the outputs.

      +
    134. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    135. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    136. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    137. + + +

      + + +def + + +save(fname: String): Unit + +

      + +Permalink + + +

      Save symbol into file.

      Save symbol into 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

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

      Symbol.load : Used to load symbol from file.

      -
    138. - - -

      - - - def - - - simpleBind(ctx: Context, gradReq: String = "write", shapeDict: Map[String, Shape], typeDict: Map[String, DType] = null): Executor - -

      - - Permalink - - -

      Bind current symbol to get an executor, allocate all the ndarrays needed.

      Bind current symbol to get an executor, allocate all the ndarrays needed. +

    139. + + +

      + + +def + + +simpleBind(ctx: Context, gradReq: String = "write", shapeDict: Map[String, Shape], typeDict: Map[String, DType] = null): Executor + +

      + +Permalink + + +

      Bind current symbol to get an executor, allocate all the ndarrays needed.

      Bind current symbol to get an executor, allocate all the ndarrays needed. Allows specifying data types. This function will ask user to pass in ndarray of position they like to bind to, and it will automatically allocate the ndarray for arguments and auxiliary states that user did not specify explicitly.

      ctx

      The device context the generated executor to run on.

      gradReq

      {'write', 'add', 'null'}, or list of str or dict of str to str, optional Specifies how we should update the gradient to the args_grad.

      • 'write' means everytime gradient is write to specified args_grad NDArray.
      • 'add' means everytime gradient is add to the specified NDArray.
      • 'null' means no action is taken, the gradient may not be calculated.
      shapeDict

      Input shape dictionary, name->shape

      typeDict

      Input type dictionary, name->dtype

      returns

      The generated Executor

      -
    140. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    141. - - -

      - - - def - - - toJson: String - -

      - - Permalink - - -

      Save symbol into a JSON string.

      Save symbol into a JSON string. +

    142. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    143. + + +

      + + +def + + +toJson: String + +

      + +Permalink + + +

      Save symbol into a JSON string.

      Save symbol into a JSON string. See Also symbol.loadJson : Used to load symbol from JSON string.

      -
    144. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    145. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    146. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    147. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/SymbolConversions$.html b/api/scala/docs/ml/dmlc/mxnet/SymbolConversions$.html index a564744964bc..57ecd9c37298 100644 --- a/api/scala/docs/ml/dmlc/mxnet/SymbolConversions$.html +++ b/api/scala/docs/ml/dmlc/mxnet/SymbolConversions$.html @@ -1,19 +1,18 @@ + - - SymbolConversions - ml.dmlc.mxnet.SymbolConversions - - - - - - - - - - - - + + + + - - - -
    - Object/Class -

    ml.dmlc.mxnet

    -

    SymbolConversions

    + + + - -

    - - - object - - - SymbolConversions - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. SymbolConversions
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - implicit - def - - - double2Scalar(x: Double): SymbolConversions[Double] - -

      - - Permalink - - - -
    7. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    8. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    9. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    10. - - -

      - - implicit - def - - - float2Scalar(x: Float): SymbolConversions[Float] - -

      - - Permalink - - - -
    11. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - implicit - def - - - int2Scalar(x: Int): SymbolConversions[Int] - -

      - - Permalink - - - -
    14. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    15. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    18. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    19. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    20. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    21. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    22. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + | package mxnet +

    + +Permalink + + +
    +

    + + +object + + +SymbolConversions + +

    +
    +Linear Supertypes +
    AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. SymbolConversions
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +implicit +def + + +double2Scalar(x: Double): SymbolConversions[Double] + +

      + +Permalink + + +
    7. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    8. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    9. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    10. + + +

      + +implicit +def + + +float2Scalar(x: Float): SymbolConversions[Float] + +

      + +Permalink + + +
    11. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    13. + + +

      + +implicit +def + + +int2Scalar(x: Int): SymbolConversions[Int] + +

      + +Permalink + + +
    14. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    15. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    18. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    19. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    20. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    21. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    22. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/SymbolConversions.html b/api/scala/docs/ml/dmlc/mxnet/SymbolConversions.html index ae8964067f8a..0ebb5d3256ea 100644 --- a/api/scala/docs/ml/dmlc/mxnet/SymbolConversions.html +++ b/api/scala/docs/ml/dmlc/mxnet/SymbolConversions.html @@ -1,19 +1,18 @@ + - - SymbolConversions - ml.dmlc.mxnet.SymbolConversions - - - - - - - - - - - - + + + + - - - -
    - Class/Object -

    ml.dmlc.mxnet

    -

    SymbolConversions

    + + + - -

    - - - class - - - SymbolConversions[V] extends AnyRef - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. SymbolConversions
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - SymbolConversions(value: V) - -

      - - Permalink - - - -
    -
    - - - - - -
    -

    Value Members

    -
    1. - - -

      - - final - def - - - !=(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    2. - - -

      - - final - def - - - ##(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    3. - - -

      - - - def - - - %(other: Symbol): Symbol - -

      - - Permalink - - - -
    4. - - -

      - - - def - - - *(other: Symbol): Symbol - -

      - - Permalink - - - -
    5. - - -

      - - - def - - - **(other: Symbol): Symbol - -

      - - Permalink - - - -
    6. - - -

      - - - def - - - +(other: Symbol): Symbol - -

      - - Permalink - - - -
    7. - - -

      - - - def - - - -(other: Symbol): Symbol - -

      - - Permalink - - - -
    8. - - -

      - - - def - - - /(other: Symbol): Symbol - -

      - - Permalink - - - -
    9. - - -

      - - - def - - - <(other: Symbol): Symbol - -

      - - Permalink - - - -
    10. - - -

      - - - def - - - <=(other: Symbol): Symbol - -

      - - Permalink - - - -
    11. - - -

      - - final - def - - - ==(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - - def - - - >(other: Symbol): Symbol - -

      - - Permalink - - - -
    13. - - -

      - - - def - - - >=(other: Symbol): Symbol - -

      - - Permalink - - - -
    14. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    15. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    16. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    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 - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    21. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    22. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    23. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    24. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    25. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    26. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    27. - - -

      - - - val - - - value: V - -

      - - Permalink - - - -
    28. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    29. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    30. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + | package mxnet +

    + +Permalink + + +
    +

    + + +class + + +SymbolConversions[V] extends AnyRef + +

    +
    +Linear Supertypes +
    AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. SymbolConversions
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +SymbolConversions(value: V) + +

      + +Permalink + + +
    +
    +
    +

    Value Members

    +
    1. + + +

      + +final +def + + +!=(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    2. + + +

      + +final +def + + +##(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    3. + + +

      + + +def + + +%(other: Symbol): Symbol + +

      + +Permalink + + +
    4. + + +

      + + +def + + +*(other: Symbol): Symbol + +

      + +Permalink + + +
    5. + + +

      + + +def + + +**(other: Symbol): Symbol + +

      + +Permalink + + +
    6. + + +

      + + +def + + ++(other: Symbol): Symbol + +

      + +Permalink + + +
    7. + + +

      + + +def + + +-(other: Symbol): Symbol + +

      + +Permalink + + +
    8. + + +

      + + +def + + +/(other: Symbol): Symbol + +

      + +Permalink + + +
    9. + + +

      + + +def + + +<(other: Symbol): Symbol + +

      + +Permalink + + +
    10. + + +

      + + +def + + +<=(other: Symbol): Symbol + +

      + +Permalink + + +
    11. + + +

      + +final +def + + +==(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + + +def + + +>(other: Symbol): Symbol + +

      + +Permalink + + +
    13. + + +

      + + +def + + +>=(other: Symbol): Symbol + +

      + +Permalink + + +
    14. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    15. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    16. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    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 + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    21. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    22. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    23. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    24. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    25. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    26. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    27. + + +

      + + +val + + +value: V + +

      + +Permalink + + +
    28. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    29. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    30. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/SymbolGenerator.html b/api/scala/docs/ml/dmlc/mxnet/SymbolGenerator.html index 650b8c2115c8..643f1b3fed3c 100644 --- a/api/scala/docs/ml/dmlc/mxnet/SymbolGenerator.html +++ b/api/scala/docs/ml/dmlc/mxnet/SymbolGenerator.html @@ -1,19 +1,18 @@ + - - SymbolGenerator - ml.dmlc.mxnet.SymbolGenerator - - - - - - - - - - - - + + + + - - - -
    - Trait -

    ml.dmlc.mxnet

    -

    SymbolGenerator

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - trait - - - SymbolGenerator extends AnyRef - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. SymbolGenerator
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    - - - - -
    -

    Abstract Value Members

    -
    1. - - -

      - - abstract - def - - - generate(key: AnyRef): Symbol - -

      - - Permalink - - - -
    -
    - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    12. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    13. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    17. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    18. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    19. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Trait +

    ml.dmlc.mxnet

    +

    SymbolGenerator

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +trait + + +SymbolGenerator extends AnyRef + +

    +
    +Linear Supertypes +
    AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. SymbolGenerator
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Abstract Value Members

    +
    1. + + +

      + +abstract +def + + +generate(key: AnyRef): Symbol + +

      + +Permalink + + +
    +
    +
    +

    Concrete 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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    12. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    13. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    17. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    18. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    19. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/TopKAccuracy.html b/api/scala/docs/ml/dmlc/mxnet/TopKAccuracy.html index 96573a480fa6..50f3de6adb26 100644 --- a/api/scala/docs/ml/dmlc/mxnet/TopKAccuracy.html +++ b/api/scala/docs/ml/dmlc/mxnet/TopKAccuracy.html @@ -1,19 +1,18 @@ + - - TopKAccuracy - ml.dmlc.mxnet.TopKAccuracy - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet

    -

    TopKAccuracy

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - TopKAccuracy extends EvalMetric - -

    - -

    Calculate top k predictions accuracy + + +

    +Class +

    ml.dmlc.mxnet

    +

    TopKAccuracy

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +class + + +TopKAccuracy extends EvalMetric + +

    +

    Calculate top k predictions accuracy

    - Linear Supertypes -
    EvalMetric, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. TopKAccuracy
    2. EvalMetric
    3. AnyRef
    4. Any
    5. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - TopKAccuracy(topK: Int) - -

      - - Permalink - - - -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - - def - - - get: (Array[String], Array[Float]) - -

      - - Permalink - - -

      Get the current evaluation result.

      Get the current evaluation result.

      returns

      name, Name of the metric - value, Value of the evaluation

      Definition Classes
      EvalMetric
      -
    10. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    13. - - -

      - - - val - - - name: String - -

      - - Permalink - - -

      Metric name

      Metric name

      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    14. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - var - - - numInst: Int - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    18. - - -

      - - - def - - - reset(): Unit - -

      - - Permalink - - -

      Clear the internal statistics to initial state.

      Clear the internal statistics to initial state. -

      Definition Classes
      EvalMetric
      -
    19. - - -

      - - - var - - - sumMetric: Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      EvalMetric
      -
    20. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    21. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    22. - - -

      - - - def - - - update(labels: IndexedSeq[NDArray], preds: IndexedSeq[NDArray]): Unit - -

      - - Permalink - - -

      Update the internal evaluation.

      Update the internal evaluation. -

      labels

      The labels of the data

      preds

      Predicted values.

      Definition Classes
      TopKAccuracyEvalMetric
      -
    23. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    24. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    25. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from EvalMetric

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +Linear Supertypes +
    EvalMetric, AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. TopKAccuracy
    2. EvalMetric
    3. AnyRef
    4. Any
    5. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +TopKAccuracy(topK: Int) + +

      + +Permalink + + +
    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + + +def + + +get: (Array[String], Array[Float]) + +

      + +Permalink + + +

      Get the current evaluation result.

      Get the current evaluation result.

      returns

      name, Name of the metric + value, Value of the evaluation

      Definition Classes
      EvalMetric
      +
    10. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    13. + + +

      + + +val + + +name: String + +

      + +Permalink + + +

      Metric name

      Metric name

      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    14. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +var + + +numInst: Int + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    18. + + +

      + + +def + + +reset(): Unit + +

      + +Permalink + + +

      Clear the internal statistics to initial state.

      Clear the internal statistics to initial state. +

      Definition Classes
      EvalMetric
      +
    19. + + +

      + + +var + + +sumMetric: Float + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      EvalMetric
      +
    20. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    21. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    22. + + +

      + + +def + + +update(labels: IndexedSeq[NDArray], preds: IndexedSeq[NDArray]): Unit + +

      + +Permalink + + +

      Update the internal evaluation.

      Update the internal evaluation. +

      labels

      The labels of the data

      preds

      Predicted values.

      Definition Classes
      TopKAccuracyEvalMetric
      +
    23. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    24. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    25. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from EvalMetric

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Uniform.html b/api/scala/docs/ml/dmlc/mxnet/Uniform.html index 3a08165bf611..eb52d5ade3d3 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Uniform.html +++ b/api/scala/docs/ml/dmlc/mxnet/Uniform.html @@ -1,19 +1,18 @@ + - - Uniform - ml.dmlc.mxnet.Uniform - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet

    -

    Uniform

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - Uniform extends Initializer - -

    - -

    Initialize the weight with uniform [-scale, scale] + + +

    +Class +

    ml.dmlc.mxnet

    +

    Uniform

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +class + + +Uniform extends Initializer + +

    +

    Initialize the weight with uniform [-scale, scale]

    - Linear Supertypes -
    Initializer, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Uniform
    2. Initializer
    3. AnyRef
    4. Any
    5. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - Uniform(scale: Float = 0.07f) - -

      - - Permalink - - -

      scale

      The scale of uniform distribution

      -
    -
    - - - - - -
    -

    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 - - - apply(name: String, arr: NDArray): Unit - -

      - - Permalink - - -

      Initialize an Initializer +Linear Supertypes +

      Initializer, AnyRef, Any
      +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Uniform
    2. Initializer
    3. AnyRef
    4. Any
    5. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +Uniform(scale: Float = 0.07f) + +

      + +Permalink + + +

      scale

      The scale of uniform distribution

      +
    +
    +
    +

    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 + + +apply(name: String, arr: NDArray): Unit + +

      + +Permalink + + +

      Initialize an Initializer

      Initialize an Initializer -

      name

      name of corrosponding ndarray

      arr

      ndarray to be Initialized

      Definition Classes
      Initializer
      -
    5. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    6. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    7. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    8. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    9. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    10. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - - def - - - initBeta(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    13. - - -

      - - - def - - - initBias(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    14. - - -

      - - - def - - - initBilinear(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    15. - - -

      - - - def - - - initDefault(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    16. - - -

      - - - def - - - initGamma(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    17. - - -

      - - - def - - - initWeight(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Definition Classes
      UniformInitializer
      -
    18. - - -

      - - - def - - - initZero(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    19. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    20. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    21. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    22. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    23. - - -

      - - - val - - - scale: Float - -

      - - Permalink - - -

      The scale of uniform distribution

      The scale of uniform distribution

      Attributes
      protected
      -
    24. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    25. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    26. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    27. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    28. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from Initializer

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +

    name

    name of corrosponding ndarray

    arr

    ndarray to be Initialized

    Definition Classes
    Initializer
    +
  • + + +

    + +final +def + + +asInstanceOf[T0]: T0 + +

    + +Permalink + + +
    Definition Classes
    Any
    +
  • + + +

    + + +def + + +clone(): AnyRef + +

    + +Permalink + + +
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +eq(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +equals(arg0: Any): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +finalize(): Unit + +

    + +Permalink + + +
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    +@throws( +classOf[java.lang.Throwable] +) +
    +
  • + + +

    + +final +def + + +getClass(): Class[_] + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +hashCode(): Int + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +initBeta(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initBias(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initBilinear(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initDefault(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initGamma(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initWeight(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Definition Classes
    UniformInitializer
    +
  • + + +

    + + +def + + +initZero(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + +final +def + + +isInstanceOf[T0]: Boolean + +

    + +Permalink + + +
    Definition Classes
    Any
    +
  • + + +

    + +final +def + + +ne(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notify(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notifyAll(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +val + + +scale: Float + +

    + +Permalink + + +

    The scale of uniform distribution

    The scale of uniform distribution

    Attributes
    protected
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • +
    + +
    +
    +

    Inherited from Initializer

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Visualization$$Dot.html b/api/scala/docs/ml/dmlc/mxnet/Visualization$$Dot.html index 63a0e47fb576..e1b507efe531 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Visualization$$Dot.html +++ b/api/scala/docs/ml/dmlc/mxnet/Visualization$$Dot.html @@ -1,19 +1,18 @@ + - - Dot - ml.dmlc.mxnet.Visualization.Dot - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.Visualization

    -

    Dot

    Related Doc: - package Visualization -

    - - Permalink - - -
    - -

    - - - class - - - Dot extends AnyRef - -

    - -

    A simplify implementation of the python-Graphviz library functionality + + +

    +Class +

    ml.dmlc.mxnet.Visualization

    +

    Dot

    Related Doc: + package Visualization +

    + +Permalink + + +
    +

    + + +class + + +Dot extends AnyRef + +

    +

    A simplify implementation of the python-Graphviz library functionality based on: https://github.com/xflr6/graphviz/tree/master/graphviz

    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Dot
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - Dot(name: String) - -

      - - Permalink - - - -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - def - - - edge(tailName: String, headName: String, label: String = null, attrs: Map[String, String]): Unit - -

      - - Permalink - - -

      Create an edge between two nodes.

      Create an edge between two nodes.

      tailName

      Start node identifier.

      headName

      End node identifier.

      label

      Caption to be displayed near the edge.

      attrs

      Any additional edge attributes (must be strings).

      -
    7. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    8. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    9. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    10. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    13. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - - def - - - node(name: String, label: String = null, attrs: Map[String, String]): Unit - -

      - - Permalink - - -

      Create a node.

      Create a node.

      name

      Unique identifier for the node inside the source.

      label

      Caption to be displayed (defaults to the node name).

      attrs

      Any additional node attributes (must be strings).

      -
    15. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - def - - - render(engine: String = "dot", format: String = "pdf", fileName: String, path: String): Unit - -

      - - Permalink - - -

      Render file with Graphviz engine into format.

      Render file with Graphviz engine into format.

      engine

      The layout commmand used for rendering ('dot', 'neato', ...).

      format

      The output format used for rendering ('pdf', 'png', ...).

      fileName

      Name of the DOT source file to render.

      path

      Path to save the Dot source file.

      -
    18. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    19. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    20. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    21. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    22. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +Linear Supertypes +
    AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Dot
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +Dot(name: String) + +

      + +Permalink + + +
    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + + +def + + +edge(tailName: String, headName: String, label: String = null, attrs: Map[String, String]): Unit + +

      + +Permalink + + +

      Create an edge between two nodes.

      Create an edge between two nodes.

      tailName

      Start node identifier.

      headName

      End node identifier.

      label

      Caption to be displayed near the edge.

      attrs

      Any additional edge attributes (must be strings).

      +
    7. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    8. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    9. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    10. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    12. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    13. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + + +def + + +node(name: String, label: String = null, attrs: Map[String, String]): Unit + +

      + +Permalink + + +

      Create a node.

      Create a node.

      name

      Unique identifier for the node inside the source.

      label

      Caption to be displayed (defaults to the node name).

      attrs

      Any additional node attributes (must be strings).

      +
    15. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    17. + + +

      + + +def + + +render(engine: String = "dot", format: String = "pdf", fileName: String, path: String): Unit + +

      + +Permalink + + +

      Render file with Graphviz engine into format.

      Render file with Graphviz engine into format.

      engine

      The layout commmand used for rendering ('dot', 'neato', ...).

      format

      The output format used for rendering ('pdf', 'png', ...).

      fileName

      Name of the DOT source file to render.

      path

      Path to save the Dot source file.

      +
    18. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    19. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    20. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    21. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    22. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Visualization$.html b/api/scala/docs/ml/dmlc/mxnet/Visualization$.html index 19671d36b427..86a89567e6e6 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Visualization$.html +++ b/api/scala/docs/ml/dmlc/mxnet/Visualization$.html @@ -1,19 +1,18 @@ + - - Visualization - ml.dmlc.mxnet.Visualization - - - - - - - - - - - - + + + + - - - -
    - Object -

    ml.dmlc.mxnet

    -

    Visualization

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - object - - - Visualization - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Visualization
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    - - -
    -

    Type Members

    -
    1. - - -

      - - - class - - - Dot extends AnyRef - -

      - - Permalink - - -

      A simplify implementation of the python-Graphviz library functionality + + +

      +Object +

      ml.dmlc.mxnet

      +

      Visualization

      Related Doc: + package mxnet +

      + +Permalink + + +
      +

      + + +object + + +Visualization + +

      +
      +Linear Supertypes +
      AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. Visualization
      2. AnyRef
      3. Any
      4. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Type Members

      +
      1. + + +

        + + +class + + +Dot extends AnyRef + +

        + +Permalink + + +

        A simplify implementation of the python-Graphviz library functionality based on: https://github.com/xflr6/graphviz/tree/master/graphviz

        -
      -
      - - - -
      -

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

        - - final - def - - - asInstanceOf[T0]: T0 - -

        - - Permalink - - -
        Definition Classes
        Any
        -
      5. - - -

        - - - def - - - clone(): AnyRef - -

        - - Permalink - - -
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      6. - - -

        - - final - def - - - eq(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      7. - - -

        - - - def - - - equals(arg0: Any): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      8. - - -

        - - - def - - - finalize(): Unit - -

        - - Permalink - - -
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - classOf[java.lang.Throwable] - ) - -
        -
      9. - - -

        - - final - def - - - getClass(): Class[_] - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      10. - - -

        - - - def - - - hashCode(): Int - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      11. - - -

        - - final - def - - - isInstanceOf[T0]: Boolean - -

        - - Permalink - - -
        Definition Classes
        Any
        -
      12. - - -

        - - final - def - - - ne(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      13. - - -

        - - final - def - - - notify(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      14. - - -

        - - final - def - - - notifyAll(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      15. - - -

        - - - def - - - plotNetwork(symbol: Symbol, title: String = "plot", shape: Map[String, Shape] = null, nodeAttrs: Map[String, String] = Map[String, String](), hideWeights: Boolean = true): Dot - -

        - - Permalink - - -

        convert symbol to Dot object for visualization

        convert symbol to Dot object for visualization

        symbol

        symbol to be visualized

        title

        title of the dot graph

        shape

        Map of shapes, str -> shape, given input shapes

        nodeAttrs

        Map of node's attributes +

      +
      +
      +

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

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      5. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      6. + + +

        + +final +def + + +eq(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      7. + + +

        + + +def + + +equals(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      8. + + +

        + + +def + + +finalize(): Unit + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +classOf[java.lang.Throwable] +) +
        +
      9. + + +

        + +final +def + + +getClass(): Class[_] + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      10. + + +

        + + +def + + +hashCode(): Int + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      11. + + +

        + +final +def + + +isInstanceOf[T0]: Boolean + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      12. + + +

        + +final +def + + +ne(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      13. + + +

        + +final +def + + +notify(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      14. + + +

        + +final +def + + +notifyAll(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      15. + + +

        + + +def + + +plotNetwork(symbol: Symbol, title: String = "plot", shape: Map[String, Shape] = null, nodeAttrs: Map[String, String] = Map[String, String](), hideWeights: Boolean = true): Dot + +

        + +Permalink + + +

        convert symbol to Dot object for visualization

        convert symbol to Dot object for visualization

        symbol

        symbol to be visualized

        title

        title of the dot graph

        shape

        Map of shapes, str -> shape, given input shapes

        nodeAttrs

        Map of node's attributes for example: - nodeAttrs = Map("shape" -> "oval", "fixedsize" -> "false") - means to plot the network in "oval"

        hideWeights

        + nodeAttrs = Map("shape" -> "oval", "fixedsize" -> "false") + means to plot the network in "oval"

        hideWeights

        if true (default) then inputs with names like *_weight or *_bias will be hidden

        returns

        Dot object of symbol

        -
      16. - - -

        - - - def - - - str2Tuple(str: String): List[String] - -

        - - Permalink - - -

        convert shape string to list, internal use only

        convert shape string to list, internal use only

        str

        shape string

        returns

        list of string to represent shape

        -
      17. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      18. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      19. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      20. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      21. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      -
      - - - - -
      - -
      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +
    2. + + +

      + + +def + + +str2Tuple(str: String): List[String] + +

      + +Permalink + + +

      convert shape string to list, internal use only

      convert shape string to list, internal use only

      str

      shape string

      returns

      list of string to represent shape

      +
    3. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    4. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    5. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    7. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/Xavier.html b/api/scala/docs/ml/dmlc/mxnet/Xavier.html index 6f1a87a4ec6d..e13b26186100 100644 --- a/api/scala/docs/ml/dmlc/mxnet/Xavier.html +++ b/api/scala/docs/ml/dmlc/mxnet/Xavier.html @@ -1,19 +1,18 @@ + - - Xavier - ml.dmlc.mxnet.Xavier - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet

    -

    Xavier

    Related Doc: - package mxnet -

    - - Permalink - - -
    - -

    - - - class - - - Xavier extends Initializer - -

    - -

    Initialize the weight with Xavier or similar initialization scheme. + + +

    +Class +

    ml.dmlc.mxnet

    +

    Xavier

    Related Doc: + package mxnet +

    + +Permalink + + +
    +

    + + +class + + +Xavier extends Initializer + +

    +

    Initialize the weight with Xavier or similar initialization scheme.

    - Linear Supertypes -
    Initializer, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Xavier
    2. Initializer
    3. AnyRef
    4. Any
    5. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - Xavier(rndType: String = "uniform", factorType: String = "avg", magnitude: Float = 3) - -

      - - Permalink - - -

      rndType

      Options are: "gaussian" or "uniform"

      factorType

      Options are: "avg", "in", "out"

      magnitude

      scale of random number range

      -
    -
    - - - - - -
    -

    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 - - - apply(name: String, arr: NDArray): Unit - -

      - - Permalink - - -

      Initialize an Initializer +Linear Supertypes +

      Initializer, AnyRef, Any
      +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Xavier
    2. Initializer
    3. AnyRef
    4. Any
    5. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +Xavier(rndType: String = "uniform", factorType: String = "avg", magnitude: Float = 3) + +

      + +Permalink + + +

      rndType

      Options are: "gaussian" or "uniform"

      factorType

      Options are: "avg", "in", "out"

      magnitude

      scale of random number range

      +
    +
    +
    +

    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 + + +apply(name: String, arr: NDArray): Unit + +

      + +Permalink + + +

      Initialize an Initializer

      Initialize an Initializer -

      name

      name of corrosponding ndarray

      arr

      ndarray to be Initialized

      Definition Classes
      Initializer
      -
    5. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    6. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    7. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    8. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    9. - - -

      - - - val - - - factorType: String - -

      - - Permalink - - -

      Options are: "avg", "in", "out"

      Options are: "avg", "in", "out"

      Attributes
      protected
      -
    10. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    11. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - - def - - - initBeta(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    14. - - -

      - - - def - - - initBias(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    15. - - -

      - - - def - - - initBilinear(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    16. - - -

      - - - def - - - initDefault(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    17. - - -

      - - - def - - - initGamma(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    18. - - -

      - - - def - - - initWeight(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Definition Classes
      XavierInitializer
      -
    19. - - -

      - - - def - - - initZero(name: String, arr: NDArray): Unit - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Initializer
      -
    20. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    21. - - -

      - - - val - - - magnitude: Float - -

      - - Permalink - - -

      scale of random number range

      scale of random number range

      Attributes
      protected
      -
    22. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    23. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    24. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    25. - - -

      - - - val - - - rndType: String - -

      - - Permalink - - -

      Options are: "gaussian" or "uniform"

      Options are: "gaussian" or "uniform"

      Attributes
      protected
      -
    26. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    27. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    28. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    29. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    30. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from Initializer

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +

    name

    name of corrosponding ndarray

    arr

    ndarray to be Initialized

    Definition Classes
    Initializer
    +
  • + + +

    + +final +def + + +asInstanceOf[T0]: T0 + +

    + +Permalink + + +
    Definition Classes
    Any
    +
  • + + +

    + + +def + + +clone(): AnyRef + +

    + +Permalink + + +
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +eq(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +equals(arg0: Any): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +val + + +factorType: String + +

    + +Permalink + + +

    Options are: "avg", "in", "out"

    Options are: "avg", "in", "out"

    Attributes
    protected
    +
  • + + +

    + + +def + + +finalize(): Unit + +

    + +Permalink + + +
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    +@throws( +classOf[java.lang.Throwable] +) +
    +
  • + + +

    + +final +def + + +getClass(): Class[_] + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +hashCode(): Int + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +initBeta(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initBias(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initBilinear(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initDefault(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initGamma(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + + +def + + +initWeight(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Definition Classes
    XavierInitializer
    +
  • + + +

    + + +def + + +initZero(name: String, arr: NDArray): Unit + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Initializer
    +
  • + + +

    + +final +def + + +isInstanceOf[T0]: Boolean + +

    + +Permalink + + +
    Definition Classes
    Any
    +
  • + + +

    + + +val + + +magnitude: Float + +

    + +Permalink + + +

    scale of random number range

    scale of random number range

    Attributes
    protected
    +
  • + + +

    + +final +def + + +ne(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notify(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notifyAll(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +val + + +rndType: String + +

    + +Permalink + + +

    Options are: "gaussian" or "uniform"

    Options are: "gaussian" or "uniform"

    Attributes
    protected
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • +
    + +
    +
    +

    Inherited from Initializer

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/contrib/NDArray$.html b/api/scala/docs/ml/dmlc/mxnet/contrib/NDArray$.html index bf47619ec9cd..f86cb45f1867 100644 --- a/api/scala/docs/ml/dmlc/mxnet/contrib/NDArray$.html +++ b/api/scala/docs/ml/dmlc/mxnet/contrib/NDArray$.html @@ -1,19 +1,18 @@ + - - NDArray - ml.dmlc.mxnet.contrib.NDArray - - - - - - - - - - - - + + + + - - - -
    - Object -

    ml.dmlc.mxnet.contrib

    -

    NDArray

    Related Doc: - package contrib -

    - - Permalink - - -
    - -

    - - - object - - - NDArray - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. NDArray
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    12. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    13. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    17. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    18. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    19. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Object +

    ml.dmlc.mxnet.contrib

    +

    NDArray

    Related Doc: + package contrib +

    + +Permalink + + +
    +

    + + +object + + +NDArray + +

    +
    +Linear Supertypes +
    AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. NDArray
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    12. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    13. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    17. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    18. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    19. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/contrib/Symbol$.html b/api/scala/docs/ml/dmlc/mxnet/contrib/Symbol$.html index 068c6bb632e7..660434bcb922 100644 --- a/api/scala/docs/ml/dmlc/mxnet/contrib/Symbol$.html +++ b/api/scala/docs/ml/dmlc/mxnet/contrib/Symbol$.html @@ -1,19 +1,18 @@ + - - Symbol - ml.dmlc.mxnet.contrib.Symbol - - - - - - - - - - - - + + + + - - - -
    - Object -

    ml.dmlc.mxnet.contrib

    -

    Symbol

    Related Doc: - package contrib -

    - - Permalink - - -
    - -

    - - - object - - - Symbol - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Symbol
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    12. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    13. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    17. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    18. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    19. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Object +

    ml.dmlc.mxnet.contrib

    +

    Symbol

    Related Doc: + package contrib +

    + +Permalink + + +
    +

    + + +object + + +Symbol + +

    +
    +Linear Supertypes +
    AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Symbol
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    12. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    13. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    16. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    17. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    18. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    19. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/contrib/package.html b/api/scala/docs/ml/dmlc/mxnet/contrib/package.html index d7ec9b4df116..26385d90ca55 100644 --- a/api/scala/docs/ml/dmlc/mxnet/contrib/package.html +++ b/api/scala/docs/ml/dmlc/mxnet/contrib/package.html @@ -1,19 +1,18 @@ + - - contrib - ml.dmlc.mxnet.contrib - - - - - - - - - - - - + + + + - - - -
    - Package -

    ml.dmlc.mxnet

    -

    contrib

    - - Permalink - - -
    - -

    - - - package - - - contrib - -

    - -
    - - -
    -
    - - -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    - - - - - - -
    -

    Value Members

    -
    1. - - -

      - - - object - - - NDArray - -

      - - Permalink - - - -
    2. - - -

      - - - object - - - Symbol - -

      - - Permalink - - - -
    -
    - - - - -
    - -
    - - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Package +

    ml.dmlc.mxnet

    +

    contrib

    + +Permalink + + +
    +

    + + +package + + +contrib + +

    +
    +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Value Members

    +
    1. + + +

      + + +object + + +NDArray + +

      + +Permalink + + +
    2. + + +

      + + +object + + +Symbol + +

      + +Permalink + + +
    +
    +
    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/io/NDArrayIter.html b/api/scala/docs/ml/dmlc/mxnet/io/NDArrayIter.html index db58fa29a5f3..9a0022e15f00 100644 --- a/api/scala/docs/ml/dmlc/mxnet/io/NDArrayIter.html +++ b/api/scala/docs/ml/dmlc/mxnet/io/NDArrayIter.html @@ -1,19 +1,18 @@ + - - NDArrayIter - ml.dmlc.mxnet.io.NDArrayIter - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.io

    -

    NDArrayIter

    Related Doc: - package io -

    - - Permalink - - -
    - -

    - - - class - - - NDArrayIter extends DataIter - -

    - -

    NDArrayIter object in mxnet. Taking NDArray to get dataiter. + + +

    +Class +

    ml.dmlc.mxnet.io

    +

    NDArrayIter

    Related Doc: + package io +

    + +Permalink + + +
    +

    + + +class + + +NDArrayIter extends DataIter + +

    +

    NDArrayIter object in mxnet. Taking NDArray to get dataiter.

    - Linear Supertypes -
    DataIter, Iterator[DataBatch], TraversableOnce[DataBatch], GenTraversableOnce[DataBatch], AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. NDArrayIter
    2. DataIter
    3. Iterator
    4. TraversableOnce
    5. GenTraversableOnce
    6. AnyRef
    7. Any
    8. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - NDArrayIter(data: IndexedSeq[NDArray], label: IndexedSeq[NDArray] = IndexedSeq.empty, dataBatchSize: Int = 1, shuffle: Boolean = false, lastBatchHandle: String = "pad", dataName: String = "data", labelName: String = "label") - -

      - - Permalink - - -

      data

      NDArrayIter supports single or multiple data and label.

      label

      Same as data, but is not fed to the model during testing.

      dataBatchSize

      Batch Size

      shuffle

      Whether to shuffle the data

      lastBatchHandle

      "pad", "discard" or "roll_over". How to handle the last batch +Linear Supertypes +

      DataIter, Iterator[DataBatch], TraversableOnce[DataBatch], GenTraversableOnce[DataBatch], AnyRef, Any
      +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. NDArrayIter
    2. DataIter
    3. Iterator
    4. TraversableOnce
    5. GenTraversableOnce
    6. AnyRef
    7. Any
    8. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +NDArrayIter(data: IndexedSeq[NDArray], label: IndexedSeq[NDArray] = IndexedSeq.empty, dataBatchSize: Int = 1, shuffle: Boolean = false, lastBatchHandle: String = "pad", dataName: String = "data", labelName: String = "label") + +

      + +Permalink + + +

      data

      NDArrayIter supports single or multiple data and label.

      label

      Same as data, but is not fed to the model during testing.

      dataBatchSize

      Batch Size

      shuffle

      Whether to shuffle the data

      lastBatchHandle

      "pad", "discard" or "roll_over". How to handle the last batch This iterator will pad, discard or roll over the last batch if the size of data does not match batch_size. Roll over is intended for training and can cause problems if used for prediction.

      -
    -
    - -
    -

    Type Members

    -
    1. - - -

      - - - class - - - GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    -
    - - - -
    -

    Value Members

    -
    1. - - -

      - - final - def - - - !=(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    2. - - -

      - - final - def - - - ##(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    3. - - -

      - - - def - - - ++[B >: DataBatch](that: ⇒ GenTraversableOnce[B]): Iterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    4. - - -

      - - - def - - - /:[B](z: B)(op: (B, DataBatch) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    5. - - -

      - - - def - - - :\[B](z: B)(op: (DataBatch, B) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    6. - - -

      - - final - def - - - ==(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    7. - - -

      - - - def - - - addString(b: StringBuilder): StringBuilder - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    8. - - -

      - - - def - - - addString(b: StringBuilder, sep: String): StringBuilder - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    9. - - -

      - - - def - - - addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    10. - - -

      - - - def - - - aggregate[B](z: ⇒ B)(seqop: (B, DataBatch) ⇒ B, combop: (B, B) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    11. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    12. - - -

      - - - def - - - batchSize: Int - -

      - - Permalink - - -
      Definition Classes
      NDArrayIterDataIter
      -
    13. - - -

      - - - def - - - buffered: BufferedIterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    14. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    15. - - -

      - - - def - - - collect[B](pf: PartialFunction[DataBatch, B]): Iterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      Annotations
      - @migration - -
      Migration

      (Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.

      -
    16. - - -

      - - - def - - - collectFirst[B](pf: PartialFunction[DataBatch, B]): Option[B] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    17. - - -

      - - - def - - - contains(elem: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    18. - - -

      - - - def - - - copyToArray[B >: DataBatch](xs: Array[B], start: Int, len: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    19. - - -

      - - - def - - - copyToArray[B >: DataBatch](xs: Array[B]): Unit - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    20. - - -

      - - - def - - - copyToArray[B >: DataBatch](xs: Array[B], start: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    21. - - -

      - - - def - - - copyToBuffer[B >: DataBatch](dest: Buffer[B]): Unit - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    22. - - -

      - - - def - - - corresponds[B](that: GenTraversableOnce[B])(p: (DataBatch, B) ⇒ Boolean): Boolean - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    23. - - -

      - - - def - - - count(p: (DataBatch) ⇒ Boolean): Int - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    24. - - -

      - - - var - - - cursor: Int - -

      - - Permalink - - - -
    25. - - -

      - - - def - - - defaultBucketKey: AnyRef - -

      - - Permalink - - -
      Definition Classes
      DataIter
      -
    26. - - -

      - - - def - - - drop(n: Int): Iterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    27. - - -

      - - - def - - - dropWhile(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    28. - - -

      - - - def - - - duplicate: (Iterator[DataBatch], Iterator[DataBatch]) - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    29. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    30. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    31. - - -

      - - - def - - - exists(p: (DataBatch) ⇒ Boolean): Boolean - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    32. - - -

      - - - def - - - filter(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    33. - - -

      - - - def - - - filterNot(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    34. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    35. - - -

      - - - def - - - find(p: (DataBatch) ⇒ Boolean): Option[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    36. - - -

      - - - def - - - flatMap[B](f: (DataBatch) ⇒ GenTraversableOnce[B]): Iterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    37. - - -

      - - - def - - - fold[A1 >: DataBatch](z: A1)(op: (A1, A1) ⇒ A1): A1 - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    38. - - -

      - - - def - - - foldLeft[B](z: B)(op: (B, DataBatch) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    39. - - -

      - - - def - - - foldRight[B](z: B)(op: (DataBatch, B) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    40. - - -

      - - - def - - - forall(p: (DataBatch) ⇒ Boolean): Boolean - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    41. - - -

      - - - def - - - foreach[U](f: (DataBatch) ⇒ U): Unit - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    42. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    43. - - -

      - - - def - - - getData(): IndexedSeq[NDArray] - -

      - - Permalink - - -

      get data of current batch

      get data of current batch

      returns

      the data of current batch

      Definition Classes
      NDArrayIterDataIter
      -
    44. - - -

      - - - def - - - getIndex(): IndexedSeq[Long] - -

      - - Permalink - - -

      the index of current batch

      the index of current batch

      Definition Classes
      NDArrayIterDataIter
      -
    45. - - -

      - - - def - - - getLabel(): IndexedSeq[NDArray] - -

      - - Permalink - - -

      Get label of current batch

      Get label of current batch

      returns

      the label of current batch

      Definition Classes
      NDArrayIterDataIter
      -
    46. - - -

      - - - def - - - getPad(): MXUint - -

      - - Permalink - - -

      get the number of padding examples +

    +
    +
    +

    Type Members

    +
    1. + + +

      + + +class + + +GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    +
    +
    +

    Value Members

    +
    1. + + +

      + +final +def + + +!=(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    2. + + +

      + +final +def + + +##(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    3. + + +

      + + +def + + +++[B >: DataBatch](that: ⇒ GenTraversableOnce[B]): Iterator[B] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    4. + + +

      + + +def + + +/:[B](z: B)(op: (B, DataBatch) ⇒ B): B + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    5. + + +

      + + +def + + +:\[B](z: B)(op: (DataBatch, B) ⇒ B): B + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    6. + + +

      + +final +def + + +==(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    7. + + +

      + + +def + + +addString(b: StringBuilder): StringBuilder + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce
      +
    8. + + +

      + + +def + + +addString(b: StringBuilder, sep: String): StringBuilder + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce
      +
    9. + + +

      + + +def + + +addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce
      +
    10. + + +

      + + +def + + +aggregate[B](z: ⇒ B)(seqop: (B, DataBatch) ⇒ B, combop: (B, B) ⇒ B): B + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    11. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    12. + + +

      + + +def + + +batchSize: Int + +

      + +Permalink + + +
      Definition Classes
      NDArrayIterDataIter
      +
    13. + + +

      + + +def + + +buffered: BufferedIterator[DataBatch] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    14. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    15. + + +

      + + +def + + +collect[B](pf: PartialFunction[DataBatch, B]): Iterator[B] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      Annotations
      +@migration +
      Migration

      (Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.

      +
    16. + + +

      + + +def + + +collectFirst[B](pf: PartialFunction[DataBatch, B]): Option[B] + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce
      +
    17. + + +

      + + +def + + +contains(elem: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    18. + + +

      + + +def + + +copyToArray[B >: DataBatch](xs: Array[B], start: Int, len: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      +
    19. + + +

      + + +def + + +copyToArray[B >: DataBatch](xs: Array[B]): Unit + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    20. + + +

      + + +def + + +copyToArray[B >: DataBatch](xs: Array[B], start: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    21. + + +

      + + +def + + +copyToBuffer[B >: DataBatch](dest: Buffer[B]): Unit + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce
      +
    22. + + +

      + + +def + + +corresponds[B](that: GenTraversableOnce[B])(p: (DataBatch, B) ⇒ Boolean): Boolean + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    23. + + +

      + + +def + + +count(p: (DataBatch) ⇒ Boolean): Int + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    24. + + +

      + + +var + + +cursor: Int + +

      + +Permalink + + +
    25. + + +

      + + +def + + +defaultBucketKey: AnyRef + +

      + +Permalink + + +
      Definition Classes
      DataIter
      +
    26. + + +

      + + +def + + +drop(n: Int): Iterator[DataBatch] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    27. + + +

      + + +def + + +dropWhile(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    28. + + +

      + + +def + + +duplicate: (Iterator[DataBatch], Iterator[DataBatch]) + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    29. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    30. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    31. + + +

      + + +def + + +exists(p: (DataBatch) ⇒ Boolean): Boolean + +

      + +Permalink + + +
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      +
    32. + + +

      + + +def + + +filter(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    33. + + +

      + + +def + + +filterNot(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    34. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    35. + + +

      + + +def + + +find(p: (DataBatch) ⇒ Boolean): Option[DataBatch] + +

      + +Permalink + + +
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      +
    36. + + +

      + + +def + + +flatMap[B](f: (DataBatch) ⇒ GenTraversableOnce[B]): Iterator[B] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    37. + + +

      + + +def + + +fold[A1 >: DataBatch](z: A1)(op: (A1, A1) ⇒ A1): A1 + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    38. + + +

      + + +def + + +foldLeft[B](z: B)(op: (B, DataBatch) ⇒ B): B + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    39. + + +

      + + +def + + +foldRight[B](z: B)(op: (DataBatch, B) ⇒ B): B + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    40. + + +

      + + +def + + +forall(p: (DataBatch) ⇒ Boolean): Boolean + +

      + +Permalink + + +
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      +
    41. + + +

      + + +def + + +foreach[U](f: (DataBatch) ⇒ U): Unit + +

      + +Permalink + + +
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      +
    42. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    43. + + +

      + + +def + + +getData(): IndexedSeq[NDArray] + +

      + +Permalink + + +

      get data of current batch

      get data of current batch

      returns

      the data of current batch

      Definition Classes
      NDArrayIterDataIter
      +
    44. + + +

      + + +def + + +getIndex(): IndexedSeq[Long] + +

      + +Permalink + + +

      the index of current batch

      the index of current batch

      Definition Classes
      NDArrayIterDataIter
      +
    45. + + +

      + + +def + + +getLabel(): IndexedSeq[NDArray] + +

      + +Permalink + + +

      Get label of current batch

      Get label of current batch

      returns

      the label of current batch

      Definition Classes
      NDArrayIterDataIter
      +
    46. + + +

      + + +def + + +getPad(): MXUint + +

      + +Permalink + + +

      get the number of padding examples in current batch

      get the number of padding examples -in current batch

      returns

      number of padding examples in current batch

      Definition Classes
      NDArrayIterDataIter
      -
    47. - - -

      - - - def - - - grouped[B >: DataBatch](size: Int): GroupedIterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    48. - - -

      - - - def - - - hardReset(): Unit - -

      - - Permalink - - -

      Igore roll over data and set to start +in current batch

    returns

    number of padding examples in current batch

    Definition Classes
    NDArrayIterDataIter
    +
  • + + +

    + + +def + + +grouped[B >: DataBatch](size: Int): GroupedIterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +hardReset(): Unit + +

    + +Permalink + + +

    Igore roll over data and set to start

    -
  • - - -

    - - - def - - - hasDefiniteSize: Boolean - -

    - - Permalink - - -
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - hasNext: Boolean - -

    - - Permalink - - -
    Definition Classes
    NDArrayIter → Iterator
    -
  • - - -

    - - - def - - - hashCode(): Int - -

    - - Permalink - - -
    Definition Classes
    AnyRef → Any
    -
  • - - -

    - - - def - - - indexOf[B >: DataBatch](elem: B): Int - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - indexWhere(p: (DataBatch) ⇒ Boolean): Int - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - val - - - initData: IndexedSeq[(String, NDArray)] - -

    - - Permalink - - - -
  • - - -

    - - - val - - - initLabel: IndexedSeq[(String, NDArray)] - -

    - - Permalink - - - -
  • - - -

    - - - def - - - isEmpty: Boolean - -

    - - Permalink - - -
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - final - def - - - isInstanceOf[T0]: Boolean - -

    - - Permalink - - -
    Definition Classes
    Any
    -
  • - - -

    - - - def - - - isTraversableAgain: Boolean - -

    - - Permalink - - -
    Definition Classes
    Iterator → GenTraversableOnce
    -
  • - - -

    - - - def - - - length: Int - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - map[B](f: (DataBatch) ⇒ B): Iterator[B] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - max[B >: DataBatch](implicit cmp: Ordering[B]): DataBatch - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - maxBy[B](f: (DataBatch) ⇒ B)(implicit cmp: Ordering[B]): DataBatch - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - min[B >: DataBatch](implicit cmp: Ordering[B]): DataBatch - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - minBy[B](f: (DataBatch) ⇒ B)(implicit cmp: Ordering[B]): DataBatch - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - mkString: String - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - mkString(sep: String): String - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - mkString(start: String, sep: String, end: String): String - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - final - def - - - ne(arg0: AnyRef): Boolean - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    -
  • - - -

    - - - def - - - next(): DataBatch - -

    - - Permalink - - -

    get next data batch from iterator

    get next data batch from iterator

    Definition Classes
    NDArrayIterDataIter → Iterator
    Annotations
    - @throws( - - classOf[NoSuchElementException] - ) - -
    -
  • - - -

    - - - def - - - nonEmpty: Boolean - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - final - def - - - notify(): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    -
  • - - -

    - - final - def - - - notifyAll(): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    -
  • - - -

    - - - val - - - numData: Int - -

    - - Permalink - - - -
  • - - -

    - - - val - - - numSource: Int - -

    - - Permalink - - - -
  • - - -

    - - - def - - - padTo[A1 >: DataBatch](len: Int, elem: A1): Iterator[A1] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - partition(p: (DataBatch) ⇒ Boolean): (Iterator[DataBatch], Iterator[DataBatch]) - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - patch[B >: DataBatch](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - product[B >: DataBatch](implicit num: Numeric[B]): B - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - provideData: ListMap[String, Shape] - -

    - - Permalink - - -
    Definition Classes
    NDArrayIterDataIter
    -
  • - - -

    - - - def - - - provideLabel: ListMap[String, Shape] - -

    - - Permalink - - -
    Definition Classes
    NDArrayIterDataIter
    -
  • - - -

    - - - def - - - reduce[A1 >: DataBatch](op: (A1, A1) ⇒ A1): A1 - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - reduceLeft[B >: DataBatch](op: (B, DataBatch) ⇒ B): B - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce
    -
  • - - -

    - - - def - - - reduceLeftOption[B >: DataBatch](op: (B, DataBatch) ⇒ B): Option[B] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - reduceOption[A1 >: DataBatch](op: (A1, A1) ⇒ A1): Option[A1] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - reduceRight[B >: DataBatch](op: (DataBatch, B) ⇒ B): B - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - reduceRightOption[B >: DataBatch](op: (DataBatch, B) ⇒ B): Option[B] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - reset(): Unit - -

    - - Permalink - - -

    reset the iterator +

  • + + +

    + + +def + + +hasDefiniteSize: Boolean + +

    + +Permalink + + +
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +hasNext: Boolean + +

    + +Permalink + + +
    Definition Classes
    NDArrayIter → Iterator
    +
  • + + +

    + + +def + + +hashCode(): Int + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +indexOf[B >: DataBatch](elem: B): Int + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +indexWhere(p: (DataBatch) ⇒ Boolean): Int + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +val + + +initData: IndexedSeq[(String, NDArray)] + +

    + +Permalink + + +
  • + + +

    + + +val + + +initLabel: IndexedSeq[(String, NDArray)] + +

    + +Permalink + + +
  • + + +

    + + +def + + +isEmpty: Boolean + +

    + +Permalink + + +
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    +
  • + + +

    + +final +def + + +isInstanceOf[T0]: Boolean + +

    + +Permalink + + +
    Definition Classes
    Any
    +
  • + + +

    + + +def + + +isTraversableAgain: Boolean + +

    + +Permalink + + +
    Definition Classes
    Iterator → GenTraversableOnce
    +
  • + + +

    + + +def + + +length: Int + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +map[B](f: (DataBatch) ⇒ B): Iterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +max[B >: DataBatch](implicit cmp: Ordering[B]): DataBatch + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +maxBy[B](f: (DataBatch) ⇒ B)(implicit cmp: Ordering[B]): DataBatch + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +min[B >: DataBatch](implicit cmp: Ordering[B]): DataBatch + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +minBy[B](f: (DataBatch) ⇒ B)(implicit cmp: Ordering[B]): DataBatch + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +mkString: String + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +mkString(sep: String): String + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +mkString(start: String, sep: String, end: String): String + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + +final +def + + +ne(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +next(): DataBatch + +

    + +Permalink + + +

    get next data batch from iterator

    get next data batch from iterator

    Definition Classes
    NDArrayIterDataIter → Iterator
    Annotations
    +@throws( +classOf[NoSuchElementException] +) +
    +
  • + + +

    + + +def + + +nonEmpty: Boolean + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + +final +def + + +notify(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notifyAll(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +val + + +numData: Int + +

    + +Permalink + + +
  • + + +

    + + +val + + +numSource: Int + +

    + +Permalink + + +
  • + + +

    + + +def + + +padTo[A1 >: DataBatch](len: Int, elem: A1): Iterator[A1] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +partition(p: (DataBatch) ⇒ Boolean): (Iterator[DataBatch], Iterator[DataBatch]) + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +patch[B >: DataBatch](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +product[B >: DataBatch](implicit num: Numeric[B]): B + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +provideData: ListMap[String, Shape] + +

    + +Permalink + + +
    Definition Classes
    NDArrayIterDataIter
    +
  • + + +

    + + +def + + +provideLabel: ListMap[String, Shape] + +

    + +Permalink + + +
    Definition Classes
    NDArrayIterDataIter
    +
  • + + +

    + + +def + + +reduce[A1 >: DataBatch](op: (A1, A1) ⇒ A1): A1 + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +reduceLeft[B >: DataBatch](op: (B, DataBatch) ⇒ B): B + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce
    +
  • + + +

    + + +def + + +reduceLeftOption[B >: DataBatch](op: (B, DataBatch) ⇒ B): Option[B] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +reduceOption[A1 >: DataBatch](op: (A1, A1) ⇒ A1): Option[A1] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +reduceRight[B >: DataBatch](op: (DataBatch, B) ⇒ B): B + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +reduceRightOption[B >: DataBatch](op: (DataBatch, B) ⇒ B): Option[B] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +reset(): Unit + +

    + +Permalink + + +

    reset the iterator

    reset the iterator -

    Definition Classes
    NDArrayIterDataIter
    -
  • - - -

    - - - def - - - reversed: List[DataBatch] - -

    - - Permalink - - -
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
    -
  • - - -

    - - - def - - - sameElements(that: Iterator[_]): Boolean - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - scanLeft[B](z: B)(op: (B, DataBatch) ⇒ B): Iterator[B] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - scanRight[B](z: B)(op: (DataBatch, B) ⇒ B): Iterator[B] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - seq: Iterator[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - size: Int - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - slice(from: Int, until: Int): Iterator[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - sliding[B >: DataBatch](size: Int, step: Int): GroupedIterator[B] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - span(p: (DataBatch) ⇒ Boolean): (Iterator[DataBatch], Iterator[DataBatch]) - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - sum[B >: DataBatch](implicit num: Numeric[B]): B - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    -
  • - - -

    - - - def - - - take(n: Int): Iterator[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - takeWhile(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - to[Col[_]](implicit cbf: CanBuildFrom[Nothing, DataBatch, Col[DataBatch]]): Col[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toArray[B >: DataBatch](implicit arg0: ClassTag[B]): Array[B] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toBuffer[B >: DataBatch]: Buffer[B] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toIndexedSeq: IndexedSeq[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toIterable: Iterable[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toIterator: Iterator[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator → GenTraversableOnce
    -
  • - - -

    - - - def - - - toList: List[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toMap[T, U](implicit ev: <:<[DataBatch, (T, U)]): Map[T, U] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toSeq: Seq[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toSet[B >: DataBatch]: Set[B] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toStream: Stream[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator → GenTraversableOnce
    -
  • - - -

    - - - def - - - toString(): String - -

    - - Permalink - - -
    Definition Classes
    Iterator → AnyRef → Any
    -
  • - - -

    - - - def - - - toTraversable: Traversable[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toVector: Vector[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - final - def - - - wait(): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    Annotations
    - @throws( - - ... - ) - -
    -
  • - - -

    - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    Annotations
    - @throws( - - ... - ) - -
    -
  • - - -

    - - final - def - - - wait(arg0: Long): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    Annotations
    - @throws( - - ... - ) - -
    -
  • - - -

    - - - def - - - withFilter(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - zip[B](that: Iterator[B]): Iterator[(DataBatch, B)] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - zipAll[B, A1 >: DataBatch, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - zipWithIndex: Iterator[(DataBatch, Int)] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • -
    - - - - -
    - -
    -
    -

    Inherited from DataIter

    -
    -

    Inherited from Iterator[DataBatch]

    -
    -

    Inherited from TraversableOnce[DataBatch]

    -
    -

    Inherited from GenTraversableOnce[DataBatch]

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +

    Definition Classes
    NDArrayIterDataIter
    +
  • + + +

    + + +def + + +reversed: List[DataBatch] + +

    + +Permalink + + +
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
    +
  • + + +

    + + +def + + +sameElements(that: Iterator[_]): Boolean + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +scanLeft[B](z: B)(op: (B, DataBatch) ⇒ B): Iterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +scanRight[B](z: B)(op: (DataBatch, B) ⇒ B): Iterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +seq: Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +size: Int + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +slice(from: Int, until: Int): Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +sliding[B >: DataBatch](size: Int, step: Int): GroupedIterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +span(p: (DataBatch) ⇒ Boolean): (Iterator[DataBatch], Iterator[DataBatch]) + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +sum[B >: DataBatch](implicit num: Numeric[B]): B + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +take(n: Int): Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +takeWhile(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +to[Col[_]](implicit cbf: CanBuildFrom[Nothing, DataBatch, Col[DataBatch]]): Col[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toArray[B >: DataBatch](implicit arg0: ClassTag[B]): Array[B] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toBuffer[B >: DataBatch]: Buffer[B] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toIndexedSeq: IndexedSeq[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toIterable: Iterable[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toIterator: Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator → GenTraversableOnce
    +
  • + + +

    + + +def + + +toList: List[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toMap[T, U](implicit ev: <:<[DataBatch, (T, U)]): Map[T, U] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toSeq: Seq[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toSet[B >: DataBatch]: Set[B] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toStream: Stream[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator → GenTraversableOnce
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    Iterator → AnyRef → Any
    +
  • + + +

    + + +def + + +toTraversable: Traversable[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toVector: Vector[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + + +def + + +withFilter(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +zip[B](that: Iterator[B]): Iterator[(DataBatch, B)] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +zipAll[B, A1 >: DataBatch, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +zipWithIndex: Iterator[(DataBatch, Int)] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +
    +
    +

    Inherited from DataIter

    +
    +

    Inherited from Iterator[DataBatch]

    +
    +

    Inherited from TraversableOnce[DataBatch]

    +
    +

    Inherited from GenTraversableOnce[DataBatch]

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/io/PrefetchingIter.html b/api/scala/docs/ml/dmlc/mxnet/io/PrefetchingIter.html index 9f08fbadef50..cd192295baf3 100644 --- a/api/scala/docs/ml/dmlc/mxnet/io/PrefetchingIter.html +++ b/api/scala/docs/ml/dmlc/mxnet/io/PrefetchingIter.html @@ -1,19 +1,18 @@ + - - PrefetchingIter - ml.dmlc.mxnet.io.PrefetchingIter - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.io

    -

    PrefetchingIter

    Related Doc: - package io -

    - - Permalink - - -
    - -

    - - - class - - - PrefetchingIter extends DataIter - -

    - -

    Base class for prefetching iterators. Takes one or more DataIters + + +

    +Class +

    ml.dmlc.mxnet.io

    +

    PrefetchingIter

    Related Doc: + package io +

    + +Permalink + + +
    +

    + + +class + + +PrefetchingIter extends DataIter + +

    +

    Base class for prefetching iterators. Takes one or more DataIters and combine them with prefetching.

    - Linear Supertypes -
    DataIter, Iterator[DataBatch], TraversableOnce[DataBatch], GenTraversableOnce[DataBatch], AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. PrefetchingIter
    2. DataIter
    3. Iterator
    4. TraversableOnce
    5. GenTraversableOnce
    6. AnyRef
    7. Any
    8. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - PrefetchingIter(iters: IndexedSeq[DataIter], dataNames: IndexedSeq[Map[String, String]] = null, labelNames: IndexedSeq[Map[String, String]] = null) - -

      - - Permalink - - -

      iters

      list of DataIters

      -
    -
    - -
    -

    Type Members

    -
    1. - - -

      - - - class - - - GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    -
    - - - -
    -

    Value Members

    -
    1. - - -

      - - final - def - - - !=(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    2. - - -

      - - final - def - - - ##(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    3. - - -

      - - - def - - - ++[B >: DataBatch](that: ⇒ GenTraversableOnce[B]): Iterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    4. - - -

      - - - def - - - /:[B](z: B)(op: (B, DataBatch) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    5. - - -

      - - - def - - - :\[B](z: B)(op: (DataBatch, B) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    6. - - -

      - - final - def - - - ==(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    7. - - -

      - - - def - - - addString(b: StringBuilder): StringBuilder - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    8. - - -

      - - - def - - - addString(b: StringBuilder, sep: String): StringBuilder - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    9. - - -

      - - - def - - - addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    10. - - -

      - - - def - - - aggregate[B](z: ⇒ B)(seqop: (B, DataBatch) ⇒ B, combop: (B, B) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    11. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    12. - - -

      - - - def - - - batchSize: Int - -

      - - Permalink - - -
      Definition Classes
      PrefetchingIterDataIter
      -
    13. - - -

      - - - def - - - buffered: BufferedIterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    14. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    15. - - -

      - - - def - - - collect[B](pf: PartialFunction[DataBatch, B]): Iterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      Annotations
      - @migration - -
      Migration

      (Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.

      -
    16. - - -

      - - - def - - - collectFirst[B](pf: PartialFunction[DataBatch, B]): Option[B] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    17. - - -

      - - - def - - - contains(elem: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    18. - - -

      - - - def - - - copyToArray[B >: DataBatch](xs: Array[B], start: Int, len: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    19. - - -

      - - - def - - - copyToArray[B >: DataBatch](xs: Array[B]): Unit - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    20. - - -

      - - - def - - - copyToArray[B >: DataBatch](xs: Array[B], start: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    21. - - -

      - - - def - - - copyToBuffer[B >: DataBatch](dest: Buffer[B]): Unit - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    22. - - -

      - - - def - - - corresponds[B](that: GenTraversableOnce[B])(p: (DataBatch, B) ⇒ Boolean): Boolean - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    23. - - -

      - - - def - - - count(p: (DataBatch) ⇒ Boolean): Int - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    24. - - -

      - - - def - - - defaultBucketKey: AnyRef - -

      - - Permalink - - -
      Definition Classes
      DataIter
      -
    25. - - -

      - - - def - - - dispose(): Unit - -

      - - Permalink - - -

      Stop all its internal prefetching threads.

      Stop all its internal prefetching threads. +Linear Supertypes +

      DataIter, Iterator[DataBatch], TraversableOnce[DataBatch], GenTraversableOnce[DataBatch], AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. PrefetchingIter
      2. DataIter
      3. Iterator
      4. TraversableOnce
      5. GenTraversableOnce
      6. AnyRef
      7. Any
      8. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Instance Constructors

      +
      1. + + +

        + + +new + + +PrefetchingIter(iters: IndexedSeq[DataIter], dataNames: IndexedSeq[Map[String, String]] = null, labelNames: IndexedSeq[Map[String, String]] = null) + +

        + +Permalink + + +

        iters

        list of DataIters

        +
      +
      +
      +

      Type Members

      +
      1. + + +

        + + +class + + +GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]] + +

        + +Permalink + + +
        Definition Classes
        Iterator
        +
      +
      +
      +

      Value Members

      +
      1. + + +

        + +final +def + + +!=(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      2. + + +

        + +final +def + + +##(): Int + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      3. + + +

        + + +def + + +++[B >: DataBatch](that: ⇒ GenTraversableOnce[B]): Iterator[B] + +

        + +Permalink + + +
        Definition Classes
        Iterator
        +
      4. + + +

        + + +def + + +/:[B](z: B)(op: (B, DataBatch) ⇒ B): B + +

        + +Permalink + + +
        Definition Classes
        TraversableOnce → GenTraversableOnce
        +
      5. + + +

        + + +def + + +:\[B](z: B)(op: (DataBatch, B) ⇒ B): B + +

        + +Permalink + + +
        Definition Classes
        TraversableOnce → GenTraversableOnce
        +
      6. + + +

        + +final +def + + +==(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      7. + + +

        + + +def + + +addString(b: StringBuilder): StringBuilder + +

        + +Permalink + + +
        Definition Classes
        TraversableOnce
        +
      8. + + +

        + + +def + + +addString(b: StringBuilder, sep: String): StringBuilder + +

        + +Permalink + + +
        Definition Classes
        TraversableOnce
        +
      9. + + +

        + + +def + + +addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder + +

        + +Permalink + + +
        Definition Classes
        TraversableOnce
        +
      10. + + +

        + + +def + + +aggregate[B](z: ⇒ B)(seqop: (B, DataBatch) ⇒ B, combop: (B, B) ⇒ B): B + +

        + +Permalink + + +
        Definition Classes
        TraversableOnce → GenTraversableOnce
        +
      11. + + +

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      12. + + +

        + + +def + + +batchSize: Int + +

        + +Permalink + + +
        Definition Classes
        PrefetchingIterDataIter
        +
      13. + + +

        + + +def + + +buffered: BufferedIterator[DataBatch] + +

        + +Permalink + + +
        Definition Classes
        Iterator
        +
      14. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      15. + + +

        + + +def + + +collect[B](pf: PartialFunction[DataBatch, B]): Iterator[B] + +

        + +Permalink + + +
        Definition Classes
        Iterator
        Annotations
        +@migration +
        Migration

        (Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.

        +
      16. + + +

        + + +def + + +collectFirst[B](pf: PartialFunction[DataBatch, B]): Option[B] + +

        + +Permalink + + +
        Definition Classes
        TraversableOnce
        +
      17. + + +

        + + +def + + +contains(elem: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        Iterator
        +
      18. + + +

        + + +def + + +copyToArray[B >: DataBatch](xs: Array[B], start: Int, len: Int): Unit + +

        + +Permalink + + +
        Definition Classes
        Iterator → TraversableOnce → GenTraversableOnce
        +
      19. + + +

        + + +def + + +copyToArray[B >: DataBatch](xs: Array[B]): Unit + +

        + +Permalink + + +
        Definition Classes
        TraversableOnce → GenTraversableOnce
        +
      20. + + +

        + + +def + + +copyToArray[B >: DataBatch](xs: Array[B], start: Int): Unit + +

        + +Permalink + + +
        Definition Classes
        TraversableOnce → GenTraversableOnce
        +
      21. + + +

        + + +def + + +copyToBuffer[B >: DataBatch](dest: Buffer[B]): Unit + +

        + +Permalink + + +
        Definition Classes
        TraversableOnce
        +
      22. + + +

        + + +def + + +corresponds[B](that: GenTraversableOnce[B])(p: (DataBatch, B) ⇒ Boolean): Boolean + +

        + +Permalink + + +
        Definition Classes
        Iterator
        +
      23. + + +

        + + +def + + +count(p: (DataBatch) ⇒ Boolean): Int + +

        + +Permalink + + +
        Definition Classes
        TraversableOnce → GenTraversableOnce
        +
      24. + + +

        + + +def + + +defaultBucketKey: AnyRef + +

        + +Permalink + + +
        Definition Classes
        DataIter
        +
      25. + + +

        + + +def + + +dispose(): Unit + +

        + +Permalink + + +

        Stop all its internal prefetching threads.

        Stop all its internal prefetching threads. The object shall never be used after it is disposed.

        -
      26. - - -

        - - - def - - - drop(n: Int): Iterator[DataBatch] - -

        - - Permalink - - -
        Definition Classes
        Iterator
        -
      27. - - -

        - - - def - - - dropWhile(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

        - - Permalink - - -
        Definition Classes
        Iterator
        -
      28. - - -

        - - - def - - - duplicate: (Iterator[DataBatch], Iterator[DataBatch]) - -

        - - Permalink - - -
        Definition Classes
        Iterator
        -
      29. - - -

        - - final - def - - - eq(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      30. - - -

        - - - def - - - equals(arg0: Any): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      31. - - -

        - - - def - - - exists(p: (DataBatch) ⇒ Boolean): Boolean - -

        - - Permalink - - -
        Definition Classes
        Iterator → TraversableOnce → GenTraversableOnce
        -
      32. - - -

        - - - def - - - filter(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

        - - Permalink - - -
        Definition Classes
        Iterator
        -
      33. - - -

        - - - def - - - filterNot(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

        - - Permalink - - -
        Definition Classes
        Iterator
        -
      34. - - -

        - - - def - - - finalize(): Unit - -

        - - Permalink - - -
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - classOf[java.lang.Throwable] - ) - -
        -
      35. - - -

        - - - def - - - find(p: (DataBatch) ⇒ Boolean): Option[DataBatch] - -

        - - Permalink - - -
        Definition Classes
        Iterator → TraversableOnce → GenTraversableOnce
        -
      36. - - -

        - - - def - - - flatMap[B](f: (DataBatch) ⇒ GenTraversableOnce[B]): Iterator[B] - -

        - - Permalink - - -
        Definition Classes
        Iterator
        -
      37. - - -

        - - - def - - - fold[A1 >: DataBatch](z: A1)(op: (A1, A1) ⇒ A1): A1 - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      38. - - -

        - - - def - - - foldLeft[B](z: B)(op: (B, DataBatch) ⇒ B): B - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      39. - - -

        - - - def - - - foldRight[B](z: B)(op: (DataBatch, B) ⇒ B): B - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      40. - - -

        - - - def - - - forall(p: (DataBatch) ⇒ Boolean): Boolean - -

        - - Permalink - - -
        Definition Classes
        Iterator → TraversableOnce → GenTraversableOnce
        -
      41. - - -

        - - - def - - - foreach[U](f: (DataBatch) ⇒ U): Unit - -

        - - Permalink - - -
        Definition Classes
        Iterator → TraversableOnce → GenTraversableOnce
        -
      42. - - -

        - - final - def - - - getClass(): Class[_] - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      43. - - -

        - - - def - - - getData(): IndexedSeq[NDArray] - -

        - - Permalink - - -

        get data of current batch

        get data of current batch

        returns

        the data of current batch

        Definition Classes
        PrefetchingIterDataIter
        -
      44. - - -

        - - - def - - - getIndex(): IndexedSeq[Long] - -

        - - Permalink - - -

        the index of current batch

        the index of current batch

        Definition Classes
        PrefetchingIterDataIter
        -
      45. - - -

        - - - def - - - getLabel(): IndexedSeq[NDArray] - -

        - - Permalink - - -

        Get label of current batch

        Get label of current batch

        returns

        the label of current batch

        Definition Classes
        PrefetchingIterDataIter
        -
      46. - - -

        - - - def - - - getPad(): Int - -

        - - Permalink - - -

        get the number of padding examples +

      47. + + +

        + + +def + + +drop(n: Int): Iterator[DataBatch] + +

        + +Permalink + + +
        Definition Classes
        Iterator
        +
      48. + + +

        + + +def + + +dropWhile(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

        + +Permalink + + +
        Definition Classes
        Iterator
        +
      49. + + +

        + + +def + + +duplicate: (Iterator[DataBatch], Iterator[DataBatch]) + +

        + +Permalink + + +
        Definition Classes
        Iterator
        +
      50. + + +

        + +final +def + + +eq(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      51. + + +

        + + +def + + +equals(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      52. + + +

        + + +def + + +exists(p: (DataBatch) ⇒ Boolean): Boolean + +

        + +Permalink + + +
        Definition Classes
        Iterator → TraversableOnce → GenTraversableOnce
        +
      53. + + +

        + + +def + + +filter(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

        + +Permalink + + +
        Definition Classes
        Iterator
        +
      54. + + +

        + + +def + + +filterNot(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

        + +Permalink + + +
        Definition Classes
        Iterator
        +
      55. + + +

        + + +def + + +finalize(): Unit + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +classOf[java.lang.Throwable] +) +
        +
      56. + + +

        + + +def + + +find(p: (DataBatch) ⇒ Boolean): Option[DataBatch] + +

        + +Permalink + + +
        Definition Classes
        Iterator → TraversableOnce → GenTraversableOnce
        +
      57. + + +

        + + +def + + +flatMap[B](f: (DataBatch) ⇒ GenTraversableOnce[B]): Iterator[B] + +

        + +Permalink + + +
        Definition Classes
        Iterator
        +
      58. + + +

        + + +def + + +fold[A1 >: DataBatch](z: A1)(op: (A1, A1) ⇒ A1): A1 + +

        + +Permalink + + +
        Definition Classes
        TraversableOnce → GenTraversableOnce
        +
      59. + + +

        + + +def + + +foldLeft[B](z: B)(op: (B, DataBatch) ⇒ B): B + +

        + +Permalink + + +
        Definition Classes
        TraversableOnce → GenTraversableOnce
        +
      60. + + +

        + + +def + + +foldRight[B](z: B)(op: (DataBatch, B) ⇒ B): B + +

        + +Permalink + + +
        Definition Classes
        TraversableOnce → GenTraversableOnce
        +
      61. + + +

        + + +def + + +forall(p: (DataBatch) ⇒ Boolean): Boolean + +

        + +Permalink + + +
        Definition Classes
        Iterator → TraversableOnce → GenTraversableOnce
        +
      62. + + +

        + + +def + + +foreach[U](f: (DataBatch) ⇒ U): Unit + +

        + +Permalink + + +
        Definition Classes
        Iterator → TraversableOnce → GenTraversableOnce
        +
      63. + + +

        + +final +def + + +getClass(): Class[_] + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      64. + + +

        + + +def + + +getData(): IndexedSeq[NDArray] + +

        + +Permalink + + +

        get data of current batch

        get data of current batch

        returns

        the data of current batch

        Definition Classes
        PrefetchingIterDataIter
        +
      65. + + +

        + + +def + + +getIndex(): IndexedSeq[Long] + +

        + +Permalink + + +

        the index of current batch

        the index of current batch

        Definition Classes
        PrefetchingIterDataIter
        +
      66. + + +

        + + +def + + +getLabel(): IndexedSeq[NDArray] + +

        + +Permalink + + +

        Get label of current batch

        Get label of current batch

        returns

        the label of current batch

        Definition Classes
        PrefetchingIterDataIter
        +
      67. + + +

        + + +def + + +getPad(): Int + +

        + +Permalink + + +

        get the number of padding examples in current batch

        get the number of padding examples -in current batch

        returns

        number of padding examples in current batch

        Definition Classes
        PrefetchingIterDataIter
        -
      68. - - -

        - - - def - - - grouped[B >: DataBatch](size: Int): GroupedIterator[B] - -

        - - Permalink - - -
        Definition Classes
        Iterator
        -
      69. - - -

        - - - def - - - hasDefiniteSize: Boolean - -

        - - Permalink - - -
        Definition Classes
        Iterator → TraversableOnce → GenTraversableOnce
        -
      70. - - -

        - - - def - - - hasNext: Boolean - -

        - - Permalink - - -
        Definition Classes
        PrefetchingIter → Iterator
        -
      71. - - -

        - - - def - - - hashCode(): Int - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      72. - - -

        - - - def - - - indexOf[B >: DataBatch](elem: B): Int - -

        - - Permalink - - -
        Definition Classes
        Iterator
        -
      73. - - -

        - - - def - - - indexWhere(p: (DataBatch) ⇒ Boolean): Int - -

        - - Permalink - - -
        Definition Classes
        Iterator
        -
      74. - - -

        - - - def - - - isEmpty: Boolean - -

        - - Permalink - - -
        Definition Classes
        Iterator → TraversableOnce → GenTraversableOnce
        -
      75. - - -

        - - final - def - - - isInstanceOf[T0]: Boolean - -

        - - Permalink - - -
        Definition Classes
        Any
        -
      76. - - -

        - - - def - - - isTraversableAgain: Boolean - -

        - - Permalink - - -
        Definition Classes
        Iterator → GenTraversableOnce
        -
      77. - - -

        - - - def - - - length: Int - -

        - - Permalink - - -
        Definition Classes
        Iterator
        -
      78. - - -

        - - - def - - - map[B](f: (DataBatch) ⇒ B): Iterator[B] - -

        - - Permalink - - -
        Definition Classes
        Iterator
        -
      79. - - -

        - - - def - - - max[B >: DataBatch](implicit cmp: Ordering[B]): DataBatch - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      80. - - -

        - - - def - - - maxBy[B](f: (DataBatch) ⇒ B)(implicit cmp: Ordering[B]): DataBatch - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      81. - - -

        - - - def - - - min[B >: DataBatch](implicit cmp: Ordering[B]): DataBatch - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      82. - - -

        - - - def - - - minBy[B](f: (DataBatch) ⇒ B)(implicit cmp: Ordering[B]): DataBatch - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      83. - - -

        - - - def - - - mkString: String - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      84. - - -

        - - - def - - - mkString(sep: String): String - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      85. - - -

        - - - def - - - mkString(start: String, sep: String, end: String): String - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      86. - - -

        - - final - def - - - ne(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      87. - - -

        - - - def - - - next(): DataBatch - -

        - - Permalink - - -

        get next data batch from iterator

        get next data batch from iterator

        Definition Classes
        PrefetchingIterDataIter → Iterator
        -
      88. - - -

        - - - def - - - nonEmpty: Boolean - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      89. - - -

        - - final - def - - - notify(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      90. - - -

        - - final - def - - - notifyAll(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      91. - - -

        - - - def - - - padTo[A1 >: DataBatch](len: Int, elem: A1): Iterator[A1] - -

        - - Permalink - - -
        Definition Classes
        Iterator
        -
      92. - - -

        - - - def - - - partition(p: (DataBatch) ⇒ Boolean): (Iterator[DataBatch], Iterator[DataBatch]) - -

        - - Permalink - - -
        Definition Classes
        Iterator
        -
      93. - - -

        - - - def - - - patch[B >: DataBatch](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B] - -

        - - Permalink - - -
        Definition Classes
        Iterator
        -
      94. - - -

        - - - def - - - prefetchFunc(i: Int): Runnable - -

        - - Permalink - - - -
      95. - - -

        - - - def - - - product[B >: DataBatch](implicit num: Numeric[B]): B - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      96. - - -

        - - - def - - - provideData: ListMap[String, Shape] - -

        - - Permalink - - -
        Definition Classes
        PrefetchingIterDataIter
        -
      97. - - -

        - - - def - - - provideLabel: ListMap[String, Shape] - -

        - - Permalink - - -
        Definition Classes
        PrefetchingIterDataIter
        -
      98. - - -

        - - - def - - - reduce[A1 >: DataBatch](op: (A1, A1) ⇒ A1): A1 - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      99. - - -

        - - - def - - - reduceLeft[B >: DataBatch](op: (B, DataBatch) ⇒ B): B - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce
        -
      100. - - -

        - - - def - - - reduceLeftOption[B >: DataBatch](op: (B, DataBatch) ⇒ B): Option[B] - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      101. - - -

        - - - def - - - reduceOption[A1 >: DataBatch](op: (A1, A1) ⇒ A1): Option[A1] - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      102. - - -

        - - - def - - - reduceRight[B >: DataBatch](op: (DataBatch, B) ⇒ B): B - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      103. - - -

        - - - def - - - reduceRightOption[B >: DataBatch](op: (DataBatch, B) ⇒ B): Option[B] - -

        - - Permalink - - -
        Definition Classes
        TraversableOnce → GenTraversableOnce
        -
      104. - - -

        - - - def - - - reset(): Unit - -

        - - Permalink - - -

        reset the iterator +in current batch

      returns

      number of padding examples in current batch

      Definition Classes
      PrefetchingIterDataIter
      +
    26. + + +

      + + +def + + +grouped[B >: DataBatch](size: Int): GroupedIterator[B] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    27. + + +

      + + +def + + +hasDefiniteSize: Boolean + +

      + +Permalink + + +
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      +
    28. + + +

      + + +def + + +hasNext: Boolean + +

      + +Permalink + + +
      Definition Classes
      PrefetchingIter → Iterator
      +
    29. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    30. + + +

      + + +def + + +indexOf[B >: DataBatch](elem: B): Int + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    31. + + +

      + + +def + + +indexWhere(p: (DataBatch) ⇒ Boolean): Int + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    32. + + +

      + + +def + + +isEmpty: Boolean + +

      + +Permalink + + +
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      +
    33. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    34. + + +

      + + +def + + +isTraversableAgain: Boolean + +

      + +Permalink + + +
      Definition Classes
      Iterator → GenTraversableOnce
      +
    35. + + +

      + + +def + + +length: Int + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    36. + + +

      + + +def + + +map[B](f: (DataBatch) ⇒ B): Iterator[B] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    37. + + +

      + + +def + + +max[B >: DataBatch](implicit cmp: Ordering[B]): DataBatch + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    38. + + +

      + + +def + + +maxBy[B](f: (DataBatch) ⇒ B)(implicit cmp: Ordering[B]): DataBatch + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    39. + + +

      + + +def + + +min[B >: DataBatch](implicit cmp: Ordering[B]): DataBatch + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    40. + + +

      + + +def + + +minBy[B](f: (DataBatch) ⇒ B)(implicit cmp: Ordering[B]): DataBatch + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    41. + + +

      + + +def + + +mkString: String + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    42. + + +

      + + +def + + +mkString(sep: String): String + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    43. + + +

      + + +def + + +mkString(start: String, sep: String, end: String): String + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    44. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    45. + + +

      + + +def + + +next(): DataBatch + +

      + +Permalink + + +

      get next data batch from iterator

      get next data batch from iterator

      Definition Classes
      PrefetchingIterDataIter → Iterator
      +
    46. + + +

      + + +def + + +nonEmpty: Boolean + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    47. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    48. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    49. + + +

      + + +def + + +padTo[A1 >: DataBatch](len: Int, elem: A1): Iterator[A1] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    50. + + +

      + + +def + + +partition(p: (DataBatch) ⇒ Boolean): (Iterator[DataBatch], Iterator[DataBatch]) + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    51. + + +

      + + +def + + +patch[B >: DataBatch](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    52. + + +

      + + +def + + +prefetchFunc(i: Int): Runnable + +

      + +Permalink + + +
    53. + + +

      + + +def + + +product[B >: DataBatch](implicit num: Numeric[B]): B + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    54. + + +

      + + +def + + +provideData: ListMap[String, Shape] + +

      + +Permalink + + +
      Definition Classes
      PrefetchingIterDataIter
      +
    55. + + +

      + + +def + + +provideLabel: ListMap[String, Shape] + +

      + +Permalink + + +
      Definition Classes
      PrefetchingIterDataIter
      +
    56. + + +

      + + +def + + +reduce[A1 >: DataBatch](op: (A1, A1) ⇒ A1): A1 + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    57. + + +

      + + +def + + +reduceLeft[B >: DataBatch](op: (B, DataBatch) ⇒ B): B + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce
      +
    58. + + +

      + + +def + + +reduceLeftOption[B >: DataBatch](op: (B, DataBatch) ⇒ B): Option[B] + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    59. + + +

      + + +def + + +reduceOption[A1 >: DataBatch](op: (A1, A1) ⇒ A1): Option[A1] + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    60. + + +

      + + +def + + +reduceRight[B >: DataBatch](op: (DataBatch, B) ⇒ B): B + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    61. + + +

      + + +def + + +reduceRightOption[B >: DataBatch](op: (DataBatch, B) ⇒ B): Option[B] + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    62. + + +

      + + +def + + +reset(): Unit + +

      + +Permalink + + +

      reset the iterator

      reset the iterator -

      Definition Classes
      PrefetchingIterDataIter
      -
    63. - - -

      - - - def - - - reversed: List[DataBatch] - -

      - - Permalink - - -
      Attributes
      protected[this]
      Definition Classes
      TraversableOnce
      -
    64. - - -

      - - - def - - - sameElements(that: Iterator[_]): Boolean - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    65. - - -

      - - - def - - - scanLeft[B](z: B)(op: (B, DataBatch) ⇒ B): Iterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    66. - - -

      - - - def - - - scanRight[B](z: B)(op: (DataBatch, B) ⇒ B): Iterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    67. - - -

      - - - def - - - seq: Iterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    68. - - -

      - - - def - - - size: Int - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    69. - - -

      - - - def - - - slice(from: Int, until: Int): Iterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    70. - - -

      - - - def - - - sliding[B >: DataBatch](size: Int, step: Int): GroupedIterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    71. - - -

      - - - def - - - span(p: (DataBatch) ⇒ Boolean): (Iterator[DataBatch], Iterator[DataBatch]) - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    72. - - -

      - - - def - - - sum[B >: DataBatch](implicit num: Numeric[B]): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    73. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    74. - - -

      - - - def - - - take(n: Int): Iterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    75. - - -

      - - - def - - - takeWhile(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    76. - - -

      - - - def - - - to[Col[_]](implicit cbf: CanBuildFrom[Nothing, DataBatch, Col[DataBatch]]): Col[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    77. - - -

      - - - def - - - toArray[B >: DataBatch](implicit arg0: ClassTag[B]): Array[B] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    78. - - -

      - - - def - - - toBuffer[B >: DataBatch]: Buffer[B] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    79. - - -

      - - - def - - - toIndexedSeq: IndexedSeq[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    80. - - -

      - - - def - - - toIterable: Iterable[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    81. - - -

      - - - def - - - toIterator: Iterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator → GenTraversableOnce
      -
    82. - - -

      - - - def - - - toList: List[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    83. - - -

      - - - def - - - toMap[T, U](implicit ev: <:<[DataBatch, (T, U)]): Map[T, U] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    84. - - -

      - - - def - - - toSeq: Seq[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    85. - - -

      - - - def - - - toSet[B >: DataBatch]: Set[B] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    86. - - -

      - - - def - - - toStream: Stream[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator → GenTraversableOnce
      -
    87. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      Iterator → AnyRef → Any
      -
    88. - - -

      - - - def - - - toTraversable: Traversable[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    89. - - -

      - - - def - - - toVector: Vector[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    90. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    91. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    92. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    93. - - -

      - - - def - - - withFilter(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    94. - - -

      - - - def - - - zip[B](that: Iterator[B]): Iterator[(DataBatch, B)] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    95. - - -

      - - - def - - - zipAll[B, A1 >: DataBatch, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    96. - - -

      - - - def - - - zipWithIndex: Iterator[(DataBatch, Int)] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from DataIter

    -
    -

    Inherited from Iterator[DataBatch]

    -
    -

    Inherited from TraversableOnce[DataBatch]

    -
    -

    Inherited from GenTraversableOnce[DataBatch]

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +

    Definition Classes
    PrefetchingIterDataIter
    +
  • + + +

    + + +def + + +reversed: List[DataBatch] + +

    + +Permalink + + +
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
    +
  • + + +

    + + +def + + +sameElements(that: Iterator[_]): Boolean + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +scanLeft[B](z: B)(op: (B, DataBatch) ⇒ B): Iterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +scanRight[B](z: B)(op: (DataBatch, B) ⇒ B): Iterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +seq: Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +size: Int + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +slice(from: Int, until: Int): Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +sliding[B >: DataBatch](size: Int, step: Int): GroupedIterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +span(p: (DataBatch) ⇒ Boolean): (Iterator[DataBatch], Iterator[DataBatch]) + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +sum[B >: DataBatch](implicit num: Numeric[B]): B + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +take(n: Int): Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +takeWhile(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +to[Col[_]](implicit cbf: CanBuildFrom[Nothing, DataBatch, Col[DataBatch]]): Col[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toArray[B >: DataBatch](implicit arg0: ClassTag[B]): Array[B] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toBuffer[B >: DataBatch]: Buffer[B] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toIndexedSeq: IndexedSeq[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toIterable: Iterable[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toIterator: Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator → GenTraversableOnce
    +
  • + + +

    + + +def + + +toList: List[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toMap[T, U](implicit ev: <:<[DataBatch, (T, U)]): Map[T, U] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toSeq: Seq[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toSet[B >: DataBatch]: Set[B] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toStream: Stream[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator → GenTraversableOnce
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    Iterator → AnyRef → Any
    +
  • + + +

    + + +def + + +toTraversable: Traversable[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toVector: Vector[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + + +def + + +withFilter(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +zip[B](that: Iterator[B]): Iterator[(DataBatch, B)] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +zipAll[B, A1 >: DataBatch, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +zipWithIndex: Iterator[(DataBatch, Int)] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +
    +
    +

    Inherited from DataIter

    +
    +

    Inherited from Iterator[DataBatch]

    +
    +

    Inherited from TraversableOnce[DataBatch]

    +
    +

    Inherited from GenTraversableOnce[DataBatch]

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/io/ResizeIter.html b/api/scala/docs/ml/dmlc/mxnet/io/ResizeIter.html index d96eae47d1ed..7bbacb1e40fa 100644 --- a/api/scala/docs/ml/dmlc/mxnet/io/ResizeIter.html +++ b/api/scala/docs/ml/dmlc/mxnet/io/ResizeIter.html @@ -1,19 +1,18 @@ + - - ResizeIter - ml.dmlc.mxnet.io.ResizeIter - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.io

    -

    ResizeIter

    Related Doc: - package io -

    - - Permalink - - -
    - -

    - - - class - - - ResizeIter extends DataIter - -

    - -

    Resize a DataIter to given number of batches per epoch. + + +

    +Class +

    ml.dmlc.mxnet.io

    +

    ResizeIter

    Related Doc: + package io +

    + +Permalink + + +
    +

    + + +class + + +ResizeIter extends DataIter + +

    +

    Resize a DataIter to given number of batches per epoch. May produce incomplete batch in the middle of an epoch due to padding from internal iterator.

    - Linear Supertypes -
    DataIter, Iterator[DataBatch], TraversableOnce[DataBatch], GenTraversableOnce[DataBatch], AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. ResizeIter
    2. DataIter
    3. Iterator
    4. TraversableOnce
    5. GenTraversableOnce
    6. AnyRef
    7. Any
    8. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - ResizeIter(dataIter: DataIter, reSize: Int, resetInternal: Boolean = true) - -

      - - Permalink - - -

      dataIter

      Internal data iterator.

      reSize

      number of batches per epoch to resize to.

      resetInternal

      whether to reset internal iterator on ResizeIter.reset

      -
    -
    - -
    -

    Type Members

    -
    1. - - -

      - - - class - - - GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    -
    - - - -
    -

    Value Members

    -
    1. - - -

      - - final - def - - - !=(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    2. - - -

      - - final - def - - - ##(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    3. - - -

      - - - def - - - ++[B >: DataBatch](that: ⇒ GenTraversableOnce[B]): Iterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    4. - - -

      - - - def - - - /:[B](z: B)(op: (B, DataBatch) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    5. - - -

      - - - def - - - :\[B](z: B)(op: (DataBatch, B) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    6. - - -

      - - final - def - - - ==(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    7. - - -

      - - - def - - - addString(b: StringBuilder): StringBuilder - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    8. - - -

      - - - def - - - addString(b: StringBuilder, sep: String): StringBuilder - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    9. - - -

      - - - def - - - addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    10. - - -

      - - - def - - - aggregate[B](z: ⇒ B)(seqop: (B, DataBatch) ⇒ B, combop: (B, B) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    11. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    12. - - -

      - - - def - - - batchSize: Int - -

      - - Permalink - - -
      Definition Classes
      ResizeIterDataIter
      -
    13. - - -

      - - - def - - - buffered: BufferedIterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    14. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    15. - - -

      - - - def - - - collect[B](pf: PartialFunction[DataBatch, B]): Iterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      Annotations
      - @migration - -
      Migration

      (Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.

      -
    16. - - -

      - - - def - - - collectFirst[B](pf: PartialFunction[DataBatch, B]): Option[B] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    17. - - -

      - - - def - - - contains(elem: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    18. - - -

      - - - def - - - copyToArray[B >: DataBatch](xs: Array[B], start: Int, len: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    19. - - -

      - - - def - - - copyToArray[B >: DataBatch](xs: Array[B]): Unit - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    20. - - -

      - - - def - - - copyToArray[B >: DataBatch](xs: Array[B], start: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    21. - - -

      - - - def - - - copyToBuffer[B >: DataBatch](dest: Buffer[B]): Unit - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    22. - - -

      - - - def - - - corresponds[B](that: GenTraversableOnce[B])(p: (DataBatch, B) ⇒ Boolean): Boolean - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    23. - - -

      - - - def - - - count(p: (DataBatch) ⇒ Boolean): Int - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    24. - - -

      - - - def - - - defaultBucketKey: AnyRef - -

      - - Permalink - - -
      Definition Classes
      DataIter
      -
    25. - - -

      - - - def - - - drop(n: Int): Iterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    26. - - -

      - - - def - - - dropWhile(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    27. - - -

      - - - def - - - duplicate: (Iterator[DataBatch], Iterator[DataBatch]) - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    28. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    29. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    30. - - -

      - - - def - - - exists(p: (DataBatch) ⇒ Boolean): Boolean - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    31. - - -

      - - - def - - - filter(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    32. - - -

      - - - def - - - filterNot(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    33. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    34. - - -

      - - - def - - - find(p: (DataBatch) ⇒ Boolean): Option[DataBatch] - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    35. - - -

      - - - def - - - flatMap[B](f: (DataBatch) ⇒ GenTraversableOnce[B]): Iterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    36. - - -

      - - - def - - - fold[A1 >: DataBatch](z: A1)(op: (A1, A1) ⇒ A1): A1 - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    37. - - -

      - - - def - - - foldLeft[B](z: B)(op: (B, DataBatch) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    38. - - -

      - - - def - - - foldRight[B](z: B)(op: (DataBatch, B) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    39. - - -

      - - - def - - - forall(p: (DataBatch) ⇒ Boolean): Boolean - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    40. - - -

      - - - def - - - foreach[U](f: (DataBatch) ⇒ U): Unit - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    41. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    42. - - -

      - - - def - - - getData(): IndexedSeq[NDArray] - -

      - - Permalink - - -

      get data of current batch

      get data of current batch

      returns

      the data of current batch

      Definition Classes
      ResizeIterDataIter
      -
    43. - - -

      - - - def - - - getIndex(): IndexedSeq[Long] - -

      - - Permalink - - -

      Get the index of current batch

      Get the index of current batch

      returns

      the index of current batch

      Definition Classes
      ResizeIterDataIter
      -
    44. - - -

      - - - def - - - getLabel(): IndexedSeq[NDArray] - -

      - - Permalink - - -

      Get label of current batch

      Get label of current batch

      returns

      the label of current batch

      Definition Classes
      ResizeIterDataIter
      -
    45. - - -

      - - - def - - - getPad(): Int - -

      - - Permalink - - -

      Get the number of padding examples +Linear Supertypes +

      DataIter, Iterator[DataBatch], TraversableOnce[DataBatch], GenTraversableOnce[DataBatch], AnyRef, Any
      +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. ResizeIter
    2. DataIter
    3. Iterator
    4. TraversableOnce
    5. GenTraversableOnce
    6. AnyRef
    7. Any
    8. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +ResizeIter(dataIter: DataIter, reSize: Int, resetInternal: Boolean = true) + +

      + +Permalink + + +

      dataIter

      Internal data iterator.

      reSize

      number of batches per epoch to resize to.

      resetInternal

      whether to reset internal iterator on ResizeIter.reset

      +
    +
    +
    +

    Type Members

    +
    1. + + +

      + + +class + + +GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    +
    +
    +

    Value Members

    +
    1. + + +

      + +final +def + + +!=(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    2. + + +

      + +final +def + + +##(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    3. + + +

      + + +def + + +++[B >: DataBatch](that: ⇒ GenTraversableOnce[B]): Iterator[B] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    4. + + +

      + + +def + + +/:[B](z: B)(op: (B, DataBatch) ⇒ B): B + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    5. + + +

      + + +def + + +:\[B](z: B)(op: (DataBatch, B) ⇒ B): B + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    6. + + +

      + +final +def + + +==(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    7. + + +

      + + +def + + +addString(b: StringBuilder): StringBuilder + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce
      +
    8. + + +

      + + +def + + +addString(b: StringBuilder, sep: String): StringBuilder + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce
      +
    9. + + +

      + + +def + + +addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce
      +
    10. + + +

      + + +def + + +aggregate[B](z: ⇒ B)(seqop: (B, DataBatch) ⇒ B, combop: (B, B) ⇒ B): B + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    11. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    12. + + +

      + + +def + + +batchSize: Int + +

      + +Permalink + + +
      Definition Classes
      ResizeIterDataIter
      +
    13. + + +

      + + +def + + +buffered: BufferedIterator[DataBatch] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    14. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    15. + + +

      + + +def + + +collect[B](pf: PartialFunction[DataBatch, B]): Iterator[B] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      Annotations
      +@migration +
      Migration

      (Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.

      +
    16. + + +

      + + +def + + +collectFirst[B](pf: PartialFunction[DataBatch, B]): Option[B] + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce
      +
    17. + + +

      + + +def + + +contains(elem: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    18. + + +

      + + +def + + +copyToArray[B >: DataBatch](xs: Array[B], start: Int, len: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      +
    19. + + +

      + + +def + + +copyToArray[B >: DataBatch](xs: Array[B]): Unit + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    20. + + +

      + + +def + + +copyToArray[B >: DataBatch](xs: Array[B], start: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    21. + + +

      + + +def + + +copyToBuffer[B >: DataBatch](dest: Buffer[B]): Unit + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce
      +
    22. + + +

      + + +def + + +corresponds[B](that: GenTraversableOnce[B])(p: (DataBatch, B) ⇒ Boolean): Boolean + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    23. + + +

      + + +def + + +count(p: (DataBatch) ⇒ Boolean): Int + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    24. + + +

      + + +def + + +defaultBucketKey: AnyRef + +

      + +Permalink + + +
      Definition Classes
      DataIter
      +
    25. + + +

      + + +def + + +drop(n: Int): Iterator[DataBatch] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    26. + + +

      + + +def + + +dropWhile(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    27. + + +

      + + +def + + +duplicate: (Iterator[DataBatch], Iterator[DataBatch]) + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    28. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    29. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    30. + + +

      + + +def + + +exists(p: (DataBatch) ⇒ Boolean): Boolean + +

      + +Permalink + + +
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      +
    31. + + +

      + + +def + + +filter(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    32. + + +

      + + +def + + +filterNot(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    33. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    34. + + +

      + + +def + + +find(p: (DataBatch) ⇒ Boolean): Option[DataBatch] + +

      + +Permalink + + +
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      +
    35. + + +

      + + +def + + +flatMap[B](f: (DataBatch) ⇒ GenTraversableOnce[B]): Iterator[B] + +

      + +Permalink + + +
      Definition Classes
      Iterator
      +
    36. + + +

      + + +def + + +fold[A1 >: DataBatch](z: A1)(op: (A1, A1) ⇒ A1): A1 + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    37. + + +

      + + +def + + +foldLeft[B](z: B)(op: (B, DataBatch) ⇒ B): B + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    38. + + +

      + + +def + + +foldRight[B](z: B)(op: (DataBatch, B) ⇒ B): B + +

      + +Permalink + + +
      Definition Classes
      TraversableOnce → GenTraversableOnce
      +
    39. + + +

      + + +def + + +forall(p: (DataBatch) ⇒ Boolean): Boolean + +

      + +Permalink + + +
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      +
    40. + + +

      + + +def + + +foreach[U](f: (DataBatch) ⇒ U): Unit + +

      + +Permalink + + +
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      +
    41. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    42. + + +

      + + +def + + +getData(): IndexedSeq[NDArray] + +

      + +Permalink + + +

      get data of current batch

      get data of current batch

      returns

      the data of current batch

      Definition Classes
      ResizeIterDataIter
      +
    43. + + +

      + + +def + + +getIndex(): IndexedSeq[Long] + +

      + +Permalink + + +

      Get the index of current batch

      Get the index of current batch

      returns

      the index of current batch

      Definition Classes
      ResizeIterDataIter
      +
    44. + + +

      + + +def + + +getLabel(): IndexedSeq[NDArray] + +

      + +Permalink + + +

      Get label of current batch

      Get label of current batch

      returns

      the label of current batch

      Definition Classes
      ResizeIterDataIter
      +
    45. + + +

      + + +def + + +getPad(): Int + +

      + +Permalink + + +

      Get the number of padding examples in current batch

      Get the number of padding examples -in current batch

      returns

      number of padding examples in current batch

      Definition Classes
      ResizeIterDataIter
      -
    46. - - -

      - - - def - - - grouped[B >: DataBatch](size: Int): GroupedIterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    47. - - -

      - - - def - - - hasDefiniteSize: Boolean - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    48. - - -

      - - - def - - - hasNext: Boolean - -

      - - Permalink - - -
      Definition Classes
      ResizeIter → Iterator
      -
    49. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    50. - - -

      - - - def - - - indexOf[B >: DataBatch](elem: B): Int - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    51. - - -

      - - - def - - - indexWhere(p: (DataBatch) ⇒ Boolean): Int - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    52. - - -

      - - - def - - - isEmpty: Boolean - -

      - - Permalink - - -
      Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
      -
    53. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    54. - - -

      - - - def - - - isTraversableAgain: Boolean - -

      - - Permalink - - -
      Definition Classes
      Iterator → GenTraversableOnce
      -
    55. - - -

      - - - def - - - length: Int - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    56. - - -

      - - - def - - - map[B](f: (DataBatch) ⇒ B): Iterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    57. - - -

      - - - def - - - max[B >: DataBatch](implicit cmp: Ordering[B]): DataBatch - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    58. - - -

      - - - def - - - maxBy[B](f: (DataBatch) ⇒ B)(implicit cmp: Ordering[B]): DataBatch - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    59. - - -

      - - - def - - - min[B >: DataBatch](implicit cmp: Ordering[B]): DataBatch - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    60. - - -

      - - - def - - - minBy[B](f: (DataBatch) ⇒ B)(implicit cmp: Ordering[B]): DataBatch - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    61. - - -

      - - - def - - - mkString: String - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    62. - - -

      - - - def - - - mkString(sep: String): String - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    63. - - -

      - - - def - - - mkString(start: String, sep: String, end: String): String - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    64. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    65. - - -

      - - - def - - - next(): DataBatch - -

      - - Permalink - - -

      get next data batch from iterator

      get next data batch from iterator

      Definition Classes
      ResizeIterDataIter → Iterator
      Annotations
      - @throws( - - classOf[NoSuchElementException] - ) - -
      -
    66. - - -

      - - - def - - - nonEmpty: Boolean - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    67. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    68. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    69. - - -

      - - - def - - - padTo[A1 >: DataBatch](len: Int, elem: A1): Iterator[A1] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    70. - - -

      - - - def - - - partition(p: (DataBatch) ⇒ Boolean): (Iterator[DataBatch], Iterator[DataBatch]) - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    71. - - -

      - - - def - - - patch[B >: DataBatch](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B] - -

      - - Permalink - - -
      Definition Classes
      Iterator
      -
    72. - - -

      - - - def - - - product[B >: DataBatch](implicit num: Numeric[B]): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    73. - - -

      - - - def - - - provideData: ListMap[String, Shape] - -

      - - Permalink - - -
      Definition Classes
      ResizeIterDataIter
      -
    74. - - -

      - - - def - - - provideLabel: ListMap[String, Shape] - -

      - - Permalink - - -
      Definition Classes
      ResizeIterDataIter
      -
    75. - - -

      - - - def - - - reduce[A1 >: DataBatch](op: (A1, A1) ⇒ A1): A1 - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    76. - - -

      - - - def - - - reduceLeft[B >: DataBatch](op: (B, DataBatch) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce
      -
    77. - - -

      - - - def - - - reduceLeftOption[B >: DataBatch](op: (B, DataBatch) ⇒ B): Option[B] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    78. - - -

      - - - def - - - reduceOption[A1 >: DataBatch](op: (A1, A1) ⇒ A1): Option[A1] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    79. - - -

      - - - def - - - reduceRight[B >: DataBatch](op: (DataBatch, B) ⇒ B): B - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    80. - - -

      - - - def - - - reduceRightOption[B >: DataBatch](op: (DataBatch, B) ⇒ B): Option[B] - -

      - - Permalink - - -
      Definition Classes
      TraversableOnce → GenTraversableOnce
      -
    81. - - -

      - - - def - - - reset(): Unit - -

      - - Permalink - - -

      reset the iterator +in current batch

    returns

    number of padding examples in current batch

    Definition Classes
    ResizeIterDataIter
    +
  • + + +

    + + +def + + +grouped[B >: DataBatch](size: Int): GroupedIterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +hasDefiniteSize: Boolean + +

    + +Permalink + + +
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +hasNext: Boolean + +

    + +Permalink + + +
    Definition Classes
    ResizeIter → Iterator
    +
  • + + +

    + + +def + + +hashCode(): Int + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +indexOf[B >: DataBatch](elem: B): Int + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +indexWhere(p: (DataBatch) ⇒ Boolean): Int + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +isEmpty: Boolean + +

    + +Permalink + + +
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    +
  • + + +

    + +final +def + + +isInstanceOf[T0]: Boolean + +

    + +Permalink + + +
    Definition Classes
    Any
    +
  • + + +

    + + +def + + +isTraversableAgain: Boolean + +

    + +Permalink + + +
    Definition Classes
    Iterator → GenTraversableOnce
    +
  • + + +

    + + +def + + +length: Int + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +map[B](f: (DataBatch) ⇒ B): Iterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +max[B >: DataBatch](implicit cmp: Ordering[B]): DataBatch + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +maxBy[B](f: (DataBatch) ⇒ B)(implicit cmp: Ordering[B]): DataBatch + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +min[B >: DataBatch](implicit cmp: Ordering[B]): DataBatch + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +minBy[B](f: (DataBatch) ⇒ B)(implicit cmp: Ordering[B]): DataBatch + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +mkString: String + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +mkString(sep: String): String + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +mkString(start: String, sep: String, end: String): String + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + +final +def + + +ne(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +next(): DataBatch + +

    + +Permalink + + +

    get next data batch from iterator

    get next data batch from iterator

    Definition Classes
    ResizeIterDataIter → Iterator
    Annotations
    +@throws( +classOf[NoSuchElementException] +) +
    +
  • + + +

    + + +def + + +nonEmpty: Boolean + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + +final +def + + +notify(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notifyAll(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +padTo[A1 >: DataBatch](len: Int, elem: A1): Iterator[A1] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +partition(p: (DataBatch) ⇒ Boolean): (Iterator[DataBatch], Iterator[DataBatch]) + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +patch[B >: DataBatch](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +product[B >: DataBatch](implicit num: Numeric[B]): B + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +provideData: ListMap[String, Shape] + +

    + +Permalink + + +
    Definition Classes
    ResizeIterDataIter
    +
  • + + +

    + + +def + + +provideLabel: ListMap[String, Shape] + +

    + +Permalink + + +
    Definition Classes
    ResizeIterDataIter
    +
  • + + +

    + + +def + + +reduce[A1 >: DataBatch](op: (A1, A1) ⇒ A1): A1 + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +reduceLeft[B >: DataBatch](op: (B, DataBatch) ⇒ B): B + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce
    +
  • + + +

    + + +def + + +reduceLeftOption[B >: DataBatch](op: (B, DataBatch) ⇒ B): Option[B] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +reduceOption[A1 >: DataBatch](op: (A1, A1) ⇒ A1): Option[A1] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +reduceRight[B >: DataBatch](op: (DataBatch, B) ⇒ B): B + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +reduceRightOption[B >: DataBatch](op: (DataBatch, B) ⇒ B): Option[B] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +reset(): Unit + +

    + +Permalink + + +

    reset the iterator

    reset the iterator -

    Definition Classes
    ResizeIterDataIter
    -
  • - - -

    - - - def - - - reversed: List[DataBatch] - -

    - - Permalink - - -
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
    -
  • - - -

    - - - def - - - sameElements(that: Iterator[_]): Boolean - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - scanLeft[B](z: B)(op: (B, DataBatch) ⇒ B): Iterator[B] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - scanRight[B](z: B)(op: (DataBatch, B) ⇒ B): Iterator[B] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - seq: Iterator[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - size: Int - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - slice(from: Int, until: Int): Iterator[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - sliding[B >: DataBatch](size: Int, step: Int): GroupedIterator[B] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - span(p: (DataBatch) ⇒ Boolean): (Iterator[DataBatch], Iterator[DataBatch]) - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - sum[B >: DataBatch](implicit num: Numeric[B]): B - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    -
  • - - -

    - - - def - - - take(n: Int): Iterator[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - takeWhile(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - to[Col[_]](implicit cbf: CanBuildFrom[Nothing, DataBatch, Col[DataBatch]]): Col[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toArray[B >: DataBatch](implicit arg0: ClassTag[B]): Array[B] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toBuffer[B >: DataBatch]: Buffer[B] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toIndexedSeq: IndexedSeq[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toIterable: Iterable[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toIterator: Iterator[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator → GenTraversableOnce
    -
  • - - -

    - - - def - - - toList: List[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toMap[T, U](implicit ev: <:<[DataBatch, (T, U)]): Map[T, U] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toSeq: Seq[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toSet[B >: DataBatch]: Set[B] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toStream: Stream[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator → GenTraversableOnce
    -
  • - - -

    - - - def - - - toString(): String - -

    - - Permalink - - -
    Definition Classes
    Iterator → AnyRef → Any
    -
  • - - -

    - - - def - - - toTraversable: Traversable[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - - def - - - toVector: Vector[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    TraversableOnce → GenTraversableOnce
    -
  • - - -

    - - final - def - - - wait(): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    Annotations
    - @throws( - - ... - ) - -
    -
  • - - -

    - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    Annotations
    - @throws( - - ... - ) - -
    -
  • - - -

    - - final - def - - - wait(arg0: Long): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    Annotations
    - @throws( - - ... - ) - -
    -
  • - - -

    - - - def - - - withFilter(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - zip[B](that: Iterator[B]): Iterator[(DataBatch, B)] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - zipAll[B, A1 >: DataBatch, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • - - -

    - - - def - - - zipWithIndex: Iterator[(DataBatch, Int)] - -

    - - Permalink - - -
    Definition Classes
    Iterator
    -
  • -
    - - - - -
    - -
    -
    -

    Inherited from DataIter

    -
    -

    Inherited from Iterator[DataBatch]

    -
    -

    Inherited from TraversableOnce[DataBatch]

    -
    -

    Inherited from GenTraversableOnce[DataBatch]

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +

    Definition Classes
    ResizeIterDataIter
    +
  • + + +

    + + +def + + +reversed: List[DataBatch] + +

    + +Permalink + + +
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
    +
  • + + +

    + + +def + + +sameElements(that: Iterator[_]): Boolean + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +scanLeft[B](z: B)(op: (B, DataBatch) ⇒ B): Iterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +scanRight[B](z: B)(op: (DataBatch, B) ⇒ B): Iterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +seq: Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +size: Int + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +slice(from: Int, until: Int): Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +sliding[B >: DataBatch](size: Int, step: Int): GroupedIterator[B] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +span(p: (DataBatch) ⇒ Boolean): (Iterator[DataBatch], Iterator[DataBatch]) + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +sum[B >: DataBatch](implicit num: Numeric[B]): B + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +take(n: Int): Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +takeWhile(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +to[Col[_]](implicit cbf: CanBuildFrom[Nothing, DataBatch, Col[DataBatch]]): Col[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toArray[B >: DataBatch](implicit arg0: ClassTag[B]): Array[B] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toBuffer[B >: DataBatch]: Buffer[B] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toIndexedSeq: IndexedSeq[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toIterable: Iterable[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toIterator: Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator → GenTraversableOnce
    +
  • + + +

    + + +def + + +toList: List[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toMap[T, U](implicit ev: <:<[DataBatch, (T, U)]): Map[T, U] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toSeq: Seq[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toSet[B >: DataBatch]: Set[B] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toStream: Stream[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator → GenTraversableOnce
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    Iterator → AnyRef → Any
    +
  • + + +

    + + +def + + +toTraversable: Traversable[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
    +
  • + + +

    + + +def + + +toVector: Vector[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    TraversableOnce → GenTraversableOnce
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + + +def + + +withFilter(p: (DataBatch) ⇒ Boolean): Iterator[DataBatch] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +zip[B](that: Iterator[B]): Iterator[(DataBatch, B)] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +zipAll[B, A1 >: DataBatch, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +

    + + +def + + +zipWithIndex: Iterator[(DataBatch, Int)] + +

    + +Permalink + + +
    Definition Classes
    Iterator
    +
  • + + +
    +
    +

    Inherited from DataIter

    +
    +

    Inherited from Iterator[DataBatch]

    +
    +

    Inherited from TraversableOnce[DataBatch]

    +
    +

    Inherited from GenTraversableOnce[DataBatch]

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/io/package.html b/api/scala/docs/ml/dmlc/mxnet/io/package.html index 2fea4b9a7326..da11570e7141 100644 --- a/api/scala/docs/ml/dmlc/mxnet/io/package.html +++ b/api/scala/docs/ml/dmlc/mxnet/io/package.html @@ -1,19 +1,18 @@ + - - io - ml.dmlc.mxnet.io - - - - - - - - - - - - + + + + - - - -
    - Package -

    ml.dmlc.mxnet

    -

    io

    - - Permalink - - -
    - -

    - - - package - - - io - -

    - -
    - - -
    -
    - - -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    - - -
    -

    Type Members

    -
    1. - - -

      - - - class - - - NDArrayIter extends DataIter - -

      - - Permalink - - -

      NDArrayIter object in mxnet.

      NDArrayIter object in mxnet. Taking NDArray to get dataiter. + + +

      +Package +

      ml.dmlc.mxnet

      +

      io

      + +Permalink + + +
      +

      + + +package + + +io + +

      +
      +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Type Members

      +
      1. + + +

        + + +class + + +NDArrayIter extends DataIter + +

        + +Permalink + + +

        NDArrayIter object in mxnet.

        NDArrayIter object in mxnet. Taking NDArray to get dataiter.

        -
      2. - - -

        - - - class - - - PrefetchingIter extends DataIter - -

        - - Permalink - - -

        Base class for prefetching iterators.

        Base class for prefetching iterators. Takes one or more DataIters +

      3. + + +

        + + +class + + +PrefetchingIter extends DataIter + +

        + +Permalink + + +

        Base class for prefetching iterators.

        Base class for prefetching iterators. Takes one or more DataIters and combine them with prefetching.

        -
      4. - - -

        - - - class - - - ResizeIter extends DataIter - -

        - - Permalink - - -

        Resize a DataIter to given number of batches per epoch.

        Resize a DataIter to given number of batches per epoch. +

      5. + + +

        + + +class + + +ResizeIter extends DataIter + +

        + +Permalink + + +

        Resize a DataIter to given number of batches per epoch.

        Resize a DataIter to given number of batches per epoch. May produce incomplete batch in the middle of an epoch due to padding from internal iterator.

        -
      -
      - - - - - - - - -
      - -
      - - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +
    +
    +
    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/module/BaseModule.html b/api/scala/docs/ml/dmlc/mxnet/module/BaseModule.html index 4040331abd3f..6d6440787297 100644 --- a/api/scala/docs/ml/dmlc/mxnet/module/BaseModule.html +++ b/api/scala/docs/ml/dmlc/mxnet/module/BaseModule.html @@ -1,19 +1,18 @@ + - - BaseModule - ml.dmlc.mxnet.module.BaseModule - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.module

    -

    BaseModule

    Related Doc: - package module -

    - - Permalink - - -
    - -

    - - abstract - class - - - BaseModule extends AnyRef - -

    - -

    The base class of a modules. A module represents a computation component. The design -purpose of a module is that it abstract a computation "machine", that one can run forward, + + +

    +Class +

    ml.dmlc.mxnet.module

    +

    BaseModule

    Related Doc: + package module +

    + +Permalink + + +
    +

    + +abstract +class + + +BaseModule extends AnyRef + +

    +

    The base class of a modules. A module represents a computation component. The design +purpose of a module is that it abstract a computation "machine", that one can run forward, backward, update parameters, etc. We aim to make the APIs easy to use, especially in the case when we need to use imperative API to work with multiple modules (e.g. stochastic depth network).

    A module has several states:

    - Initial state. Memory is not allocated yet, not ready for computation yet. @@ -81,107 +77,99 @@

    this value might not be well defined.

    When those intermediate-level API are implemented properly, the following high-level API will be automatically available for a module:

    • fit: train the module parameters on a data set
    • predict: run prediction on a data set and collect outputs
    • score: run prediction on a data set and evaluate performance

    - Linear Supertypes -
    AnyRef, Any
    -
    - Known Subclasses - -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. BaseModule
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - BaseModule() - -

      - - Permalink - - - -
    -
    - - - -
    -

    Abstract Value Members

    -
    1. - - -

      - - abstract - def - - - backward(outGrads: Array[NDArray] = null): Unit - -

      - - Permalink - - -

      Backward computation.

      Backward computation.

      outGrads

      Gradient on the outputs to be propagated back. +Linear Supertypes +

      AnyRef, Any
      +
      +Known Subclasses + +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. BaseModule
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +BaseModule() + +

      + +Permalink + + +
    +
    +
    +

    Abstract Value Members

    +
    1. + + +

      + +abstract +def + + +backward(outGrads: Array[NDArray] = null): Unit + +

      + +Permalink + + +

      Backward computation.

      Backward computation.

      outGrads

      Gradient on the outputs to be propagated back. This parameter is only needed when bind is called on outputs that are not a loss function.

      -
    2. - - -

      - - abstract - def - - - bind(dataShapes: IndexedSeq[DataDesc], labelShapes: Option[IndexedSeq[DataDesc]] = None, forTraining: Boolean = true, inputsNeedGrad: Boolean = false, forceRebind: Boolean = false, sharedModule: Option[BaseModule] = None, gradReq: String = "write"): Unit - -

      - - Permalink - - -

      Bind the symbols to construct executors.

      Bind the symbols to construct executors. +

    3. + + +

      + +abstract +def + + +bind(dataShapes: IndexedSeq[DataDesc], labelShapes: Option[IndexedSeq[DataDesc]] = None, forTraining: Boolean = true, inputsNeedGrad: Boolean = false, forceRebind: Boolean = false, sharedModule: Option[BaseModule] = None, gradReq: String = "write"): Unit + +

      + +Permalink + + +

      Bind the symbols to construct executors.

      Bind the symbols to construct executors. This is necessary before one can perform computation with the module.

      dataShapes

      Typically is DataIter.provideData.

      labelShapes

      Typically is DataIter.provideLabel.

      forTraining

      Default is True. Whether the executors should be bind for training.

      inputsNeedGrad

      Default is False. Whether the gradients to the input data need to be computed. Typically this is not needed. @@ -192,875 +180,864 @@

      -- a module with different symbol but with the same sets of parameters (e.g. unrolled RNNs with different lengths).

      gradReq

      Requirement for gradient accumulation (globally). Can be 'write', 'add', or 'null' (default to 'write').

      -
    4. - - -

      - - abstract - def - - - dataNames: IndexedSeq[String] - -

      - - Permalink - - - -
    5. - - -

      - - abstract - def - - - dataShapes: IndexedSeq[DataDesc] - -

      - - Permalink - - - -
    6. - - -

      - - abstract - def - - - forward(dataBatch: DataBatch, isTrain: Option[Boolean] = None): Unit - -

      - - Permalink - - -

      Forward computation.

      Forward computation.

      dataBatch

      Could be anything with similar API implemented.

      isTrain

      Default is None, which means isTrain takes the value of this.forTraining.

      -
    7. - - -

      - - abstract - def - - - getInputGrads(): IndexedSeq[IndexedSeq[NDArray]] - -

      - - Permalink - - -

      Get the gradients to the inputs, computed in the previous backward computation.

      Get the gradients to the inputs, computed in the previous backward computation.

      returns

      In the case when data-parallelism is used, +

    8. + + +

      + +abstract +def + + +dataNames: IndexedSeq[String] + +

      + +Permalink + + +
    9. + + +

      + +abstract +def + + +dataShapes: IndexedSeq[DataDesc] + +

      + +Permalink + + +
    10. + + +

      + +abstract +def + + +forward(dataBatch: DataBatch, isTrain: Option[Boolean] = None): Unit + +

      + +Permalink + + +

      Forward computation.

      Forward computation.

      dataBatch

      Could be anything with similar API implemented.

      isTrain

      Default is None, which means isTrain takes the value of this.forTraining.

      +
    11. + + +

      + +abstract +def + + +getInputGrads(): IndexedSeq[IndexedSeq[NDArray]] + +

      + +Permalink + + +

      Get the gradients to the inputs, computed in the previous backward computation.

      Get the gradients to the inputs, computed in the previous backward computation.

      returns

      In the case when data-parallelism is used, the grads will be collected from multiple devices. The results will look like grad1_dev2], [grad2_dev1, grad2_dev2, those NDArray might live on different devices.

      -
    12. - - -

      - - abstract - def - - - getInputGradsMerged(): IndexedSeq[NDArray] - -

      - - Permalink - - -

      Get the gradients to the inputs, computed in the previous backward computation.

      Get the gradients to the inputs, computed in the previous backward computation.

      returns

      In the case when data-parallelism is used, +

    13. + + +

      + +abstract +def + + +getInputGradsMerged(): IndexedSeq[NDArray] + +

      + +Permalink + + +

      Get the gradients to the inputs, computed in the previous backward computation.

      Get the gradients to the inputs, computed in the previous backward computation.

      returns

      In the case when data-parallelism is used, the grads will be merged from multiple devices, as they look like from a single executor. The results will look like [grad1, grad2]

      -
    14. - - -

      - - abstract - def - - - getOutputs(): IndexedSeq[IndexedSeq[NDArray]] - -

      - - Permalink - - -

      Get outputs of the previous forward computation.

      Get outputs of the previous forward computation.

      returns

      In the case when data-parallelism is used, +

    15. + + +

      + +abstract +def + + +getOutputs(): IndexedSeq[IndexedSeq[NDArray]] + +

      + +Permalink + + +

      Get outputs of the previous forward computation.

      Get outputs of the previous forward computation.

      returns

      In the case when data-parallelism is used, the outputs will be collected from multiple devices. The results will look like out1_dev2], [out2_dev1, out2_dev2, those NDArray might live on different devices.

      -
    16. - - -

      - - abstract - def - - - getOutputsMerged(): IndexedSeq[NDArray] - -

      - - Permalink - - -

      Get outputs of the previous forward computation.

      Get outputs of the previous forward computation.

      returns

      In the case when data-parallelism is used, +

    17. + + +

      + +abstract +def + + +getOutputsMerged(): IndexedSeq[NDArray] + +

      + +Permalink + + +

      Get outputs of the previous forward computation.

      Get outputs of the previous forward computation.

      returns

      In the case when data-parallelism is used, the outputs will be merged from multiple devices, as they look like from a single executor. The results will look like [out1, out2]

      -
    18. - - -

      - - abstract - def - - - getParams: (Map[String, NDArray], Map[String, NDArray]) - -

      - - Permalink - - -

      Get parameters, those are potentially copies of the the actual parameters used +

    19. + + +

      + +abstract +def + + +getParams: (Map[String, NDArray], Map[String, NDArray]) + +

      + +Permalink + + +

      Get parameters, those are potentially copies of the the actual parameters used to do computation on the device.

      Get parameters, those are potentially copies of the the actual parameters used -to do computation on the device.

      returns

      (arg_params, aux_params), a pair of dictionary of name to value mapping.

      -
    20. - - -

      - - abstract - def - - - initOptimizer(kvstore: String = "local", optimizer: Optimizer = new SGD(), resetOptimizer: Boolean = true, forceInit: Boolean = false): Unit - -

      - - Permalink - - - -
    21. - - -

      - - abstract - def - - - initParams(initializer: Initializer = new Uniform(0.01f), argParams: Map[String, NDArray] = null, auxParams: Map[String, NDArray] = null, allowMissing: Boolean = false, forceInit: Boolean = false): Unit - -

      - - Permalink - - -

      Initialize the parameters and auxiliary states.

      Initialize the parameters and auxiliary states.

      initializer

      : Initializer +to do computation on the device.

      returns

      (argParams, auxParams), a pair of dictionary of name to value mapping.

    +
  • + + +

    + +abstract +def + + +initOptimizer(kvstore: String = "local", optimizer: Optimizer = new SGD(), resetOptimizer: Boolean = true, forceInit: Boolean = false): Unit + +

    + +Permalink + + +
  • + + +

    + +abstract +def + + +initParams(initializer: Initializer = new Uniform(0.01f), argParams: Map[String, NDArray] = null, auxParams: Map[String, NDArray] = null, allowMissing: Boolean = false, forceInit: Boolean = false, allowExtra: Boolean = false): Unit + +

    + +Permalink + + +

    Initialize the parameters and auxiliary states.

    Initialize the parameters and auxiliary states.

    initializer

    : Initializer Called to initialize parameters if needed. - arg_params : dict + argParams : dict If not None, should be a dictionary of existing arg_params. Initialization will be copied from that. - aux_params : dict + auxParams : dict If not None, should be a dictionary of existing aux_params. Initialization will be copied from that. - allow_missing : bool + allowMissing : bool If true, params could contain missing values, and the initializer will be called to fill those missing params. - force_init : bool - If true, will force re-initialize even if already initialized.

    -
  • - - -

    - - abstract - def - - - installMonitor(monitor: Monitor): Unit - -

    - - Permalink - - - -
  • - - -

    - - abstract - def - - - labelShapes: IndexedSeq[DataDesc] - -

    - - Permalink - - -

    A list of (name, shape) pairs specifying the label inputs to this module.

    A list of (name, shape) pairs specifying the label inputs to this module. + forceInit : bool + If true, will force re-initialize even if already initialized. + allowExtra : bool + Whether allow extra parameters that are not needed by symbol. + If this is True, no error will be thrown when argParams or auxParams + contain extra parameters that is not needed by the executor.

    +
  • + + +

    + +abstract +def + + +installMonitor(monitor: Monitor): Unit + +

    + +Permalink + + +
  • + + +

    + +abstract +def + + +labelShapes: IndexedSeq[DataDesc] + +

    + +Permalink + + +

    A list of (name, shape) pairs specifying the label inputs to this module.

    A list of (name, shape) pairs specifying the label inputs to this module. If this module does not accept labels -- either it is a module without loss function, or it is not binded for training, then this should return an empty list [].

    -
  • - - -

    - - abstract - def - - - outputNames: IndexedSeq[String] - -

    - - Permalink - - - -
  • - - -

    - - abstract - def - - - outputShapes: IndexedSeq[(String, Shape)] - -

    - - Permalink - - - -
  • - - -

    - - abstract - def - - - update(): Unit - -

    - - Permalink - - - -
  • - - -

    - - abstract - def - - - updateMetric(evalMetric: EvalMetric, labels: IndexedSeq[NDArray]): Unit - -

    - - Permalink - - -

    Evaluate and accumulate evaluation metric on outputs of the last forward computation.

    Evaluate and accumulate evaluation metric on outputs of the last forward computation.

    labels

    Typically DataBatch.label.

    -
  • -
    - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - - def - - - fit(trainData: DataIter, evalData: Option[DataIter] = None, numEpoch: Int = 1, fitParams: FitParams = new FitParams): Unit - -

      - - Permalink - - -

      Train the module parameters.

      Train the module parameters.

      evalData

      If not None, will be used as validation set and evaluate +

    10. + + +

      + +abstract +def + + +outputNames: IndexedSeq[String] + +

      + +Permalink + + +
    11. + + +

      + +abstract +def + + +outputShapes: IndexedSeq[(String, Shape)] + +

      + +Permalink + + +
    12. + + +

      + +abstract +def + + +update(): Unit + +

      + +Permalink + + +
    13. + + +

      + +abstract +def + + +updateMetric(evalMetric: EvalMetric, labels: IndexedSeq[NDArray]): Unit + +

      + +Permalink + + +

      Evaluate and accumulate evaluation metric on outputs of the last forward computation.

      Evaluate and accumulate evaluation metric on outputs of the last forward computation.

      labels

      Typically DataBatch.label.

      +
    +
    +
    +

    Concrete 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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + + +def + + +fit(trainData: DataIter, evalData: Option[DataIter] = None, numEpoch: Int = 1, fitParams: FitParams = new FitParams): Unit + +

      + +Permalink + + +

      Train the module parameters.

      Train the module parameters.

      evalData

      If not None, will be used as validation set and evaluate the performance after each epoch.

      numEpoch

      Number of epochs to run training.

      fitParams

      Extra parameters for training.

      -
    10. - - -

      - - - def - - - forwardBackward(dataBatch: DataBatch): Unit - -

      - - Permalink - - - -
    11. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    12. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    14. - - -

      - - - def - - - loadParams(fname: String): Unit - -

      - - Permalink - - -

      Load model parameters from file.

      Load model parameters from file.

      fname

      Path to input param file.

      Annotations
      - @throws( - - classOf[IOException] - ) - -
      Exceptions thrown

      IOException if param file is invalid

      -
    15. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    18. - - -

      - - - def - - - predict(evalData: DataIter, numBatch: Int = 1, reset: Boolean = true): IndexedSeq[NDArray] - -

      - - Permalink - - -

      Run prediction and collect the outputs.

      Run prediction and collect the outputs.

      numBatch

      Default is -1, indicating running all the batches in the data iterator.

      reset

      Default is True, indicating whether we should reset the data iter before start +

    19. + + +

      + + +def + + +forwardBackward(dataBatch: DataBatch): Unit + +

      + +Permalink + + +
    20. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    21. + + +

      + + +def + + +getSymbol: Symbol + +

      + +Permalink + + +
    22. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    23. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    24. + + +

      + + +def + + +loadParams(fname: String): Unit + +

      + +Permalink + + +

      Load model parameters from file.

      Load model parameters from file.

      fname

      Path to input param file.

      Annotations
      +@throws( +classOf[IOException] +) +
      Exceptions thrown

      IOException if param file is invalid

      +
    25. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    26. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    27. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    28. + + +

      + + +def + + +predict(evalData: DataIter, numBatch: Int = 1, reset: Boolean = true): IndexedSeq[NDArray] + +

      + +Permalink + + +

      Run prediction and collect the outputs.

      Run prediction and collect the outputs.

      numBatch

      Default is -1, indicating running all the batches in the data iterator.

      reset

      Default is True, indicating whether we should reset the data iter before start doing prediction.

      returns

      The return value will be a list [out1, out2, out3]. Where each element is concatenation of the outputs for all the mini-batches.

      -
    29. - - -

      - - - def - - - predict(batch: DataBatch): IndexedSeq[NDArray] - -

      - - Permalink - - - -
    30. - - -

      - - - def - - - predictEveryBatch(evalData: DataIter, numBatch: Int = 1, reset: Boolean = true): IndexedSeq[IndexedSeq[NDArray]] - -

      - - Permalink - - -

      Run prediction and collect the outputs.

      Run prediction and collect the outputs.

      numBatch

      Default is -1, indicating running all the batches in the data iterator.

      reset

      Default is True, indicating whether we should reset the data iter before start +

    31. + + +

      + + +def + + +predict(batch: DataBatch): IndexedSeq[NDArray] + +

      + +Permalink + + +
    32. + + +

      + + +def + + +predictEveryBatch(evalData: DataIter, numBatch: Int = 1, reset: Boolean = true): IndexedSeq[IndexedSeq[NDArray]] + +

      + +Permalink + + +

      Run prediction and collect the outputs.

      Run prediction and collect the outputs.

      numBatch

      Default is -1, indicating running all the batches in the data iterator.

      reset

      Default is True, indicating whether we should reset the data iter before start doing prediction.

      returns

      The return value will be a nested list like out2_batch1, ...], [out1_batch2, out2_batch2, ... This mode is useful because in some cases (e.g. bucketing), the module does not necessarily produce the same number of outputs.

      -
    33. - - -

      - - - def - - - saveParams(fname: String): Unit - -

      - - Permalink - - -

      Save model parameters to file.

      Save model parameters to file.

      fname

      Path to output param file.

      -
    34. - - -

      - - - def - - - score(evalData: DataIter, evalMetric: EvalMetric, numBatch: Int = Integer.MAX_VALUE, batchEndCallback: Option[BatchEndCallback] = None, scoreEndCallback: Option[BatchEndCallback] = None, reset: Boolean = true, epoch: Int = 0): EvalMetric - -

      - - Permalink - - -

      Run prediction on eval_data and evaluate the performance according to eval_metric.

      Run prediction on eval_data and evaluate the performance according to eval_metric.

      evalData

      : DataIter

      evalMetric

      : EvalMetric

      numBatch

      Number of batches to run. Default is Integer.MAX_VALUE, +

    35. + + +

      + + +def + + +saveParams(fname: String): Unit + +

      + +Permalink + + +

      Save model parameters to file.

      Save model parameters to file.

      fname

      Path to output param file.

      +
    36. + + +

      + + +def + + +score(evalData: DataIter, evalMetric: EvalMetric, numBatch: Int = Integer.MAX_VALUE, batchEndCallback: Option[BatchEndCallback] = None, scoreEndCallback: Option[BatchEndCallback] = None, reset: Boolean = true, epoch: Int = 0): EvalMetric + +

      + +Permalink + + +

      Run prediction on eval_data and evaluate the performance according to eval_metric.

      Run prediction on eval_data and evaluate the performance according to eval_metric.

      evalData

      : DataIter

      evalMetric

      : EvalMetric

      numBatch

      Number of batches to run. Default is Integer.MAX_VALUE, indicating run until the DataIter finishes.

      batchEndCallback

      Could also be a list of functions.

      reset

      Default True, indicating whether we should reset eval_data before starting evaluating.

      epoch

      Default 0. For compatibility, this will be passed to callbacks (if any). During training, this will correspond to the training epoch number.

      -
    37. - - -

      - - - def - - - setParams(argParams: Map[String, NDArray], auxParams: Map[String, NDArray], allowMissing: Boolean = false, forceInit: Boolean = true): Unit - -

      - - Permalink - - -

      Assign parameter and aux state values.

      Assign parameter and aux state values. - arg_params : dict +

    38. + + +

      + + +def + + +setParams(argParams: Map[String, NDArray], auxParams: Map[String, NDArray], allowMissing: Boolean = false, forceInit: Boolean = true, allowExtra: Boolean = false): Unit + +

      + +Permalink + + +

      Assign parameter and aux state values.

      Assign parameter and aux state values. + argParams : dict Dictionary of name to value (NDArray) mapping. - aux_params : dict + auxParams : dict Dictionary of name to value (NDArray) mapping. - allow_missing : bool + allowMissing : bool If true, params could contain missing values, and the initializer will be called to fill those missing params. - force_init : bool + forceInit : bool If true, will force re-initialize even if already initialized. + allowExtra : bool + Whether allow extra parameters that are not needed by symbol. + If this is True, no error will be thrown when argParams or auxParams + contain extra parameters that is not needed by the executor.

      -
    39. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    40. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    41. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    42. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    43. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/module/DataParallelExecutorGroup.html b/api/scala/docs/ml/dmlc/mxnet/module/DataParallelExecutorGroup.html index e5911b5b8504..a3292a7bba2b 100644 --- a/api/scala/docs/ml/dmlc/mxnet/module/DataParallelExecutorGroup.html +++ b/api/scala/docs/ml/dmlc/mxnet/module/DataParallelExecutorGroup.html @@ -1,19 +1,18 @@ + - - DataParallelExecutorGroup - ml.dmlc.mxnet.module.DataParallelExecutorGroup - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.module

    -

    DataParallelExecutorGroup

    Related Doc: - package module -

    - - Permalink - - -
    - -

    - - - class - - - DataParallelExecutorGroup extends AnyRef - -

    - -

    DataParallelExecutorGroup is a group of executors that lives on a group of devices. + + +

    +Class +

    ml.dmlc.mxnet.module

    +

    DataParallelExecutorGroup

    Related Doc: + package module +

    + +Permalink + + +
    +

    + + +class + + +DataParallelExecutorGroup extends AnyRef + +

    +

    DataParallelExecutorGroup is a group of executors that lives on a group of devices. This is a helper class used to implement data parallelism. Each mini-batch will be split and run on the devices.

    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. DataParallelExecutorGroup
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - backward(outGrads: Array[NDArray] = null): Unit - -

      - - Permalink - - -

      Run backward on all devices.

      Run backward on all devices. A backward should be called after +Linear Supertypes +

      AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. DataParallelExecutorGroup
      2. AnyRef
      3. Any
      4. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +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. + + +

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      5. + + +

        + + +def + + +backward(outGrads: Array[NDArray] = null): Unit + +

        + +Permalink + + +

        Run backward on all devices.

        Run backward on all devices. A backward should be called after a call to the forward function. Backward cannot be called unless this.for_training is True.

        outGrads

        Gradient on the outputs to be propagated back. This parameter is only needed when bind is called on outputs that are not a loss function.

        -
      6. - - -

        - - - def - - - bindExec(dataShapes: Seq[DataDesc], labelShapes: Option[Seq[DataDesc]], sharedGroup: Option[DataParallelExecutorGroup]): Unit - -

        - - Permalink - - -

        Bind executors on their respective devices.

        Bind executors on their respective devices.

        dataShapes

        DataDesc for input data.

        labelShapes

        DataDesc for input labels.

        -
      7. - - -

        - - - def - - - clone(): AnyRef - -

        - - Permalink - - -
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      8. - - -

        - - final - def - - - eq(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      9. - - -

        - - - def - - - equals(arg0: Any): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      10. - - -

        - - - def - - - finalize(): Unit - -

        - - Permalink - - -
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - classOf[java.lang.Throwable] - ) - -
        -
      11. - - -

        - - - def - - - forward(dataBatch: DataBatch, isTrain: Option[Boolean] = None): Unit - -

        - - Permalink - - -

        Split dataBatch according to workload and run forward on each devices.

        Split dataBatch according to workload and run forward on each devices.

        isTrain

        The hint for the backend, indicating whether we are during training phase. +

      12. + + +

        + + +def + + +bindExec(dataShapes: Seq[DataDesc], labelShapes: Option[Seq[DataDesc]], sharedGroup: Option[DataParallelExecutorGroup], reshape: Boolean = false): Unit + +

        + +Permalink + + +

        Bind executors on their respective devices.

        Bind executors on their respective devices.

        dataShapes

        DataDesc for input data.

        labelShapes

        DataDesc for input labels.

        +
      13. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      14. + + +

        + +final +def + + +eq(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      15. + + +

        + + +def + + +equals(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      16. + + +

        + + +def + + +finalize(): Unit + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +classOf[java.lang.Throwable] +) +
        +
      17. + + +

        + + +def + + +forward(dataBatch: DataBatch, isTrain: Option[Boolean] = None): Unit + +

        + +Permalink + + +

        Split dataBatch according to workload and run forward on each devices.

        Split dataBatch according to workload and run forward on each devices.

        isTrain

        The hint for the backend, indicating whether we are during training phase. Default is None, then the value self.for_training will be used.

        -
      18. - - -

        - - - def - - - getBatchSize: Int - -

        - - Permalink - - - -
      19. - - -

        - - final - def - - - getClass(): Class[_] - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      20. - - -

        - - - def - - - getInputGrads(): IndexedSeq[IndexedSeq[NDArray]] - -

        - - Permalink - - -

        Get the gradients to the inputs, computed in the previous backward computation.

        Get the gradients to the inputs, computed in the previous backward computation.

        returns

        In the case when data-parallelism is used, +

      21. + + +

        + + +def + + +getBatchSize: Int + +

        + +Permalink + + +
      22. + + +

        + +final +def + + +getClass(): Class[_] + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      23. + + +

        + + +def + + +getInputGrads(): IndexedSeq[IndexedSeq[NDArray]] + +

        + +Permalink + + +

        Get the gradients to the inputs, computed in the previous backward computation.

        Get the gradients to the inputs, computed in the previous backward computation.

        returns

        In the case when data-parallelism is used, the grads will be collected from multiple devices. The results will look like grad1_dev2], [grad2_dev1, grad2_dev2, those NDArray might live on different devices.

        -
      24. - - -

        - - - def - - - getInputGradsMerged(): IndexedSeq[NDArray] - -

        - - Permalink - - -

        Get the gradients to the inputs, computed in the previous backward computation.

        Get the gradients to the inputs, computed in the previous backward computation.

        returns

        In the case when data-parallelism is used, +

      25. + + +

        + + +def + + +getInputGradsMerged(): IndexedSeq[NDArray] + +

        + +Permalink + + +

        Get the gradients to the inputs, computed in the previous backward computation.

        Get the gradients to the inputs, computed in the previous backward computation.

        returns

        In the case when data-parallelism is used, the grads will be merged from multiple devices, as they look like from a single executor. The results will look like [grad1, grad2]

        -
      26. - - -

        - - - def - - - getOutputShapes: IndexedSeq[(String, Shape)] - -

        - - Permalink - - - -
      27. - - -

        - - - def - - - getOutputs(): IndexedSeq[IndexedSeq[NDArray]] - -

        - - Permalink - - -

        Get outputs of the previous forward computation.

        Get outputs of the previous forward computation.

        returns

        In the case when data-parallelism is used, +

      28. + + +

        + + +def + + +getOutputShapes: IndexedSeq[(String, Shape)] + +

        + +Permalink + + +
      29. + + +

        + + +def + + +getOutputs(): IndexedSeq[IndexedSeq[NDArray]] + +

        + +Permalink + + +

        Get outputs of the previous forward computation.

        Get outputs of the previous forward computation.

        returns

        In the case when data-parallelism is used, the outputs will be collected from multiple devices. The results will look like out1_dev2], [out2_dev1, out2_dev2, those NDArray might live on different devices.

        -
      30. - - -

        - - - def - - - getOutputsMerged(): IndexedSeq[NDArray] - -

        - - Permalink - - -

        Get outputs of the previous forward computation.

        Get outputs of the previous forward computation.

        returns

        In the case when data-parallelism is used, +

      31. + + +

        + + +def + + +getOutputsMerged(): IndexedSeq[NDArray] + +

        + +Permalink + + +

        Get outputs of the previous forward computation.

        Get outputs of the previous forward computation.

        returns

        In the case when data-parallelism is used, the outputs will be merged from multiple devices, as they look like from a single executor. The results will look like [out1, out2]

        -
      32. - - -

        - - - def - - - getParams(argParams: Map[String, NDArray], auxParams: Map[String, NDArray]): Unit - -

        - - Permalink - - -

        Copy data from each executor to arg_params and aux_params.

        Copy data from each executor to arg_params and aux_params.

        argParams

        target parameter arrays

        auxParams

        target aux arrays +

      33. + + +

        + + +def + + +getParams(argParams: Map[String, NDArray], auxParams: Map[String, NDArray]): Unit + +

        + +Permalink + + +

        Copy data from each executor to arg_params and aux_params.

        Copy data from each executor to arg_params and aux_params.

        argParams

        target parameter arrays

        auxParams

        target aux arrays Note this function will inplace update the NDArrays in arg_params and aux_params.

        -
      34. - - -

        - - - def - - - hashCode(): Int - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      35. - - -

        - - - def - - - installMonitor(monitor: Monitor): Unit - -

        - - Permalink - - - -
      36. - - -

        - - final - def - - - isInstanceOf[T0]: Boolean - -

        - - Permalink - - -
        Definition Classes
        Any
        -
      37. - - -

        - - final - def - - - ne(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      38. - - -

        - - final - def - - - notify(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      39. - - -

        - - final - def - - - notifyAll(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      40. - - -

        - - - def - - - setParams(argParams: Map[String, NDArray], auxParams: Map[String, NDArray]): Unit - -

        - - Permalink - - -

        Assign, i.e.

        Assign, i.e. copy parameters to all the executors.

        argParams

        A dictionary of name to NDArray parameter mapping.

        auxParams

        A dictionary of name to NDArray auxiliary variable mapping.

        -
      41. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      42. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      43. - - -

        - - - def - - - updateMetric(evalMetric: EvalMetric, labels: IndexedSeq[NDArray]): Unit - -

        - - Permalink - - -

        Accumulate the performance according to eval_metric on all devices.

        Accumulate the performance according to eval_metric on all devices.

        evalMetric

        The metric used for evaluation.

        labels

        Typically comes from label of a DataBatch.

        -
      44. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      45. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      46. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      -
      - - - - -
      - -
      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +
    6. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    7. + + +

      + + +def + + +installMonitor(monitor: Monitor): Unit + +

      + +Permalink + + +
    8. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    9. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    10. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    11. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    12. + + +

      + + +def + + +reshape(dataShapes: Seq[DataDesc], labelShapes: Option[Seq[DataDesc]]): Unit + +

      + +Permalink + + +

      Reshape executors.

      +
    13. + + +

      + + +def + + +setParams(argParams: Map[String, NDArray], auxParams: Map[String, NDArray], allowExtra: Boolean = false): Unit + +

      + +Permalink + + +

      Assign, i.e.

      Assign, i.e. copy parameters to all the executors.

      argParams

      A dictionary of name to NDArray parameter mapping.

      auxParams

      A dictionary of name to NDArray auxiliary variable mapping.

      allowExtra

      hether allow extra parameters that are not needed by symbol. + If this is True, no error will be thrown when argParams or auxParams + contain extra parameters that is not needed by the executor.

      +
    14. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    16. + + +

      + + +def + + +updateMetric(evalMetric: EvalMetric, labels: IndexedSeq[NDArray]): Unit + +

      + +Permalink + + +

      Accumulate the performance according to eval_metric on all devices.

      Accumulate the performance according to eval_metric on all devices.

      evalMetric

      The metric used for evaluation.

      labels

      Typically comes from label of a DataBatch.

      +
    17. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    18. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    19. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/module/FitParams.html b/api/scala/docs/ml/dmlc/mxnet/module/FitParams.html index b26a3fdacf27..341f56e655e0 100644 --- a/api/scala/docs/ml/dmlc/mxnet/module/FitParams.html +++ b/api/scala/docs/ml/dmlc/mxnet/module/FitParams.html @@ -1,19 +1,18 @@ + - - FitParams - ml.dmlc.mxnet.module.FitParams - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.module

    -

    FitParams

    Related Doc: - package module -

    - - Permalink - - -
    - -

    - - - class - - - FitParams extends AnyRef - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. FitParams
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - FitParams() - -

      - - Permalink - - - -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    12. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    13. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - - def - - - setAllowMissing(allowMissing: Boolean): FitParams - -

      - - Permalink - - - -
    16. - - -

      - - - def - - - setArgParams(argParams: Map[String, NDArray]): FitParams - -

      - - Permalink - - - -
    17. - - -

      - - - def - - - setAuxParams(auxParams: Map[String, NDArray]): FitParams - -

      - - Permalink - - - -
    18. - - -

      - - - def - - - setBatchEndCallback(batchEndCallback: BatchEndCallback): FitParams - -

      - - Permalink - - - -
    19. - - -

      - - - def - - - setBeginEpoch(beginEpoch: Int): FitParams - -

      - - Permalink - - - -
    20. - - -

      - - - def - - - setEpochEndCallback(epochEndCallback: EpochEndCallback): FitParams - -

      - - Permalink - - - -
    21. - - -

      - - - def - - - setEvalBatchEndCallback(evalBatchEndCallback: BatchEndCallback): FitParams - -

      - - Permalink - - - -
    22. - - -

      - - - def - - - setEvalEndCallback(evalEndCallback: BatchEndCallback): FitParams - -

      - - Permalink - - - -
    23. - - -

      - - - def - - - setEvalMetric(evalMetric: EvalMetric): FitParams - -

      - - Permalink - - - -
    24. - - -

      - - - def - - - setForceInit(forceInit: Boolean): FitParams - -

      - - Permalink - - - -
    25. - - -

      - - - def - - - setForceRebind(forceRebind: Boolean): FitParams - -

      - - Permalink - - - -
    26. - - -

      - - - def - - - setInitializer(initializer: Initializer): FitParams - -

      - - Permalink - - - -
    27. - - -

      - - - def - - - setKVStore(kvStore: String): FitParams - -

      - - Permalink - - - -
    28. - - -

      - - - def - - - setMonitor(monitor: Monitor): FitParams - -

      - - Permalink - - - -
    29. - - -

      - - - def - - - setOptimizer(optimizer: Optimizer): FitParams - -

      - - Permalink - - - -
    30. - - -

      - - - def - - - setValidationMetric(metric: EvalMetric): FitParams - -

      - - Permalink - - - -
    31. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    32. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    33. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    34. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    35. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Class +

    ml.dmlc.mxnet.module

    +

    FitParams

    Related Doc: + package module +

    + +Permalink + + +
    +

    + + +class + + +FitParams extends AnyRef + +

    +
    +Linear Supertypes +
    AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. FitParams
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +FitParams() + +

      + +Permalink + + +
    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    12. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    13. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    14. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    15. + + +

      + + +def + + +setAllowMissing(allowMissing: Boolean): FitParams + +

      + +Permalink + + +
    16. + + +

      + + +def + + +setArgParams(argParams: Map[String, NDArray]): FitParams + +

      + +Permalink + + +
    17. + + +

      + + +def + + +setAuxParams(auxParams: Map[String, NDArray]): FitParams + +

      + +Permalink + + +
    18. + + +

      + + +def + + +setBatchEndCallback(batchEndCallback: BatchEndCallback): FitParams + +

      + +Permalink + + +
    19. + + +

      + + +def + + +setBeginEpoch(beginEpoch: Int): FitParams + +

      + +Permalink + + +
    20. + + +

      + + +def + + +setEpochEndCallback(epochEndCallback: EpochEndCallback): FitParams + +

      + +Permalink + + +
    21. + + +

      + + +def + + +setEvalBatchEndCallback(evalBatchEndCallback: BatchEndCallback): FitParams + +

      + +Permalink + + +
    22. + + +

      + + +def + + +setEvalEndCallback(evalEndCallback: BatchEndCallback): FitParams + +

      + +Permalink + + +
    23. + + +

      + + +def + + +setEvalMetric(evalMetric: EvalMetric): FitParams + +

      + +Permalink + + +
    24. + + +

      + + +def + + +setForceInit(forceInit: Boolean): FitParams + +

      + +Permalink + + +
    25. + + +

      + + +def + + +setForceRebind(forceRebind: Boolean): FitParams + +

      + +Permalink + + +
    26. + + +

      + + +def + + +setInitializer(initializer: Initializer): FitParams + +

      + +Permalink + + +
    27. + + +

      + + +def + + +setKVStore(kvStore: String): FitParams + +

      + +Permalink + + +
    28. + + +

      + + +def + + +setMonitor(monitor: Monitor): FitParams + +

      + +Permalink + + +
    29. + + +

      + + +def + + +setOptimizer(optimizer: Optimizer): FitParams + +

      + +Permalink + + +
    30. + + +

      + + +def + + +setValidationMetric(metric: EvalMetric): FitParams + +

      + +Permalink + + +
    31. + + +

      + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    32. + + +

      + + +def + + +toString(): String + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    33. + + +

      + +final +def + + +wait(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    34. + + +

      + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    35. + + +

      + +final +def + + +wait(arg0: Long): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/module/Module$.html b/api/scala/docs/ml/dmlc/mxnet/module/Module$.html index 904f77e65919..246da37b4866 100644 --- a/api/scala/docs/ml/dmlc/mxnet/module/Module$.html +++ b/api/scala/docs/ml/dmlc/mxnet/module/Module$.html @@ -1,19 +1,18 @@ + - - Module - ml.dmlc.mxnet.module.Module - - - - - - - - - - - - + + + + - - - -
    - Object/Class -

    ml.dmlc.mxnet.module

    -

    Module

    + + +
    +Object/Class +

    ml.dmlc.mxnet.module

    +

    Module

    Related Docs: class Module - | package module -

    - - Permalink - - -
    - -

    - - - object - - - Module - -

    - -
    - Linear Supertypes -
    AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Module
    2. AnyRef
    3. Any
    4. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - 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. - - -

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    7. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    8. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    9. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    10. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    12. - - -

      - - - def - - - loadCheckpoint(prefix: String, epoch: Int, loadOptimizerStates: Boolean = false, dataNames: IndexedSeq[String] = IndexedSeq("data"), labelNames: IndexedSeq[String] = IndexedSeq("softmax_label"), contexts: Array[Context] = Context.cpu(), workLoadList: Option[IndexedSeq[Float]] = None, fixedParamNames: Option[Set[String]] = None): Module - -

      - - Permalink - - -

      Create a model from previously saved checkpoint.

      Create a model from previously saved checkpoint.

      prefix

      Path prefix of saved model files. You should have "prefix-symbol.json", - "prefix-xxxx.params", and optionally "prefix-xxxx.states", + | package module +

    + +Permalink + + +
    +

    + + +object + + +Module + +

    +
    +Linear Supertypes +
    AnyRef, Any
    +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Module
    2. AnyRef
    3. Any
    4. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +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. + + +

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    7. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    8. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    9. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    10. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    12. + + +

      + + +def + + +loadCheckpoint(prefix: String, epoch: Int, loadOptimizerStates: Boolean = false, dataNames: IndexedSeq[String] = IndexedSeq("data"), labelNames: IndexedSeq[String] = IndexedSeq("softmax_label"), contexts: Array[Context] = Context.cpu(), workLoadList: Option[IndexedSeq[Float]] = None, fixedParamNames: Option[Set[String]] = None): Module + +

      + +Permalink + + +

      Create a model from previously saved checkpoint.

      Create a model from previously saved checkpoint.

      prefix

      Path prefix of saved model files. You should have "prefix-symbol.json", + "prefix-xxxx.params", and optionally "prefix-xxxx.states", where xxxx is the epoch number.

      epoch

      Epoch to load.

      loadOptimizerStates

      Whether to load optimizer states. Checkpoint needs to have been made with saveOptimizerStates=True

      dataNames

      Input data names.

      labelNames

      Input label names

      contexts

      Default is cpu().

      workLoadList

      Default None, indicating uniform workload.

      fixedParamNames

      Default None, indicating no network parameters are fixed.

      -
    13. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    15. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    16. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    17. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    18. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    19. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    20. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    -
    - - - - -
    - -
    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +
  • + + +

    + +final +def + + +ne(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notify(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notifyAll(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • +
    +
    +
    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/module/Module.html b/api/scala/docs/ml/dmlc/mxnet/module/Module.html index 9b7cc0e35ffc..020562fa47ba 100644 --- a/api/scala/docs/ml/dmlc/mxnet/module/Module.html +++ b/api/scala/docs/ml/dmlc/mxnet/module/Module.html @@ -1,19 +1,18 @@ + - - Module - ml.dmlc.mxnet.module.Module - - - - - - - - - - - - + + + + - - - -
    - Class/Object -

    ml.dmlc.mxnet.module

    -

    Module

    + + +
    +Class/Object +

    ml.dmlc.mxnet.module

    +

    Module

    Related Docs: object Module - | package module -

    - - Permalink - - -
    - -

    - - - class - - - Module extends BaseModule - -

    - -

    Module is a basic module that wrap a Symbol. It is functionally the same + | package module +

    + +Permalink + + +
    +

    + + +class + + +Module extends BaseModule + +

    +

    Module is a basic module that wrap a Symbol. It is functionally the same as the FeedForward model, except under the module API.

    - Linear Supertypes -
    BaseModule, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Module
    2. BaseModule
    3. AnyRef
    4. Any
    5. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - Module(symbolVar: Symbol, dataNames: IndexedSeq[String] = IndexedSeq("data"), labelNames: IndexedSeq[String] = IndexedSeq("softmax_label"), contexts: Array[Context] = Context.cpu(), workLoadList: Option[IndexedSeq[Float]] = None, fixedParamNames: Option[Set[String]] = None) - -

      - - Permalink - - -

      symbolVar

      : Symbol definition.

      dataNames

      Input data names.

      labelNames

      Input label names

      contexts

      Default is cpu().

      workLoadList

      Default None, indicating uniform workload.

      fixedParamNames

      Default None, indicating no network parameters are fixed.

      -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - backward(outGrads: Array[NDArray] = null): Unit - -

      - - Permalink - - -

      Backward computation.

      Backward computation.

      outGrads

      Gradient on the outputs to be propagated back. +Linear Supertypes +

      BaseModule, AnyRef, Any
      +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. Module
    2. BaseModule
    3. AnyRef
    4. Any
    5. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +Module(symbolVar: Symbol, dataNames: IndexedSeq[String] = IndexedSeq("data"), labelNames: IndexedSeq[String] = IndexedSeq("softmax_label"), contexts: Array[Context] = Context.cpu(), workLoadList: Option[IndexedSeq[Float]] = None, fixedParamNames: Option[Set[String]] = None) + +

      + +Permalink + + +

      symbolVar

      : Symbol definition.

      dataNames

      Input data names.

      labelNames

      Input label names

      contexts

      Default is cpu().

      workLoadList

      Default None, indicating uniform workload.

      fixedParamNames

      Default None, indicating no network parameters are fixed.

      +
    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +backward(outGrads: Array[NDArray] = null): Unit + +

      + +Permalink + + +

      Backward computation.

      Backward computation.

      outGrads

      Gradient on the outputs to be propagated back. This parameter is only needed when bind is called - on outputs that are not a loss function.

      Definition Classes
      ModuleBaseModule
      -
    6. - - -

      - - - def - - - bind(dataShapes: IndexedSeq[DataDesc], labelShapes: Option[IndexedSeq[DataDesc]] = None, forTraining: Boolean = true, inputsNeedGrad: Boolean = false, forceRebind: Boolean = false, sharedModule: Option[BaseModule] = None, gradReq: String = "write"): Unit - -

      - - Permalink - - -

      Bind the symbols to construct executors.

      Bind the symbols to construct executors. This is necessary before one + on outputs that are not a loss function.

      Definition Classes
      ModuleBaseModule
      +
    7. + + +

      + + +def + + +bind(dataShapes: IndexedSeq[DataDesc], labelShapes: Option[IndexedSeq[DataDesc]] = None, forTraining: Boolean = true, inputsNeedGrad: Boolean = false, forceRebind: Boolean = false, sharedModule: Option[BaseModule] = None, gradReq: String = "write"): Unit + +

      + +Permalink + + +

      Bind the symbols to construct executors.

      Bind the symbols to construct executors. This is necessary before one can perform computation with the module.

      dataShapes

      Typically is dataIter.provideData.

      labelShapes

      Typically is data_iter.provide_label.

      forTraining

      Default is true. Whether the executors should be bind for training.

      inputsNeedGrad

      Default is false. Whether the gradients to the input data need to be computed. Typically this is not needed. @@ -231,868 +218,883 @@

      a different bucket -- a module with different symbol but with the same sets of parameters (e.g. unrolled RNNs with different lengths).

      gradReq

      Requirement for gradient accumulation (globally). - Can be 'write', 'add', or 'null' (default to 'write').

      Definition Classes
      ModuleBaseModule
      -
    8. - - -

      - - - def - - - borrowOptimizer(sharedModule: Module): Unit - -

      - - Permalink - - -

      Borrow optimizer from a shared module.

      Borrow optimizer from a shared module. Used in bucketing, where exactly the same + Can be 'write', 'add', or 'null' (default to 'write').

      Definition Classes
      ModuleBaseModule
      +
    9. + + +

      + + +def + + +borrowOptimizer(sharedModule: Module): Unit + +

      + +Permalink + + +

      Borrow optimizer from a shared module.

      Borrow optimizer from a shared module. Used in bucketing, where exactly the same optimizer (esp. kvstore) is used.

      -
    10. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    11. - - -

      - - - val - - - dataNames: IndexedSeq[String] - -

      - - Permalink - - -

      Input data names.

      Input data names.

      Definition Classes
      ModuleBaseModule
      -
    12. - - -

      - - - def - - - dataShapes: IndexedSeq[DataDesc] - -

      - - Permalink - - -
      Definition Classes
      ModuleBaseModule
      -
    13. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    14. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    15. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    16. - - -

      - - - def - - - fit(trainData: DataIter, evalData: Option[DataIter] = None, numEpoch: Int = 1, fitParams: FitParams = new FitParams): Unit - -

      - - Permalink - - -

      Train the module parameters.

      Train the module parameters.

      evalData

      If not None, will be used as validation set and evaluate - the performance after each epoch.

      numEpoch

      Number of epochs to run training.

      fitParams

      Extra parameters for training.

      Definition Classes
      BaseModule
      -
    17. - - -

      - - - def - - - forward(dataBatch: DataBatch, isTrain: Option[Boolean] = None): Unit - -

      - - Permalink - - -

      Forward computation.

      Forward computation.

      dataBatch

      input data

      isTrain

      Default is None, which means is_train takes the value of for_training.

      Definition Classes
      ModuleBaseModule
      -
    18. - - -

      - - - def - - - forwardBackward(dataBatch: DataBatch): Unit - -

      - - Permalink - - -
      Definition Classes
      BaseModule
      -
    19. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    20. - - -

      - - - def - - - getInputGrads(): IndexedSeq[IndexedSeq[NDArray]] - -

      - - Permalink - - -

      Get the gradients to the inputs, computed in the previous backward computation.

      Get the gradients to the inputs, computed in the previous backward computation.

      returns

      In the case when data-parallelism is used, +

    21. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    22. + + +

      + + +val + + +dataNames: IndexedSeq[String] + +

      + +Permalink + + +

      Input data names.

      Input data names.

      Definition Classes
      ModuleBaseModule
      +
    23. + + +

      + + +def + + +dataShapes: IndexedSeq[DataDesc] + +

      + +Permalink + + +
      Definition Classes
      ModuleBaseModule
      +
    24. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    25. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    26. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    27. + + +

      + + +def + + +fit(trainData: DataIter, evalData: Option[DataIter] = None, numEpoch: Int = 1, fitParams: FitParams = new FitParams): Unit + +

      + +Permalink + + +

      Train the module parameters.

      Train the module parameters.

      evalData

      If not None, will be used as validation set and evaluate + the performance after each epoch.

      numEpoch

      Number of epochs to run training.

      fitParams

      Extra parameters for training.

      Definition Classes
      BaseModule
      +
    28. + + +

      + + +def + + +forward(dataBatch: DataBatch, isTrain: Option[Boolean] = None): Unit + +

      + +Permalink + + +

      Forward computation.

      Forward computation.

      dataBatch

      input data

      isTrain

      Default is None, which means is_train takes the value of for_training.

      Definition Classes
      ModuleBaseModule
      +
    29. + + +

      + + +def + + +forwardBackward(dataBatch: DataBatch): Unit + +

      + +Permalink + + +
      Definition Classes
      BaseModule
      +
    30. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    31. + + +

      + + +def + + +getInputGrads(): IndexedSeq[IndexedSeq[NDArray]] + +

      + +Permalink + + +

      Get the gradients to the inputs, computed in the previous backward computation.

      Get the gradients to the inputs, computed in the previous backward computation.

      returns

      In the case when data-parallelism is used, the grads will be collected from multiple devices. The results will look like grad1_dev2], [grad2_dev1, grad2_dev2, - those NDArray might live on different devices.

      Definition Classes
      ModuleBaseModule
      -
    32. - - -

      - - - def - - - getInputGradsMerged(): IndexedSeq[NDArray] - -

      - - Permalink - - -

      Get the gradients to the inputs, computed in the previous backward computation.

      Get the gradients to the inputs, computed in the previous backward computation.

      returns

      In the case when data-parallelism is used, + those NDArray might live on different devices.

      Definition Classes
      ModuleBaseModule
      +
    33. + + +

      + + +def + + +getInputGradsMerged(): IndexedSeq[NDArray] + +

      + +Permalink + + +

      Get the gradients to the inputs, computed in the previous backward computation.

      Get the gradients to the inputs, computed in the previous backward computation.

      returns

      In the case when data-parallelism is used, the grads will be merged from multiple devices, as they look like from a single executor. - The results will look like [grad1, grad2]

      Definition Classes
      ModuleBaseModule
      -
    34. - - -

      - - - def - - - getOutputs(): IndexedSeq[IndexedSeq[NDArray]] - -

      - - Permalink - - -

      Get outputs of the previous forward computation.

      Get outputs of the previous forward computation.

      returns

      In the case when data-parallelism is used, + The results will look like [grad1, grad2]

      Definition Classes
      ModuleBaseModule
      +
    35. + + +

      + + +def + + +getOutputs(): IndexedSeq[IndexedSeq[NDArray]] + +

      + +Permalink + + +

      Get outputs of the previous forward computation.

      Get outputs of the previous forward computation.

      returns

      In the case when data-parallelism is used, the outputs will be collected from multiple devices. The results will look like out1_dev2], [out2_dev1, out2_dev2, - those NDArray might live on different devices.

      Definition Classes
      ModuleBaseModule
      -
    36. - - -

      - - - def - - - getOutputsMerged(): IndexedSeq[NDArray] - -

      - - Permalink - - -

      Get outputs of the previous forward computation.

      Get outputs of the previous forward computation.

      returns

      In the case when data-parallelism is used, + those NDArray might live on different devices.

      Definition Classes
      ModuleBaseModule
      +
    37. + + +

      + + +def + + +getOutputsMerged(): IndexedSeq[NDArray] + +

      + +Permalink + + +

      Get outputs of the previous forward computation.

      Get outputs of the previous forward computation.

      returns

      In the case when data-parallelism is used, the outputs will be merged from multiple devices, as they look like from a single executor. - The results will look like [out1, out2]

      Definition Classes
      ModuleBaseModule
      -
    38. - - -

      - - - def - - - getParams: (Map[String, NDArray], Map[String, NDArray]) - -

      - - Permalink - - -

      Get current parameters.

      Get current parameters. + The results will look like [out1, out2]

      Definition Classes
      ModuleBaseModule
      +
    39. + + +

      + + +def + + +getParams: (Map[String, NDArray], Map[String, NDArray]) + +

      + +Permalink + + +

      Get current parameters.

      Get current parameters. (arg_params, aux_params), each a dictionary of name to parameters (in -NDArray) mapping.

      returns

      (arg_params, aux_params), a pair of dictionary of name to value mapping.

      Definition Classes
      ModuleBaseModule
      -
    40. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    41. - - -

      - - - def - - - initOptimizer(kvstore: String = "local", optimizer: Optimizer = new SGD(), resetOptimizer: Boolean = true, forceInit: Boolean = false): Unit - -

      - - Permalink - - -

      Install and initialize optimizers.

      Install and initialize optimizers.

      resetOptimizer

      Default True, indicating whether we should set rescaleGrad +NDArray) mapping.

      returns

      (argParams, auxParams), a pair of dictionary of name to value mapping.

      Definition Classes
      ModuleBaseModule
    +
  • + + +

    + + +def + + +getSymbol: Symbol + +

    + +Permalink + + +
    Definition Classes
    BaseModule
    +
  • + + +

    + + +def + + +hashCode(): Int + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +initOptimizer(kvstore: String = "local", optimizer: Optimizer = new SGD(), resetOptimizer: Boolean = true, forceInit: Boolean = false): Unit + +

    + +Permalink + + +

    Install and initialize optimizers.

    Install and initialize optimizers.

    resetOptimizer

    Default True, indicating whether we should set rescaleGrad & idx2name for optimizer according to executorGroup

    forceInit

    Default False, indicating whether we should force re-initializing - the optimizer in the case an optimizer is already installed.

    Definition Classes
    ModuleBaseModule
    -
  • - - -

    - - - def - - - initParams(initializer: Initializer = new Uniform(0.01f), argParams: Map[String, NDArray] = null, auxParams: Map[String, NDArray] = null, allowMissing: Boolean = false, forceInit: Boolean = false): Unit - -

    - - Permalink - - -

    Initialize the parameters and auxiliary states.

    Initialize the parameters and auxiliary states.

    initializer

    Called to initialize parameters if needed.

    argParams

    If not None, should be a dictionary of existing arg_params. + the optimizer in the case an optimizer is already installed.

    Definition Classes
    ModuleBaseModule
    +
  • + + +

    + + +def + + +initParams(initializer: Initializer = new Uniform(0.01f), argParams: Map[String, NDArray] = null, auxParams: Map[String, NDArray] = null, allowMissing: Boolean = false, forceInit: Boolean = false, allowExtra: Boolean = false): Unit + +

    + +Permalink + + +

    Initialize the parameters and auxiliary states.

    Initialize the parameters and auxiliary states.

    initializer

    Called to initialize parameters if needed.

    argParams

    If not None, should be a dictionary of existing arg_params. Initialization will be copied from that.

    auxParams

    If not None, should be a dictionary of existing aux_params. Initialization will be copied from that.

    allowMissing

    If true, params could contain missing values, - and the initializer will be called to fill those missing params.

    forceInit

    If true, will force re-initialize even if already initialized.

    Definition Classes
    ModuleBaseModule
    -
  • - - -

    - - - def - - - installMonitor(monitor: Monitor): Unit - -

    - - Permalink - - -
    Definition Classes
    ModuleBaseModule
    -
  • - - -

    - - final - def - - - isInstanceOf[T0]: Boolean - -

    - - Permalink - - -
    Definition Classes
    Any
    -
  • - - -

    - - - def - - - labelShapes: IndexedSeq[DataDesc] - -

    - - Permalink - - -

    A list of (name, shape) pairs specifying the label inputs to this module.

    A list of (name, shape) pairs specifying the label inputs to this module. + and the initializer will be called to fill those missing params.

    forceInit

    If true, will force re-initialize even if already initialized.

    allowExtra

    Whether allow extra parameters that are not needed by symbol. + If this is True, no error will be thrown when argParams or auxParams + contain extra parameters that is not needed by the executor.

    Definition Classes
    ModuleBaseModule
    +
  • + + +

    + + +def + + +installMonitor(monitor: Monitor): Unit + +

    + +Permalink + + +
    Definition Classes
    ModuleBaseModule
    +
  • + + +

    + +final +def + + +isInstanceOf[T0]: Boolean + +

    + +Permalink + + +
    Definition Classes
    Any
    +
  • + + +

    + + +def + + +labelShapes: IndexedSeq[DataDesc] + +

    + +Permalink + + +

    A list of (name, shape) pairs specifying the label inputs to this module.

    A list of (name, shape) pairs specifying the label inputs to this module. If this module does not accept labels -- either it is a module without loss function, or it is not binded for training, then this should return an empty list []. -

    Definition Classes
    ModuleBaseModule
    -
  • - - -

    - - - def - - - loadOptimizerStates(fname: String): Unit - -

    - - Permalink - - -

    Load optimizer (updater) state from file

    Load optimizer (updater) state from file

    fname

    Path to input states file.

    -
  • - - -

    - - - def - - - loadParams(fname: String): Unit - -

    - - Permalink - - -

    Load model parameters from file.

    Load model parameters from file.

    fname

    Path to input param file.

    Definition Classes
    BaseModule
    Annotations
    - @throws( - - classOf[IOException] - ) - -
    Exceptions thrown

    IOException if param file is invalid

    -
  • - - -

    - - final - def - - - ne(arg0: AnyRef): Boolean - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    -
  • - - -

    - - final - def - - - notify(): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    -
  • - - -

    - - final - def - - - notifyAll(): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    -
  • - - -

    - - - def - - - outputNames: IndexedSeq[String] - -

    - - Permalink - - -
    Definition Classes
    ModuleBaseModule
    -
  • - - -

    - - - def - - - outputShapes: IndexedSeq[(String, Shape)] - -

    - - Permalink - - -
    Definition Classes
    ModuleBaseModule
    -
  • - - -

    - - - def - - - predict(evalData: DataIter, numBatch: Int = 1, reset: Boolean = true): IndexedSeq[NDArray] - -

    - - Permalink - - -

    Run prediction and collect the outputs.

    Run prediction and collect the outputs.

    numBatch

    Default is -1, indicating running all the batches in the data iterator.

    reset

    Default is True, indicating whether we should reset the data iter before start +

    Definition Classes
    ModuleBaseModule
  • +
  • + + +

    + + +def + + +loadOptimizerStates(fname: String): Unit + +

    + +Permalink + + +

    Load optimizer (updater) state from file

    Load optimizer (updater) state from file

    fname

    Path to input states file.

    +
  • + + +

    + + +def + + +loadParams(fname: String): Unit + +

    + +Permalink + + +

    Load model parameters from file.

    Load model parameters from file.

    fname

    Path to input param file.

    Definition Classes
    BaseModule
    Annotations
    +@throws( +classOf[IOException] +) +
    Exceptions thrown

    IOException if param file is invalid

    +
  • + + +

    + +final +def + + +ne(arg0: AnyRef): Boolean + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notify(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + +final +def + + +notifyAll(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +outputNames: IndexedSeq[String] + +

    + +Permalink + + +
    Definition Classes
    ModuleBaseModule
    +
  • + + +

    + + +def + + +outputShapes: IndexedSeq[(String, Shape)] + +

    + +Permalink + + +
    Definition Classes
    ModuleBaseModule
    +
  • + + +

    + + +def + + +predict(evalData: DataIter, numBatch: Int = 1, reset: Boolean = true): IndexedSeq[NDArray] + +

    + +Permalink + + +

    Run prediction and collect the outputs.

    Run prediction and collect the outputs.

    numBatch

    Default is -1, indicating running all the batches in the data iterator.

    reset

    Default is True, indicating whether we should reset the data iter before start doing prediction.

    returns

    The return value will be a list [out1, out2, out3]. - Where each element is concatenation of the outputs for all the mini-batches.

    Definition Classes
    BaseModule
    -
  • - - -

    - - - def - - - predict(batch: DataBatch): IndexedSeq[NDArray] - -

    - - Permalink - - -
    Definition Classes
    BaseModule
    -
  • - - -

    - - - def - - - predictEveryBatch(evalData: DataIter, numBatch: Int = 1, reset: Boolean = true): IndexedSeq[IndexedSeq[NDArray]] - -

    - - Permalink - - -

    Run prediction and collect the outputs.

    Run prediction and collect the outputs.

    numBatch

    Default is -1, indicating running all the batches in the data iterator.

    reset

    Default is True, indicating whether we should reset the data iter before start + Where each element is concatenation of the outputs for all the mini-batches.

    Definition Classes
    BaseModule
    +
  • + + +

    + + +def + + +predict(batch: DataBatch): IndexedSeq[NDArray] + +

    + +Permalink + + +
    Definition Classes
    BaseModule
    +
  • + + +

    + + +def + + +predictEveryBatch(evalData: DataIter, numBatch: Int = 1, reset: Boolean = true): IndexedSeq[IndexedSeq[NDArray]] + +

    + +Permalink + + +

    Run prediction and collect the outputs.

    Run prediction and collect the outputs.

    numBatch

    Default is -1, indicating running all the batches in the data iterator.

    reset

    Default is True, indicating whether we should reset the data iter before start doing prediction.

    returns

    The return value will be a nested list like out2_batch1, ...], [out1_batch2, out2_batch2, ... This mode is useful because in some cases (e.g. bucketing), - the module does not necessarily produce the same number of outputs.

    Definition Classes
    BaseModule
    -
  • - - -

    - - - def - - - saveCheckpoint(prefix: String, epoch: Int, saveOptStates: Boolean = false): Unit - -

    - - Permalink - - -

    Save current progress to checkpoint.

    Save current progress to checkpoint. + the module does not necessarily produce the same number of outputs.

    Definition Classes
    BaseModule
    +
  • + + +

    + + +def + + +reshape(dataShapes: IndexedSeq[DataDesc], labelShapes: Option[IndexedSeq[DataDesc]] = None): Unit + +

    + +Permalink + + +

    Reshapes the module for new input shapes.

    Reshapes the module for new input shapes.

    dataShapes

    Typically is dataIter.provideData.

    labelShapes

    Typically is dataIter.provideLabel.

    +
  • + + +

    + + +def + + +saveCheckpoint(prefix: String, epoch: Int, saveOptStates: Boolean = false): Unit + +

    + +Permalink + + +

    Save current progress to checkpoint.

    Save current progress to checkpoint. Use mx.callback.module_checkpoint as epoch_end_callback to save during training.

    prefix

    The file prefix to checkpoint to

    epoch

    The current epoch number

    saveOptStates

    Whether to save optimizer states for continue training

    -
  • - - -

    - - - def - - - saveOptimizerStates(fname: String): Unit - -

    - - Permalink - - -

    Save optimizer (updater) state to file

    Save optimizer (updater) state to file

    fname

    Path to output states file.

    -
  • - - -

    - - - def - - - saveParams(fname: String): Unit - -

    - - Permalink - - -

    Save model parameters to file.

    Save model parameters to file.

    fname

    Path to output param file.

    Definition Classes
    BaseModule
    -
  • - - -

    - - - def - - - score(evalData: DataIter, evalMetric: EvalMetric, numBatch: Int = Integer.MAX_VALUE, batchEndCallback: Option[BatchEndCallback] = None, scoreEndCallback: Option[BatchEndCallback] = None, reset: Boolean = true, epoch: Int = 0): EvalMetric - -

    - - Permalink - - -

    Run prediction on eval_data and evaluate the performance according to eval_metric.

    Run prediction on eval_data and evaluate the performance according to eval_metric.

    evalData

    : DataIter

    evalMetric

    : EvalMetric

    numBatch

    Number of batches to run. Default is Integer.MAX_VALUE, +

  • + + +

    + + +def + + +saveOptimizerStates(fname: String): Unit + +

    + +Permalink + + +

    Save optimizer (updater) state to file

    Save optimizer (updater) state to file

    fname

    Path to output states file.

    +
  • + + +

    + + +def + + +saveParams(fname: String): Unit + +

    + +Permalink + + +

    Save model parameters to file.

    Save model parameters to file.

    fname

    Path to output param file.

    Definition Classes
    BaseModule
    +
  • + + +

    + + +def + + +score(evalData: DataIter, evalMetric: EvalMetric, numBatch: Int = Integer.MAX_VALUE, batchEndCallback: Option[BatchEndCallback] = None, scoreEndCallback: Option[BatchEndCallback] = None, reset: Boolean = true, epoch: Int = 0): EvalMetric + +

    + +Permalink + + +

    Run prediction on eval_data and evaluate the performance according to eval_metric.

    Run prediction on eval_data and evaluate the performance according to eval_metric.

    evalData

    : DataIter

    evalMetric

    : EvalMetric

    numBatch

    Number of batches to run. Default is Integer.MAX_VALUE, indicating run until the DataIter finishes.

    batchEndCallback

    Could also be a list of functions.

    reset

    Default True, indicating whether we should reset eval_data before starting evaluating.

    epoch

    Default 0. For compatibility, this will be passed to callbacks (if any). - During training, this will correspond to the training epoch number.

    Definition Classes
    BaseModule
    -
  • - - -

    - - - def - - - setParams(argParams: Map[String, NDArray], auxParams: Map[String, NDArray], allowMissing: Boolean = false, forceInit: Boolean = true): Unit - -

    - - Permalink - - -

    Assign parameter and aux state values.

    Assign parameter and aux state values. - arg_params : dict + During training, this will correspond to the training epoch number.

    Definition Classes
    BaseModule
    +
  • + + +

    + + +def + + +setParams(argParams: Map[String, NDArray], auxParams: Map[String, NDArray], allowMissing: Boolean = false, forceInit: Boolean = true, allowExtra: Boolean = false): Unit + +

    + +Permalink + + +

    Assign parameter and aux state values.

    Assign parameter and aux state values. + argParams : dict Dictionary of name to value (NDArray) mapping. - aux_params : dict + auxParams : dict Dictionary of name to value (NDArray) mapping. - allow_missing : bool + allowMissing : bool If true, params could contain missing values, and the initializer will be called to fill those missing params. - force_init : bool + forceInit : bool If true, will force re-initialize even if already initialized. -

    Definition Classes
    BaseModule
    -
  • - - -

    - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    -
  • - - -

    - - - def - - - toString(): String - -

    - - Permalink - - -
    Definition Classes
    AnyRef → Any
    -
  • - - -

    - - - def - - - update(): Unit - -

    - - Permalink - - -
    Definition Classes
    ModuleBaseModule
    -
  • - - -

    - - - def - - - updateMetric(evalMetric: EvalMetric, labels: IndexedSeq[NDArray]): Unit - -

    - - Permalink - - -

    Evaluate and accumulate evaluation metric on outputs of the last forward computation.

    Evaluate and accumulate evaluation metric on outputs of the last forward computation.

    Definition Classes
    ModuleBaseModule
    -
  • - - -

    - - final - def - - - wait(): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    Annotations
    - @throws( - - ... - ) - -
    -
  • - - -

    - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    Annotations
    - @throws( - - ... - ) - -
    -
  • - - -

    - - final - def - - - wait(arg0: Long): Unit - -

    - - Permalink - - -
    Definition Classes
    AnyRef
    Annotations
    - @throws( - - ... - ) - -
    -
  • -
    - - - - -
    - -
    -
    -

    Inherited from BaseModule

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + allowExtra : bool + Whether allow extra parameters that are not needed by symbol. + If this is True, no error will be thrown when argParams or auxParams + contain extra parameters that is not needed by the executor. +

    Definition Classes
    BaseModule
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +update(): Unit + +

    + +Permalink + + +
    Definition Classes
    ModuleBaseModule
    +
  • + + +

    + + +def + + +updateMetric(evalMetric: EvalMetric, labels: IndexedSeq[NDArray]): Unit + +

    + +Permalink + + +

    Evaluate and accumulate evaluation metric on outputs of the last forward computation.

    Evaluate and accumulate evaluation metric on outputs of the last forward computation.

    Definition Classes
    ModuleBaseModule
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +
    +
    +

    Inherited from BaseModule

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/module/SequentialModule.html b/api/scala/docs/ml/dmlc/mxnet/module/SequentialModule.html index 9fbb35606384..1963509c8903 100644 --- a/api/scala/docs/ml/dmlc/mxnet/module/SequentialModule.html +++ b/api/scala/docs/ml/dmlc/mxnet/module/SequentialModule.html @@ -1,19 +1,18 @@ + - - SequentialModule - ml.dmlc.mxnet.module.SequentialModule - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.module

    -

    SequentialModule

    Related Doc: - package module -

    - - Permalink - - -
    - -

    - - - class - - - SequentialModule extends BaseModule - -

    - -

    A SequentialModule is a container module that can chain multiple modules together. + + +

    +Class +

    ml.dmlc.mxnet.module

    +

    SequentialModule

    Related Doc: + package module +

    + +Permalink + + +
    +

    + + +class + + +SequentialModule extends BaseModule + +

    +

    A SequentialModule is a container module that can chain multiple modules together. Note building a computation graph with this kind of imperative container is less flexible and less efficient than the symbolic graph. So this should be only used as a handy utility.

    - Linear Supertypes -
    BaseModule, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. SequentialModule
    2. BaseModule
    3. AnyRef
    4. Any
    5. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - SequentialModule() - -

      - - Permalink - - - -
    -
    - - - - - -
    -

    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 - - - add(module: BaseModule, kwargs: (String, Boolean)*): SequentialModule - -

      - - Permalink - - -

      Add a module to the chain.

      Add a module to the chain. +Linear Supertypes +

      BaseModule, AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. SequentialModule
      2. BaseModule
      3. AnyRef
      4. Any
      5. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Instance Constructors

      +
      1. + + +

        + + +new + + +SequentialModule() + +

        + +Permalink + + +
      +
      +
      +

      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 + + +add(module: BaseModule, kwargs: (String, Boolean)*): SequentialModule + +

        + +Permalink + + +

        Add a module to the chain.

        Add a module to the chain. An example of addinging two modules to a chain: val seqMod = new SequentialModule() seqMod.add(mod1).add(mod2)

        module

        The new module to add.

        kwargs

        All the keyword arguments are saved as meta information - for the added module. The currently known meta includes

        • "take_labels": indicating whether the module expect to + for the added module. The currently known meta includes

          • "take_labels": indicating whether the module expect to take labels when doing computation. Note any module in the chain can take labels (not necessarily only the top most one), and they all take the same labels passed from the original data batch for the SequentialModule.
        returns

        This function returns this to allow us to easily chain a series of add calls.

        -
      5. - - -

        - - final - def - - - asInstanceOf[T0]: T0 - -

        - - Permalink - - -
        Definition Classes
        Any
        -
      6. - - -

        - - - def - - - backward(outGrads: Array[NDArray] = null): Unit - -

        - - Permalink - - -

        Backward computation.

        Backward computation.

        outGrads

        Gradient on the outputs to be propagated back. +

      7. + + +

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      8. + + +

        + + +def + + +backward(outGrads: Array[NDArray] = null): Unit + +

        + +Permalink + + +

        Backward computation.

        Backward computation.

        outGrads

        Gradient on the outputs to be propagated back. This parameter is only needed when bind is called - on outputs that are not a loss function.

        Definition Classes
        SequentialModuleBaseModule
        -
      9. - - -

        - - - def - - - bind(dataShapes: IndexedSeq[DataDesc], labelShapes: Option[IndexedSeq[DataDesc]] = None, forTraining: Boolean = true, inputsNeedGrad: Boolean = false, forceRebind: Boolean = false, sharedModule: Option[BaseModule] = None, gradReq: String = "write"): Unit - -

        - - Permalink - - -

        Bind the symbols to construct executors.

        Bind the symbols to construct executors. This is necessary before one + on outputs that are not a loss function.

        Definition Classes
        SequentialModuleBaseModule
        +
      10. + + +

        + + +def + + +bind(dataShapes: IndexedSeq[DataDesc], labelShapes: Option[IndexedSeq[DataDesc]] = None, forTraining: Boolean = true, inputsNeedGrad: Boolean = false, forceRebind: Boolean = false, sharedModule: Option[BaseModule] = None, gradReq: String = "write"): Unit + +

        + +Permalink + + +

        Bind the symbols to construct executors.

        Bind the symbols to construct executors. This is necessary before one can perform computation with the module.

        dataShapes

        Typically is dataIter.provideData.

        labelShapes

        Typically is data_iter.provide_label.

        forTraining

        Default is true. Whether the executors should be bind for training.

        inputsNeedGrad

        Default is false. Whether the gradients to the input data need to be computed. Typically this is not needed. @@ -257,796 +243,794 @@

        a different bucket -- a module with different symbol but with the same sets of parameters (e.g. unrolled RNNs with different lengths).

        gradReq

        Requirement for gradient accumulation (globally). - Can be 'write', 'add', or 'null' (default to 'write').

        Definition Classes
        SequentialModuleBaseModule
        -
      11. - - -

        - - - def - - - clone(): AnyRef - -

        - - Permalink - - -
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      12. - - -

        - - - def - - - dataNames: IndexedSeq[String] - -

        - - Permalink - - -

        returns

        A list of names for data required by this module.

        Definition Classes
        SequentialModuleBaseModule
        -
      13. - - -

        - - - def - - - dataShapes: IndexedSeq[DataDesc] - -

        - - Permalink - - -

        Get data shapes.

        Get data shapes.

        returns

        The data shapes of the first module is the data shape of a SequentialModule.

        Definition Classes
        SequentialModuleBaseModule
        -
      14. - - -

        - - final - def - - - eq(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      15. - - -

        - - - def - - - equals(arg0: Any): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      16. - - -

        - - - def - - - finalize(): Unit - -

        - - Permalink - - -
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - classOf[java.lang.Throwable] - ) - -
        -
      17. - - -

        - - - def - - - fit(trainData: DataIter, evalData: Option[DataIter] = None, numEpoch: Int = 1, fitParams: FitParams = new FitParams): Unit - -

        - - Permalink - - -

        Train the module parameters.

        Train the module parameters.

        evalData

        If not None, will be used as validation set and evaluate - the performance after each epoch.

        numEpoch

        Number of epochs to run training.

        fitParams

        Extra parameters for training.

        Definition Classes
        BaseModule
        -
      18. - - -

        - - - def - - - forward(dataBatch: DataBatch, isTrain: Option[Boolean] = None): Unit - -

        - - Permalink - - -

        Forward computation.

        Forward computation.

        dataBatch

        input data

        isTrain

        Default is None, which means isTrain takes the value of forTraining.

        Definition Classes
        SequentialModuleBaseModule
        -
      19. - - -

        - - - def - - - forwardBackward(dataBatch: DataBatch): Unit - -

        - - Permalink - - -
        Definition Classes
        BaseModule
        -
      20. - - -

        - - final - def - - - getClass(): Class[_] - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      21. - - -

        - - - def - - - getInputGrads(): IndexedSeq[IndexedSeq[NDArray]] - -

        - - Permalink - - -

        Get the gradients to the inputs, computed in the previous backward computation.

        Get the gradients to the inputs, computed in the previous backward computation.

        returns

        In the case when data-parallelism is used, + Can be 'write', 'add', or 'null' (default to 'write').

        Definition Classes
        SequentialModuleBaseModule
        +
      22. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      23. + + +

        + + +def + + +dataNames: IndexedSeq[String] + +

        + +Permalink + + +

        returns

        A list of names for data required by this module.

        Definition Classes
        SequentialModuleBaseModule
        +
      24. + + +

        + + +def + + +dataShapes: IndexedSeq[DataDesc] + +

        + +Permalink + + +

        Get data shapes.

        Get data shapes.

        returns

        The data shapes of the first module is the data shape of a SequentialModule.

        Definition Classes
        SequentialModuleBaseModule
        +
      25. + + +

        + +final +def + + +eq(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      26. + + +

        + + +def + + +equals(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      27. + + +

        + + +def + + +finalize(): Unit + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +classOf[java.lang.Throwable] +) +
        +
      28. + + +

        + + +def + + +fit(trainData: DataIter, evalData: Option[DataIter] = None, numEpoch: Int = 1, fitParams: FitParams = new FitParams): Unit + +

        + +Permalink + + +

        Train the module parameters.

        Train the module parameters.

        evalData

        If not None, will be used as validation set and evaluate + the performance after each epoch.

        numEpoch

        Number of epochs to run training.

        fitParams

        Extra parameters for training.

        Definition Classes
        BaseModule
        +
      29. + + +

        + + +def + + +forward(dataBatch: DataBatch, isTrain: Option[Boolean] = None): Unit + +

        + +Permalink + + +

        Forward computation.

        Forward computation.

        dataBatch

        input data

        isTrain

        Default is None, which means isTrain takes the value of forTraining.

        Definition Classes
        SequentialModuleBaseModule
        +
      30. + + +

        + + +def + + +forwardBackward(dataBatch: DataBatch): Unit + +

        + +Permalink + + +
        Definition Classes
        BaseModule
        +
      31. + + +

        + +final +def + + +getClass(): Class[_] + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      32. + + +

        + + +def + + +getInputGrads(): IndexedSeq[IndexedSeq[NDArray]] + +

        + +Permalink + + +

        Get the gradients to the inputs, computed in the previous backward computation.

        Get the gradients to the inputs, computed in the previous backward computation.

        returns

        In the case when data-parallelism is used, the grads will be collected from multiple devices. The results will look like grad1_dev2], [grad2_dev1, grad2_dev2, - those NDArray might live on different devices.

        Definition Classes
        SequentialModuleBaseModule
        -
      33. - - -

        - - - def - - - getInputGradsMerged(): IndexedSeq[NDArray] - -

        - - Permalink - - -

        Get the gradients to the inputs, computed in the previous backward computation.

        Get the gradients to the inputs, computed in the previous backward computation.

        returns

        In the case when data-parallelism is used, + those NDArray might live on different devices.

        Definition Classes
        SequentialModuleBaseModule
        +
      34. + + +

        + + +def + + +getInputGradsMerged(): IndexedSeq[NDArray] + +

        + +Permalink + + +

        Get the gradients to the inputs, computed in the previous backward computation.

        Get the gradients to the inputs, computed in the previous backward computation.

        returns

        In the case when data-parallelism is used, the grads will be merged from multiple devices, as they look like from a single executor. - The results will look like [grad1, grad2]

        Definition Classes
        SequentialModuleBaseModule
        -
      35. - - -

        - - - def - - - getOutputs(): IndexedSeq[IndexedSeq[NDArray]] - -

        - - Permalink - - -

        Get outputs of the previous forward computation.

        Get outputs of the previous forward computation.

        returns

        In the case when data-parallelism is used, + The results will look like [grad1, grad2]

        Definition Classes
        SequentialModuleBaseModule
        +
      36. + + +

        + + +def + + +getOutputs(): IndexedSeq[IndexedSeq[NDArray]] + +

        + +Permalink + + +

        Get outputs of the previous forward computation.

        Get outputs of the previous forward computation.

        returns

        In the case when data-parallelism is used, the outputs will be collected from multiple devices. The results will look like out1_dev2], [out2_dev1, out2_dev2, - those NDArray might live on different devices.

        Definition Classes
        SequentialModuleBaseModule
        -
      37. - - -

        - - - def - - - getOutputsMerged(): IndexedSeq[NDArray] - -

        - - Permalink - - -

        Get outputs of the previous forward computation.

        Get outputs of the previous forward computation.

        returns

        In the case when data-parallelism is used, + those NDArray might live on different devices.

        Definition Classes
        SequentialModuleBaseModule
        +
      38. + + +

        + + +def + + +getOutputsMerged(): IndexedSeq[NDArray] + +

        + +Permalink + + +

        Get outputs of the previous forward computation.

        Get outputs of the previous forward computation.

        returns

        In the case when data-parallelism is used, the outputs will be merged from multiple devices, as they look like from a single executor. - The results will look like [out1, out2]

        Definition Classes
        SequentialModuleBaseModule
        -
      39. - - -

        - - - def - - - getParams: (Map[String, NDArray], Map[String, NDArray]) - -

        - - Permalink - - -

        Get current parameters.

        Get current parameters.

        returns

        (argParams, auxParams), -each a Map of name to parameters (in NDArray) mapping.

        Definition Classes
        SequentialModuleBaseModule
        -
      40. - - -

        - - - def - - - hashCode(): Int - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      41. - - -

        - - - def - - - initOptimizer(kvstore: String = "local", optimizer: Optimizer = new SGD(), resetOptimizer: Boolean = true, forceInit: Boolean = false): Unit - -

        - - Permalink - - -

        Install and initialize optimizers.

        Install and initialize optimizers.

        resetOptimizer

        Default True, indicating whether we should set rescaleGrad + The results will look like [out1, out2]

        Definition Classes
        SequentialModuleBaseModule
        +
      42. + + +

        + + +def + + +getParams: (Map[String, NDArray], Map[String, NDArray]) + +

        + +Permalink + + +

        Get current parameters.

        Get current parameters.

        returns

        (argParams, auxParams), +each a Map of name to parameters (in NDArray) mapping.

        Definition Classes
        SequentialModuleBaseModule
        +
      43. + + +

        + + +def + + +getSymbol: Symbol + +

        + +Permalink + + +
        Definition Classes
        BaseModule
        +
      44. + + +

        + + +def + + +hashCode(): Int + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      45. + + +

        + + +def + + +initOptimizer(kvstore: String = "local", optimizer: Optimizer = new SGD(), resetOptimizer: Boolean = true, forceInit: Boolean = false): Unit + +

        + +Permalink + + +

        Install and initialize optimizers.

        Install and initialize optimizers.

        resetOptimizer

        Default True, indicating whether we should set rescaleGrad & idx2name for optimizer according to executorGroup

        forceInit

        Default False, indicating whether we should force re-initializing - the optimizer in the case an optimizer is already installed.

        Definition Classes
        SequentialModuleBaseModule
        -
      46. - - -

        - - - def - - - initParams(initializer: Initializer = new Uniform(0.01f), argParams: Map[String, NDArray] = null, auxParams: Map[String, NDArray] = null, allowMissing: Boolean = false, forceInit: Boolean = false): Unit - -

        - - Permalink - - -

        Initialize the parameters and auxiliary states.

        Initialize the parameters and auxiliary states.

        initializer

        Called to initialize parameters if needed.

        argParams

        If not None, should be a dictionary of existing arg_params. + the optimizer in the case an optimizer is already installed.

        Definition Classes
        SequentialModuleBaseModule
        +
      47. + + +

        + + +def + + +initParams(initializer: Initializer = new Uniform(0.01f), argParams: Map[String, NDArray] = null, auxParams: Map[String, NDArray] = null, allowMissing: Boolean = false, forceInit: Boolean = false, allowExtra: Boolean = false): Unit + +

        + +Permalink + + +

        Initialize the parameters and auxiliary states.

        Initialize the parameters and auxiliary states.

        initializer

        Called to initialize parameters if needed.

        argParams

        If not None, should be a dictionary of existing arg_params. Initialization will be copied from that.

        auxParams

        If not None, should be a dictionary of existing aux_params. Initialization will be copied from that.

        allowMissing

        If true, params could contain missing values, - and the initializer will be called to fill those missing params.

        forceInit

        If true, will force re-initialize even if already initialized.

        Definition Classes
        SequentialModuleBaseModule
        -
      48. - - -

        - - - def - - - installMonitor(monitor: Monitor): Unit - -

        - - Permalink - - -
        Definition Classes
        SequentialModuleBaseModule
        -
      49. - - -

        - - final - def - - - isInstanceOf[T0]: Boolean - -

        - - Permalink - - -
        Definition Classes
        Any
        -
      50. - - -

        - - - def - - - labelShapes: IndexedSeq[DataDesc] - -

        - - Permalink - - -

        Get label shapes.

        Get label shapes.

        returns

        The return value could be null if + and the initializer will be called to fill those missing params.

        forceInit

        If true, will force re-initialize even if already initialized.

        allowExtra

        Whether allow extra parameters that are not needed by symbol. + If this is True, no error will be thrown when argParams or auxParams + contain extra parameters that is not needed by the executor.

        Definition Classes
        SequentialModuleBaseModule
        +
      51. + + +

        + + +def + + +installMonitor(monitor: Monitor): Unit + +

        + +Permalink + + +
        Definition Classes
        SequentialModuleBaseModule
        +
      52. + + +

        + +final +def + + +isInstanceOf[T0]: Boolean + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      53. + + +

        + + +def + + +labelShapes: IndexedSeq[DataDesc] + +

        + +Permalink + + +

        Get label shapes.

        Get label shapes.

        returns

        The return value could be null if the module does not need labels, or if the module is not binded for -training (in this case, label information is not available).

        Definition Classes
        SequentialModuleBaseModule
        -
      54. - - -

        - - - def - - - loadParams(fname: String): Unit - -

        - - Permalink - - -

        Load model parameters from file.

        Load model parameters from file.

        fname

        Path to input param file.

        Definition Classes
        BaseModule
        Annotations
        - @throws( - - classOf[IOException] - ) - -
        Exceptions thrown

        IOException if param file is invalid

        -
      55. - - -

        - - final - def - - - ne(arg0: AnyRef): Boolean - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      56. - - -

        - - final - def - - - notify(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      57. - - -

        - - final - def - - - notifyAll(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      58. - - -

        - - - def - - - outputNames: IndexedSeq[String] - -

        - - Permalink - - -

        returns

        A list of names for the outputs of this module.

        Definition Classes
        SequentialModuleBaseModule
        -
      59. - - -

        - - - def - - - outputShapes: IndexedSeq[(String, Shape)] - -

        - - Permalink - - -

        Get output shapes.

        Get output shapes.

        returns

        The output shapes of the last -module is the output shape of a SequentialModule.

        Definition Classes
        SequentialModuleBaseModule
        -
      60. - - -

        - - - def - - - predict(evalData: DataIter, numBatch: Int = 1, reset: Boolean = true): IndexedSeq[NDArray] - -

        - - Permalink - - -

        Run prediction and collect the outputs.

        Run prediction and collect the outputs.

        numBatch

        Default is -1, indicating running all the batches in the data iterator.

        reset

        Default is True, indicating whether we should reset the data iter before start +training (in this case, label information is not available).

        Definition Classes
        SequentialModuleBaseModule
        +
      61. + + +

        + + +def + + +loadParams(fname: String): Unit + +

        + +Permalink + + +

        Load model parameters from file.

        Load model parameters from file.

        fname

        Path to input param file.

        Definition Classes
        BaseModule
        Annotations
        +@throws( +classOf[IOException] +) +
        Exceptions thrown

        IOException if param file is invalid

        +
      62. + + +

        + +final +def + + +ne(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      63. + + +

        + +final +def + + +notify(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      64. + + +

        + +final +def + + +notifyAll(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      65. + + +

        + + +def + + +outputNames: IndexedSeq[String] + +

        + +Permalink + + +

        returns

        A list of names for the outputs of this module.

        Definition Classes
        SequentialModuleBaseModule
        +
      66. + + +

        + + +def + + +outputShapes: IndexedSeq[(String, Shape)] + +

        + +Permalink + + +

        Get output shapes.

        Get output shapes.

        returns

        The output shapes of the last +module is the output shape of a SequentialModule.

        Definition Classes
        SequentialModuleBaseModule
        +
      67. + + +

        + + +def + + +predict(evalData: DataIter, numBatch: Int = 1, reset: Boolean = true): IndexedSeq[NDArray] + +

        + +Permalink + + +

        Run prediction and collect the outputs.

        Run prediction and collect the outputs.

        numBatch

        Default is -1, indicating running all the batches in the data iterator.

        reset

        Default is True, indicating whether we should reset the data iter before start doing prediction.

        returns

        The return value will be a list [out1, out2, out3]. - Where each element is concatenation of the outputs for all the mini-batches.

        Definition Classes
        BaseModule
        -
      68. - - -

        - - - def - - - predict(batch: DataBatch): IndexedSeq[NDArray] - -

        - - Permalink - - -
        Definition Classes
        BaseModule
        -
      69. - - -

        - - - def - - - predictEveryBatch(evalData: DataIter, numBatch: Int = 1, reset: Boolean = true): IndexedSeq[IndexedSeq[NDArray]] - -

        - - Permalink - - -

        Run prediction and collect the outputs.

        Run prediction and collect the outputs.

        numBatch

        Default is -1, indicating running all the batches in the data iterator.

        reset

        Default is True, indicating whether we should reset the data iter before start + Where each element is concatenation of the outputs for all the mini-batches.

        Definition Classes
        BaseModule
        +
      70. + + +

        + + +def + + +predict(batch: DataBatch): IndexedSeq[NDArray] + +

        + +Permalink + + +
        Definition Classes
        BaseModule
        +
      71. + + +

        + + +def + + +predictEveryBatch(evalData: DataIter, numBatch: Int = 1, reset: Boolean = true): IndexedSeq[IndexedSeq[NDArray]] + +

        + +Permalink + + +

        Run prediction and collect the outputs.

        Run prediction and collect the outputs.

        numBatch

        Default is -1, indicating running all the batches in the data iterator.

        reset

        Default is True, indicating whether we should reset the data iter before start doing prediction.

        returns

        The return value will be a nested list like out2_batch1, ...], [out1_batch2, out2_batch2, ... This mode is useful because in some cases (e.g. bucketing), - the module does not necessarily produce the same number of outputs.

        Definition Classes
        BaseModule
        -
      72. - - -

        - - - def - - - saveParams(fname: String): Unit - -

        - - Permalink - - -

        Save model parameters to file.

        Save model parameters to file.

        fname

        Path to output param file.

        Definition Classes
        BaseModule
        -
      73. - - -

        - - - def - - - score(evalData: DataIter, evalMetric: EvalMetric, numBatch: Int = Integer.MAX_VALUE, batchEndCallback: Option[BatchEndCallback] = None, scoreEndCallback: Option[BatchEndCallback] = None, reset: Boolean = true, epoch: Int = 0): EvalMetric - -

        - - Permalink - - -

        Run prediction on eval_data and evaluate the performance according to eval_metric.

        Run prediction on eval_data and evaluate the performance according to eval_metric.

        evalData

        : DataIter

        evalMetric

        : EvalMetric

        numBatch

        Number of batches to run. Default is Integer.MAX_VALUE, + the module does not necessarily produce the same number of outputs.

        Definition Classes
        BaseModule
        +
      74. + + +

        + + +def + + +saveParams(fname: String): Unit + +

        + +Permalink + + +

        Save model parameters to file.

        Save model parameters to file.

        fname

        Path to output param file.

        Definition Classes
        BaseModule
        +
      75. + + +

        + + +def + + +score(evalData: DataIter, evalMetric: EvalMetric, numBatch: Int = Integer.MAX_VALUE, batchEndCallback: Option[BatchEndCallback] = None, scoreEndCallback: Option[BatchEndCallback] = None, reset: Boolean = true, epoch: Int = 0): EvalMetric + +

        + +Permalink + + +

        Run prediction on eval_data and evaluate the performance according to eval_metric.

        Run prediction on eval_data and evaluate the performance according to eval_metric.

        evalData

        : DataIter

        evalMetric

        : EvalMetric

        numBatch

        Number of batches to run. Default is Integer.MAX_VALUE, indicating run until the DataIter finishes.

        batchEndCallback

        Could also be a list of functions.

        reset

        Default True, indicating whether we should reset eval_data before starting evaluating.

        epoch

        Default 0. For compatibility, this will be passed to callbacks (if any). - During training, this will correspond to the training epoch number.

        Definition Classes
        BaseModule
        -
      76. - - -

        - - - def - - - setParams(argParams: Map[String, NDArray], auxParams: Map[String, NDArray], allowMissing: Boolean = false, forceInit: Boolean = true): Unit - -

        - - Permalink - - -

        Assign parameter and aux state values.

        Assign parameter and aux state values. - arg_params : dict + During training, this will correspond to the training epoch number.

        Definition Classes
        BaseModule
        +
      77. + + +

        + + +def + + +setParams(argParams: Map[String, NDArray], auxParams: Map[String, NDArray], allowMissing: Boolean = false, forceInit: Boolean = true, allowExtra: Boolean = false): Unit + +

        + +Permalink + + +

        Assign parameter and aux state values.

        Assign parameter and aux state values. + argParams : dict Dictionary of name to value (NDArray) mapping. - aux_params : dict + auxParams : dict Dictionary of name to value (NDArray) mapping. - allow_missing : bool + allowMissing : bool If true, params could contain missing values, and the initializer will be called to fill those missing params. - force_init : bool + forceInit : bool If true, will force re-initialize even if already initialized. -

        Definition Classes
        BaseModule
        -
      78. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      79. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      80. - - -

        - - - def - - - update(): Unit - -

        - - Permalink - - -
        Definition Classes
        SequentialModuleBaseModule
        -
      81. - - -

        - - - def - - - updateMetric(evalMetric: EvalMetric, labels: IndexedSeq[NDArray]): Unit - -

        - - Permalink - - -

        Evaluate and accumulate evaluation metric on outputs of the last forward computation.

        Evaluate and accumulate evaluation metric on outputs of the last forward computation.

        Definition Classes
        SequentialModuleBaseModule
        -
      82. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      83. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      84. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      -
      - - - - -
      - -
      -
      -

      Inherited from BaseModule

      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - + allowExtra : bool + Whether allow extra parameters that are not needed by symbol. + If this is True, no error will be thrown when argParams or auxParams + contain extra parameters that is not needed by the executor. +

    Definition Classes
    BaseModule
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +update(): Unit + +

    + +Permalink + + +
    Definition Classes
    SequentialModuleBaseModule
    +
  • + + +

    + + +def + + +updateMetric(evalMetric: EvalMetric, labels: IndexedSeq[NDArray]): Unit + +

    + +Permalink + + +

    Evaluate and accumulate evaluation metric on outputs of the last forward computation.

    Evaluate and accumulate evaluation metric on outputs of the last forward computation.

    Definition Classes
    SequentialModuleBaseModule
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • +
    +
    +
    +
    +

    Inherited from BaseModule

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/module/package.html b/api/scala/docs/ml/dmlc/mxnet/module/package.html index c5937aa96836..3eacaf98c965 100644 --- a/api/scala/docs/ml/dmlc/mxnet/module/package.html +++ b/api/scala/docs/ml/dmlc/mxnet/module/package.html @@ -1,19 +1,18 @@ + - - module - ml.dmlc.mxnet.module - - - - - - - - - - - - + + + + - - - -
    - Package -

    ml.dmlc.mxnet

    -

    module

    - - Permalink - - -
    - -

    - - - package - - - module - -

    - -
    - - -
    -
    - - -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    - - -
    -

    Type Members

    -
    1. - - -

      - - abstract - class - - - BaseModule extends AnyRef - -

      - - Permalink - - -

      The base class of a modules.

      The base class of a modules. A module represents a computation component. The design -purpose of a module is that it abstract a computation "machine", that one can run forward, + + +

      +Package +

      ml.dmlc.mxnet

      +

      module

      + +Permalink + + +
      +

      + + +package + + +module + +

      +
      +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Type Members

      +
      1. + + +

        + +abstract +class + + +BaseModule extends AnyRef + +

        + +Permalink + + +

        The base class of a modules.

        The base class of a modules. A module represents a computation component. The design +purpose of a module is that it abstract a computation "machine", that one can run forward, backward, update parameters, etc. We aim to make the APIs easy to use, especially in the case when we need to use imperative API to work with multiple modules (e.g. stochastic depth network).

        A module has several states:

        - Initial state. Memory is not allocated yet, not ready for computation yet. @@ -114,131 +103,112 @@

        this value might not be well defined.

      2. When those intermediate-level API are implemented properly, the following high-level API will be automatically available for a module:

        • fit: train the module parameters on a data set
        • predict: run prediction on a data set and collect outputs
        • score: run prediction on a data set and evaluate performance
      -
    2. - - -

      - - - class - - - DataParallelExecutorGroup extends AnyRef - -

      - - Permalink - - -

      DataParallelExecutorGroup is a group of executors that lives on a group of devices.

      DataParallelExecutorGroup is a group of executors that lives on a group of devices. +

    3. + + +

      + + +class + + +DataParallelExecutorGroup extends AnyRef + +

      + +Permalink + + +

      DataParallelExecutorGroup is a group of executors that lives on a group of devices.

      DataParallelExecutorGroup is a group of executors that lives on a group of devices. This is a helper class used to implement data parallelism. Each mini-batch will be split and run on the devices.

      -
    4. - - -

      - - - class - - - FitParams extends AnyRef - -

      - - Permalink - - - -
    5. - - -

      - - - class - - - Module extends BaseModule - -

      - - Permalink - - -

      Module is a basic module that wrap a Symbol.

      Module is a basic module that wrap a Symbol. It is functionally the same +

    6. + + +

      + + +class + + +FitParams extends AnyRef + +

      + +Permalink + + +
    7. + + +

      + + +class + + +Module extends BaseModule + +

      + +Permalink + + +

      Module is a basic module that wrap a Symbol.

      Module is a basic module that wrap a Symbol. It is functionally the same as the FeedForward model, except under the module API.

      -
    8. - - -

      - - - class - - - SequentialModule extends BaseModule - -

      - - Permalink - - -

      A SequentialModule is a container module that can chain multiple modules together.

      A SequentialModule is a container module that can chain multiple modules together. +

    9. + + +

      + + +class + + +SequentialModule extends BaseModule + +

      + +Permalink + + +

      A SequentialModule is a container module that can chain multiple modules together.

      A SequentialModule is a container module that can chain multiple modules together. Note building a computation graph with this kind of imperative container is less flexible and less efficient than the symbolic graph. So this should be only used as a handy utility.

      -
    -
    - - - -
    -

    Value Members

    -
    1. - - -

      - - - object - - - Module - -

      - - Permalink - - - -
    -
    - - - - -
    - -
    - - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +

    Value Members

    +
    1. + + +

      + + +object + + +Module + +

      + +Permalink + + +
    +
    + +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/optimizer/AdaDelta.html b/api/scala/docs/ml/dmlc/mxnet/optimizer/AdaDelta.html index b22aee618ec3..8e603eb3afcd 100644 --- a/api/scala/docs/ml/dmlc/mxnet/optimizer/AdaDelta.html +++ b/api/scala/docs/ml/dmlc/mxnet/optimizer/AdaDelta.html @@ -1,19 +1,18 @@ + - - AdaDelta - ml.dmlc.mxnet.optimizer.AdaDelta - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.optimizer

    -

    AdaDelta

    Related Doc: - package optimizer -

    - - Permalink - - -
    - -

    - - - class - - - AdaDelta extends Optimizer - -

    - -

    AdaDelta optimizer as described in Matthew D. Zeiler, 2012. + + +

    +Class +

    ml.dmlc.mxnet.optimizer

    +

    AdaDelta

    Related Doc: + package optimizer +

    + +Permalink + + +
    +

    + + +class + + +AdaDelta extends Optimizer + +

    +

    AdaDelta optimizer as described in Matthew D. Zeiler, 2012. http://arxiv.org/abs/1212.5701

    - Linear Supertypes -
    Optimizer, Serializable, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. AdaDelta
    2. Optimizer
    3. Serializable
    4. AnyRef
    5. Any
    6. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - AdaDelta(rho: Float = 0.05f, rescaleGradient: Float = 1.0f, epsilon: Float = 1e-8f, wd: Float = 0.0f, clipGradient: Float = 0f) - -

      - - Permalink - - -

      rho

      Decay rate for both squared gradients and delta x.

      rescaleGradient

      rescaling factor of gradient.

      epsilon

      The constant as described in the thesis

      wd

      L2 regularization coefficient add to all the weights

      clipGradient

      clip gradient in range [-clip_gradient, clip_gradient]

      -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - def - - - createState(index: Int, weight: NDArray): (NDArray, NDArray) - -

      - - Permalink - - -
      Definition Classes
      AdaDeltaOptimizer
      -
    7. - - -

      - - - def - - - deserializeState(bytes: Array[Byte]): AnyRef - -

      - - Permalink - - -
      Definition Classes
      AdaDeltaOptimizer
      -
    8. - - -

      - - - def - - - disposeState(state: AnyRef): Unit - -

      - - Permalink - - -
      Definition Classes
      AdaDeltaOptimizer
      -
    9. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    10. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    12. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - - def - - - getLr(index: Int, lr: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    14. - - -

      - - - def - - - getWd(index: Int, wd: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    15. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    16. - - -

      - - - var - - - idx2name: Map[Int, String] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    17. - - -

      - - - val - - - indexUpdateCount: Map[Int, Int] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    18. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    19. - - -

      - - - val - - - lrMult: Map[Either[Int, String], Float] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    20. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    21. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    22. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    23. - - -

      - - - var - - - numUpdate: Int - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    24. - - -

      - - - var - - - rescaleGrad: Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    25. - - -

      - - - def - - - serializeState(state: AnyRef): Array[Byte] - -

      - - Permalink - - -
      Definition Classes
      AdaDeltaOptimizer
      -
    26. - - -

      - - - def - - - setArgNames(argNames: Seq[String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    27. - - -

      - - - def - - - setIdx2Name(paramIdx2Name: Map[Int, String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    28. - - -

      - - - def - - - setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit - -

      - - Permalink - - -

      Sets an individual learning rate multiplier for each parameter.

      Sets an individual learning rate multiplier for each parameter. +Linear Supertypes +

      Optimizer, Serializable, AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. AdaDelta
      2. Optimizer
      3. Serializable
      4. AnyRef
      5. Any
      6. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Instance Constructors

      +
      1. + + +

        + + +new + + +AdaDelta(rho: Float = 0.05f, rescaleGradient: Float = 1.0f, epsilon: Float = 1e-8f, wd: Float = 0.0f, clipGradient: Float = 0f) + +

        + +Permalink + + +

        rho

        Decay rate for both squared gradients and delta x.

        rescaleGradient

        rescaling factor of gradient.

        epsilon

        The constant as described in the thesis

        wd

        L2 regularization coefficient add to all the weights

        clipGradient

        clip gradient in range [-clip_gradient, clip_gradient]

        +
      +
      +
      +

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

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      5. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      6. + + +

        + + +def + + +createState(index: Int, weight: NDArray): (NDArray, NDArray) + +

        + +Permalink + + +
        Definition Classes
        AdaDeltaOptimizer
        +
      7. + + +

        + + +def + + +deserializeState(bytes: Array[Byte]): AnyRef + +

        + +Permalink + + +
        Definition Classes
        AdaDeltaOptimizer
        +
      8. + + +

        + + +def + + +disposeState(state: AnyRef): Unit + +

        + +Permalink + + +
        Definition Classes
        AdaDeltaOptimizer
        +
      9. + + +

        + +final +def + + +eq(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      10. + + +

        + + +def + + +equals(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      11. + + +

        + + +def + + +finalize(): Unit + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +classOf[java.lang.Throwable] +) +
        +
      12. + + +

        + +final +def + + +getClass(): Class[_] + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      13. + + +

        + + +def + + +getLr(index: Int, lr: Float): Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      14. + + +

        + + +def + + +getWd(index: Int, wd: Float): Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      15. + + +

        + + +def + + +hashCode(): Int + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      16. + + +

        + + +var + + +idx2name: Map[Int, String] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      17. + + +

        + + +val + + +indexUpdateCount: Map[Int, Int] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      18. + + +

        + +final +def + + +isInstanceOf[T0]: Boolean + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      19. + + +

        + + +val + + +lrMult: Map[Either[Int, String], Float] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      20. + + +

        + +final +def + + +ne(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      21. + + +

        + +final +def + + +notify(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      22. + + +

        + +final +def + + +notifyAll(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      23. + + +

        + + +var + + +numUpdate: Int + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      24. + + +

        + + +var + + +rescaleGrad: Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      25. + + +

        + + +def + + +serializeState(state: AnyRef): Array[Byte] + +

        + +Permalink + + +
        Definition Classes
        AdaDeltaOptimizer
        +
      26. + + +

        + + +def + + +setArgNames(argNames: Seq[String]): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      27. + + +

        + + +def + + +setIdx2Name(paramIdx2Name: Map[Int, String]): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      28. + + +

        + + +def + + +setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit + +

        + +Permalink + + +

        Sets an individual learning rate multiplier for each parameter.

        Sets an individual learning rate multiplier for each parameter. If you specify a learning rate multiplier for a parameter, then the learning rate for the parameter will be set as the product of the global learning rate and its multiplier. note:: The default learning rate multiplier of a Variable -can be set with lr_mult argument in the constructor.

        Definition Classes
        Optimizer
        -
      29. - - -

        - - - def - - - setRescaleGrad(rescaleGrad: Float): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        -
      30. - - -

        - - - def - - - setSymbol(sym: Symbol): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        -
      31. - - -

        - - - def - - - setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit - -

        - - Permalink - - -

        Sets an individual weight decay multiplier for each parameter.

        Sets an individual weight decay multiplier for each parameter.

        By default, the weight decay multipler is set as 0 for all +can be set with lr_mult argument in the constructor.

        Definition Classes
        Optimizer
        +
      32. + + +

        + + +def + + +setRescaleGrad(rescaleGrad: Float): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      33. + + +

        + + +def + + +setSymbol(sym: Symbol): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      34. + + +

        + + +def + + +setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit + +

        + +Permalink + + +

        Sets an individual weight decay multiplier for each parameter.

        Sets an individual weight decay multiplier for each parameter.

        By default, the weight decay multipler is set as 0 for all parameters whose name don't end with _weight or _gamma, if you call the setIdx2Name method to set idx2name.

        note:: The default weight decay multiplier for a Variable -can be set with its wd_mult argument in the constructor.

        Definition Classes
        Optimizer
        -
      35. - - -

        - - - var - - - specialized: Boolean - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      36. - - -

        - - - var - - - symbol: Symbol - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      37. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      38. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      39. - - -

        - - - def - - - update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit - -

        - - Permalink - - -

        Update the parameters.

        Update the parameters.

        index

        An unique integer key used to index the parameters

        weight

        weight ndarray

        grad

        grad ndarray

        state

        NDArray or other objects returned by initState - The auxiliary state used in optimization.

        Definition Classes
        AdaDeltaOptimizer
        -
      40. - - -

        - - - def - - - updateCount(index: Int): Unit - -

        - - Permalink - - -

        update num_update

        update num_update

        index

        The index will be updated

        Attributes
        protected
        Definition Classes
        Optimizer
        -
      41. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      42. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      43. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      44. - - -

        - - - val - - - wdMult: Map[Either[Int, String], Float] - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      45. - - -

        - - - val - - - weightSet: Set[Int] - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      -
      - - - -
      -

      Deprecated Value Members

      -
      1. - - -

        - - - def - - - setLrScale(lrScale: Map[Int, Float]): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        Annotations
        - @deprecated - -
        Deprecated

        Use setLrMult instead.

        -
      -
      -
      - -
      -
      -

      Inherited from Optimizer

      -
      -

      Inherited from Serializable

      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +can be set with its wd_mult argument in the constructor.

    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +specialized: Boolean + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +symbol: Symbol + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit + +

    + +Permalink + + +

    Update the parameters.

    Update the parameters.

    index

    An unique integer key used to index the parameters

    weight

    weight ndarray

    grad

    grad ndarray

    state

    NDArray or other objects returned by initState + The auxiliary state used in optimization.

    Definition Classes
    AdaDeltaOptimizer
    +
  • + + +

    + + +def + + +updateCount(index: Int): Unit + +

    + +Permalink + + +

    update num_update

    update num_update

    index

    The index will be updated

    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + + +val + + +wdMult: Map[Either[Int, String], Float] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +val + + +weightSet: Set[Int] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • +
    +
    +

    Deprecated Value Members

    +
    1. + + +

      + + +def + + +setLrScale(lrScale: Map[Int, Float]): Unit + +

      + +Permalink + + +
      Definition Classes
      Optimizer
      Annotations
      +@deprecated +
      Deprecated

      Use setLrMult instead.

      +
    +
    +
    +
    +
    +

    Inherited from Optimizer

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/optimizer/AdaGrad.html b/api/scala/docs/ml/dmlc/mxnet/optimizer/AdaGrad.html index bbb031a5b27e..c4349a9c06ed 100644 --- a/api/scala/docs/ml/dmlc/mxnet/optimizer/AdaGrad.html +++ b/api/scala/docs/ml/dmlc/mxnet/optimizer/AdaGrad.html @@ -1,19 +1,18 @@ + - - AdaGrad - ml.dmlc.mxnet.optimizer.AdaGrad - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.optimizer

    -

    AdaGrad

    Related Doc: - package optimizer -

    - - Permalink - - -
    - -

    - - - class - - - AdaGrad extends Optimizer - -

    - -

    AdaGrad optimizer as described in Matthew D. Zeiler, 2012. + + +

    +Class +

    ml.dmlc.mxnet.optimizer

    +

    AdaGrad

    Related Doc: + package optimizer +

    + +Permalink + + +
    +

    + + +class + + +AdaGrad extends Optimizer + +

    +

    AdaGrad optimizer as described in Matthew D. Zeiler, 2012. http://arxiv.org/pdf/1212.5701v1.pdf

    - Linear Supertypes -
    Optimizer, Serializable, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. AdaGrad
    2. Optimizer
    3. Serializable
    4. AnyRef
    5. Any
    6. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - AdaGrad(learningRate: Float = 0.05f, rescaleGradient: Float = 1.0f, epsilon: Float = 1e-7f, wd: Float = 0.0f) - -

      - - Permalink - - -

      learningRate

      Step size.

      rescaleGradient

      rescaling factor of gradient.

      epsilon

      A small float number to make the updating processing stable. +Linear Supertypes +

      Optimizer, Serializable, AnyRef, Any
      +
    +
    +
    +
    +Ordering +
      +
    1. Alphabetic
    2. +
    3. By Inheritance
    4. +
    +
    +
    +Inherited
    +
    +
      +
    1. AdaGrad
    2. Optimizer
    3. Serializable
    4. AnyRef
    5. Any
    6. +
    +
    + +
      +
    1. Hide All
    2. +
    3. Show All
    4. +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Instance Constructors

    +
    1. + + +

      + + +new + + +AdaGrad(learningRate: Float = 0.05f, rescaleGradient: Float = 1.0f, epsilon: Float = 1e-7f, wd: Float = 0.0f) + +

      + +Permalink + + +

      learningRate

      Step size.

      rescaleGradient

      rescaling factor of gradient.

      epsilon

      A small float number to make the updating processing stable. Default value is set to 1e-7.

      wd

      L2 regularization coefficient add to all the weights

      -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - def - - - createState(index: Int, weight: NDArray): NDArray - -

      - - Permalink - - -
      Definition Classes
      AdaGradOptimizer
      -
    7. - - -

      - - - def - - - deserializeState(bytes: Array[Byte]): AnyRef - -

      - - Permalink - - -
      Definition Classes
      AdaGradOptimizer
      -
    8. - - -

      - - - def - - - disposeState(state: AnyRef): Unit - -

      - - Permalink - - -
      Definition Classes
      AdaGradOptimizer
      -
    9. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    10. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    12. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - - def - - - getLr(index: Int, lr: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    14. - - -

      - - - def - - - getWd(index: Int, wd: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    15. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    16. - - -

      - - - var - - - idx2name: Map[Int, String] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    17. - - -

      - - - val - - - indexUpdateCount: Map[Int, Int] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    18. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    19. - - -

      - - - val - - - learningRate: Float - -

      - - Permalink - - -

      Step size.

      -
    20. - - -

      - - - val - - - lrMult: Map[Either[Int, String], Float] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    21. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    22. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    23. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    24. - - -

      - - - var - - - numUpdate: Int - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    25. - - -

      - - - var - - - rescaleGrad: Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    26. - - -

      - - - def - - - serializeState(state: AnyRef): Array[Byte] - -

      - - Permalink - - -
      Definition Classes
      AdaGradOptimizer
      -
    27. - - -

      - - - def - - - setArgNames(argNames: Seq[String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    28. - - -

      - - - def - - - setIdx2Name(paramIdx2Name: Map[Int, String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    29. - - -

      - - - def - - - setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit - -

      - - Permalink - - -

      Sets an individual learning rate multiplier for each parameter.

      Sets an individual learning rate multiplier for each parameter. +

    +
    +
    +

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

      + +final +def + + +asInstanceOf[T0]: T0 + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    5. + + +

      + + +def + + +clone(): AnyRef + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +... +) +
      +
    6. + + +

      + + +def + + +createState(index: Int, weight: NDArray): NDArray + +

      + +Permalink + + +
      Definition Classes
      AdaGradOptimizer
      +
    7. + + +

      + + +def + + +deserializeState(bytes: Array[Byte]): AnyRef + +

      + +Permalink + + +
      Definition Classes
      AdaGradOptimizer
      +
    8. + + +

      + + +def + + +disposeState(state: AnyRef): Unit + +

      + +Permalink + + +
      Definition Classes
      AdaGradOptimizer
      +
    9. + + +

      + +final +def + + +eq(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    10. + + +

      + + +def + + +equals(arg0: Any): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    11. + + +

      + + +def + + +finalize(): Unit + +

      + +Permalink + + +
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      +@throws( +classOf[java.lang.Throwable] +) +
      +
    12. + + +

      + +final +def + + +getClass(): Class[_] + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    13. + + +

      + + +def + + +getLr(index: Int, lr: Float): Float + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      Optimizer
      +
    14. + + +

      + + +def + + +getWd(index: Int, wd: Float): Float + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      Optimizer
      +
    15. + + +

      + + +def + + +hashCode(): Int + +

      + +Permalink + + +
      Definition Classes
      AnyRef → Any
      +
    16. + + +

      + + +var + + +idx2name: Map[Int, String] + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      Optimizer
      +
    17. + + +

      + + +val + + +indexUpdateCount: Map[Int, Int] + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      Optimizer
      +
    18. + + +

      + +final +def + + +isInstanceOf[T0]: Boolean + +

      + +Permalink + + +
      Definition Classes
      Any
      +
    19. + + +

      + + +val + + +learningRate: Float + +

      + +Permalink + + +

      Step size.

      +
    20. + + +

      + + +val + + +lrMult: Map[Either[Int, String], Float] + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      Optimizer
      +
    21. + + +

      + +final +def + + +ne(arg0: AnyRef): Boolean + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    22. + + +

      + +final +def + + +notify(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    23. + + +

      + +final +def + + +notifyAll(): Unit + +

      + +Permalink + + +
      Definition Classes
      AnyRef
      +
    24. + + +

      + + +var + + +numUpdate: Int + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      Optimizer
      +
    25. + + +

      + + +var + + +rescaleGrad: Float + +

      + +Permalink + + +
      Attributes
      protected
      Definition Classes
      Optimizer
      +
    26. + + +

      + + +def + + +serializeState(state: AnyRef): Array[Byte] + +

      + +Permalink + + +
      Definition Classes
      AdaGradOptimizer
      +
    27. + + +

      + + +def + + +setArgNames(argNames: Seq[String]): Unit + +

      + +Permalink + + +
      Definition Classes
      Optimizer
      +
    28. + + +

      + + +def + + +setIdx2Name(paramIdx2Name: Map[Int, String]): Unit + +

      + +Permalink + + +
      Definition Classes
      Optimizer
      +
    29. + + +

      + + +def + + +setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit + +

      + +Permalink + + +

      Sets an individual learning rate multiplier for each parameter.

      Sets an individual learning rate multiplier for each parameter. If you specify a learning rate multiplier for a parameter, then the learning rate for the parameter will be set as the product of the global learning rate and its multiplier. note:: The default learning rate multiplier of a Variable -can be set with lr_mult argument in the constructor.

      Definition Classes
      Optimizer
      -
    30. - - -

      - - - def - - - setRescaleGrad(rescaleGrad: Float): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    31. - - -

      - - - def - - - setSymbol(sym: Symbol): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    32. - - -

      - - - def - - - setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit - -

      - - Permalink - - -

      Sets an individual weight decay multiplier for each parameter.

      Sets an individual weight decay multiplier for each parameter.

      By default, the weight decay multipler is set as 0 for all +can be set with lr_mult argument in the constructor.

      Definition Classes
      Optimizer
      +
    33. + + +

      + + +def + + +setRescaleGrad(rescaleGrad: Float): Unit + +

      + +Permalink + + +
      Definition Classes
      Optimizer
      +
    34. + + +

      + + +def + + +setSymbol(sym: Symbol): Unit + +

      + +Permalink + + +
      Definition Classes
      Optimizer
      +
    35. + + +

      + + +def + + +setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit + +

      + +Permalink + + +

      Sets an individual weight decay multiplier for each parameter.

      Sets an individual weight decay multiplier for each parameter.

      By default, the weight decay multipler is set as 0 for all parameters whose name don't end with _weight or _gamma, if you call the setIdx2Name method to set idx2name.

      note:: The default weight decay multiplier for a Variable -can be set with its wd_mult argument in the constructor.

      Definition Classes
      Optimizer
      -
    36. - - -

      - - - var - - - specialized: Boolean - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    37. - - -

      - - - var - - - symbol: Symbol - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    38. - - -

      - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    39. - - -

      - - - def - - - toString(): String - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    40. - - -

      - - - def - - - update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit - -

      - - Permalink - - -

      Update the parameters.

      Update the parameters.

      index

      An unique integer key used to index the parameters

      weight

      weight ndarray

      grad

      grad ndarray

      state

      NDArray or other objects returned by initState - The auxiliary state used in optimization.

      Definition Classes
      AdaGradOptimizer
      -
    41. - - -

      - - - def - - - updateCount(index: Int): Unit - -

      - - Permalink - - -

      update num_update

      update num_update

      index

      The index will be updated

      Attributes
      protected
      Definition Classes
      Optimizer
      -
    42. - - -

      - - final - def - - - wait(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    43. - - -

      - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    44. - - -

      - - final - def - - - wait(arg0: Long): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    45. - - -

      - - - val - - - wdMult: Map[Either[Int, String], Float] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    46. - - -

      - - - val - - - weightSet: Set[Int] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    -
    - - - -
    -

    Deprecated Value Members

    -
    1. - - -

      - - - def - - - setLrScale(lrScale: Map[Int, Float]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      Annotations
      - @deprecated - -
      Deprecated

      Use setLrMult instead.

      -
    -
    -
    - -
    -
    -

    Inherited from Optimizer

    -
    -

    Inherited from Serializable

    -
    -

    Inherited from AnyRef

    -
    -

    Inherited from Any

    -
    - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - +can be set with its wd_mult argument in the constructor.

    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +specialized: Boolean + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +symbol: Symbol + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit + +

    + +Permalink + + +

    Update the parameters.

    Update the parameters.

    index

    An unique integer key used to index the parameters

    weight

    weight ndarray

    grad

    grad ndarray

    state

    NDArray or other objects returned by initState + The auxiliary state used in optimization.

    Definition Classes
    AdaGradOptimizer
    +
  • + + +

    + + +def + + +updateCount(index: Int): Unit + +

    + +Permalink + + +

    update num_update

    update num_update

    index

    The index will be updated

    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + + +val + + +wdMult: Map[Either[Int, String], Float] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +val + + +weightSet: Set[Int] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • +
    +
    +

    Deprecated Value Members

    +
    1. + + +

      + + +def + + +setLrScale(lrScale: Map[Int, Float]): Unit + +

      + +Permalink + + +
      Definition Classes
      Optimizer
      Annotations
      +@deprecated +
      Deprecated

      Use setLrMult instead.

      +
    +
    +
    +
    +
    +

    Inherited from Optimizer

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    + +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/optimizer/Adam.html b/api/scala/docs/ml/dmlc/mxnet/optimizer/Adam.html index 8a6ebc8d3f2d..2dc2f2ad3db1 100644 --- a/api/scala/docs/ml/dmlc/mxnet/optimizer/Adam.html +++ b/api/scala/docs/ml/dmlc/mxnet/optimizer/Adam.html @@ -1,19 +1,18 @@ + - - Adam - ml.dmlc.mxnet.optimizer.Adam - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.optimizer

    -

    Adam

    Related Doc: - package optimizer -

    - - Permalink - - -
    - -

    - - - class - - - Adam extends Optimizer - -

    - -

    Adam optimizer as described in [King2014]

    [King2014] Diederik Kingma, Jimmy Ba, + + +

    +Class +

    ml.dmlc.mxnet.optimizer

    +

    Adam

    Related Doc: + package optimizer +

    + +Permalink + + +
    +

    + + +class + + +Adam extends Optimizer + +

    +

    Adam optimizer as described in [King2014]

    [King2014] Diederik Kingma, Jimmy Ba, Adam: A Method for Stochastic Optimization, http://arxiv.org/abs/1412.6980

    - Linear Supertypes -
    Optimizer, Serializable, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. Adam
    2. Optimizer
    3. Serializable
    4. AnyRef
    5. Any
    6. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - Adam(learningRate: Float = 0.002f, beta1: Float = 0.9f, beta2: Float = 0.999f, epsilon: Float = 1e-8f, decayFactor: Float = 1-1e-8f, wd: Float = 0.0f, clipGradient: Float = 0f, lrScheduler: LRScheduler = null) - -

      - - Permalink - - -

      learningRate

      Float, Step size.

      beta1

      Float, Exponential decay rate for the first moment estimates.

      beta2

      Float, Exponential decay rate for the second moment estimates.

      epsilon

      Float

      decayFactor

      Float

      wd

      Float, L2 regularization coefficient add to all the weights

      clipGradient

      Float, clip gradient in range [-clip_gradient, clip_gradient]

      lrScheduler

      The learning rate scheduler

      -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - def - - - createState(index: Int, weight: NDArray): (NDArray, NDArray) - -

      - - Permalink - - -
      Definition Classes
      AdamOptimizer
      -
    7. - - -

      - - - def - - - deserializeState(bytes: Array[Byte]): AnyRef - -

      - - Permalink - - -
      Definition Classes
      AdamOptimizer
      -
    8. - - -

      - - - def - - - disposeState(state: AnyRef): Unit - -

      - - Permalink - - -
      Definition Classes
      AdamOptimizer
      -
    9. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    10. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    12. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - - def - - - getLr(index: Int, lr: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    14. - - -

      - - - def - - - getWd(index: Int, wd: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    15. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    16. - - -

      - - - var - - - idx2name: Map[Int, String] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    17. - - -

      - - - val - - - indexUpdateCount: Map[Int, Int] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    18. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    19. - - -

      - - - val - - - learningRate: Float - -

      - - Permalink - - -

      Float, Step size.

      -
    20. - - -

      - - - val - - - lrMult: Map[Either[Int, String], Float] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    21. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    22. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    23. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    24. - - -

      - - - var - - - numUpdate: Int - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    25. - - -

      - - - var - - - rescaleGrad: Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    26. - - -

      - - - def - - - serializeState(state: AnyRef): Array[Byte] - -

      - - Permalink - - -
      Definition Classes
      AdamOptimizer
      -
    27. - - -

      - - - def - - - setArgNames(argNames: Seq[String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    28. - - -

      - - - def - - - setIdx2Name(paramIdx2Name: Map[Int, String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    29. - - -

      - - - def - - - setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit - -

      - - Permalink - - -

      Sets an individual learning rate multiplier for each parameter.

      Sets an individual learning rate multiplier for each parameter. +Linear Supertypes +

      Optimizer, Serializable, AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. Adam
      2. Optimizer
      3. Serializable
      4. AnyRef
      5. Any
      6. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Instance Constructors

      +
      1. + + +

        + + +new + + +Adam(learningRate: Float = 0.002f, beta1: Float = 0.9f, beta2: Float = 0.999f, epsilon: Float = 1e-8f, decayFactor: Float = 1-1e-8f, wd: Float = 0.0f, clipGradient: Float = 0f, lrScheduler: LRScheduler = null) + +

        + +Permalink + + +

        learningRate

        Float, Step size.

        beta1

        Float, Exponential decay rate for the first moment estimates.

        beta2

        Float, Exponential decay rate for the second moment estimates.

        epsilon

        Float

        decayFactor

        Float

        wd

        Float, L2 regularization coefficient add to all the weights

        clipGradient

        Float, clip gradient in range [-clip_gradient, clip_gradient]

        lrScheduler

        The learning rate scheduler

        +
      +
      +
      +

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

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      5. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      6. + + +

        + + +def + + +createState(index: Int, weight: NDArray): (NDArray, NDArray) + +

        + +Permalink + + +
        Definition Classes
        AdamOptimizer
        +
      7. + + +

        + + +def + + +deserializeState(bytes: Array[Byte]): AnyRef + +

        + +Permalink + + +
        Definition Classes
        AdamOptimizer
        +
      8. + + +

        + + +def + + +disposeState(state: AnyRef): Unit + +

        + +Permalink + + +
        Definition Classes
        AdamOptimizer
        +
      9. + + +

        + +final +def + + +eq(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      10. + + +

        + + +def + + +equals(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      11. + + +

        + + +def + + +finalize(): Unit + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +classOf[java.lang.Throwable] +) +
        +
      12. + + +

        + +final +def + + +getClass(): Class[_] + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      13. + + +

        + + +def + + +getLr(index: Int, lr: Float): Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      14. + + +

        + + +def + + +getWd(index: Int, wd: Float): Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      15. + + +

        + + +def + + +hashCode(): Int + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      16. + + +

        + + +var + + +idx2name: Map[Int, String] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      17. + + +

        + + +val + + +indexUpdateCount: Map[Int, Int] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      18. + + +

        + +final +def + + +isInstanceOf[T0]: Boolean + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      19. + + +

        + + +val + + +learningRate: Float + +

        + +Permalink + + +

        Float, Step size.

        +
      20. + + +

        + + +val + + +lrMult: Map[Either[Int, String], Float] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      21. + + +

        + +final +def + + +ne(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      22. + + +

        + +final +def + + +notify(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      23. + + +

        + +final +def + + +notifyAll(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      24. + + +

        + + +var + + +numUpdate: Int + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      25. + + +

        + + +var + + +rescaleGrad: Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      26. + + +

        + + +def + + +serializeState(state: AnyRef): Array[Byte] + +

        + +Permalink + + +
        Definition Classes
        AdamOptimizer
        +
      27. + + +

        + + +def + + +setArgNames(argNames: Seq[String]): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      28. + + +

        + + +def + + +setIdx2Name(paramIdx2Name: Map[Int, String]): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      29. + + +

        + + +def + + +setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit + +

        + +Permalink + + +

        Sets an individual learning rate multiplier for each parameter.

        Sets an individual learning rate multiplier for each parameter. If you specify a learning rate multiplier for a parameter, then the learning rate for the parameter will be set as the product of the global learning rate and its multiplier. note:: The default learning rate multiplier of a Variable -can be set with lr_mult argument in the constructor.

        Definition Classes
        Optimizer
        -
      30. - - -

        - - - def - - - setRescaleGrad(rescaleGrad: Float): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        -
      31. - - -

        - - - def - - - setSymbol(sym: Symbol): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        -
      32. - - -

        - - - def - - - setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit - -

        - - Permalink - - -

        Sets an individual weight decay multiplier for each parameter.

        Sets an individual weight decay multiplier for each parameter.

        By default, the weight decay multipler is set as 0 for all +can be set with lr_mult argument in the constructor.

        Definition Classes
        Optimizer
        +
      33. + + +

        + + +def + + +setRescaleGrad(rescaleGrad: Float): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      34. + + +

        + + +def + + +setSymbol(sym: Symbol): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      35. + + +

        + + +def + + +setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit + +

        + +Permalink + + +

        Sets an individual weight decay multiplier for each parameter.

        Sets an individual weight decay multiplier for each parameter.

        By default, the weight decay multipler is set as 0 for all parameters whose name don't end with _weight or _gamma, if you call the setIdx2Name method to set idx2name.

        note:: The default weight decay multiplier for a Variable -can be set with its wd_mult argument in the constructor.

        Definition Classes
        Optimizer
        -
      36. - - -

        - - - var - - - specialized: Boolean - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      37. - - -

        - - - var - - - symbol: Symbol - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      38. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      39. - - -

        - - - var - - - time: Int - -

        - - Permalink - - -
        Attributes
        protected
        -
      40. - - -

        - - - var - - - timeFirstIndex: Option[Int] - -

        - - Permalink - - -
        Attributes
        protected
        -
      41. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      42. - - -

        - - - def - - - update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit - -

        - - Permalink - - -

        Update the parameters.

        Update the parameters.

        index

        An unique integer key used to index the parameters

        weight

        weight ndarray

        grad

        grad ndarray

        state

        NDArray or other objects returned by initState - The auxiliary state used in optimization.

        Definition Classes
        AdamOptimizer
        -
      43. - - -

        - - - def - - - updateCount(index: Int): Unit - -

        - - Permalink - - -

        update num_update

        update num_update

        index

        The index will be updated

        Attributes
        protected
        Definition Classes
        Optimizer
        -
      44. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      45. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      46. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      47. - - -

        - - - val - - - wdMult: Map[Either[Int, String], Float] - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      48. - - -

        - - - val - - - weightSet: Set[Int] - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      -
      - - - -
      -

      Deprecated Value Members

      -
      1. - - -

        - - - def - - - setLrScale(lrScale: Map[Int, Float]): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        Annotations
        - @deprecated - -
        Deprecated

        Use setLrMult instead.

        -
      -
      -
      - -
      -
      -

      Inherited from Optimizer

      -
      -

      Inherited from Serializable

      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +can be set with its wd_mult argument in the constructor.

    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +specialized: Boolean + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +symbol: Symbol + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +var + + +time: Int + +

    + +Permalink + + +
    Attributes
    protected
    +
  • + + +

    + + +var + + +timeFirstIndex: Option[Int] + +

    + +Permalink + + +
    Attributes
    protected
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit + +

    + +Permalink + + +

    Update the parameters.

    Update the parameters.

    index

    An unique integer key used to index the parameters

    weight

    weight ndarray

    grad

    grad ndarray

    state

    NDArray or other objects returned by initState + The auxiliary state used in optimization.

    Definition Classes
    AdamOptimizer
    +
  • + + +

    + + +def + + +updateCount(index: Int): Unit + +

    + +Permalink + + +

    update num_update

    update num_update

    index

    The index will be updated

    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + + +val + + +wdMult: Map[Either[Int, String], Float] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +val + + +weightSet: Set[Int] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • +
    +
    +

    Deprecated Value Members

    +
    1. + + +

      + + +def + + +setLrScale(lrScale: Map[Int, Float]): Unit + +

      + +Permalink + + +
      Definition Classes
      Optimizer
      Annotations
      +@deprecated +
      Deprecated

      Use setLrMult instead.

      +
    +
    +
    +
    +
    +

    Inherited from Optimizer

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/optimizer/DCASGD.html b/api/scala/docs/ml/dmlc/mxnet/optimizer/DCASGD.html index 76095f329c34..17f4271a7d9a 100644 --- a/api/scala/docs/ml/dmlc/mxnet/optimizer/DCASGD.html +++ b/api/scala/docs/ml/dmlc/mxnet/optimizer/DCASGD.html @@ -1,19 +1,18 @@ + - - DCASGD - ml.dmlc.mxnet.optimizer.DCASGD - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.optimizer

    -

    DCASGD

    Related Doc: - package optimizer -

    - - Permalink - - -
    - -

    - - - class - - - DCASGD extends Optimizer - -

    - -

    DCASGD optimizer with momentum and weight regularization. -Implementation of paper "Asynchronous Stochastic Gradient Descent with -Delay Compensation for Distributed Deep Learning" + + +

    +Class +

    ml.dmlc.mxnet.optimizer

    +

    DCASGD

    Related Doc: + package optimizer +

    + +Permalink + + +
    +

    + + +class + + +DCASGD extends Optimizer + +

    +

    DCASGD optimizer with momentum and weight regularization. +Implementation of paper "Asynchronous Stochastic Gradient Descent with +Delay Compensation for Distributed Deep Learning"

    - Linear Supertypes -
    Optimizer, Serializable, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. DCASGD
    2. Optimizer
    3. Serializable
    4. AnyRef
    5. Any
    6. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - DCASGD(learningRate: Float = 0.01f, momentum: Float = 0.0f, lamda: Float = 0.04f, wd: Float = 0.0f, clipGradient: Float = 0f, lrScheduler: LRScheduler = null) - -

      - - Permalink - - - -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - def - - - createState(index: Int, weight: NDArray): (NDArray, NDArray) - -

      - - Permalink - - -
      Definition Classes
      DCASGDOptimizer
      -
    7. - - -

      - - - def - - - deserializeState(bytes: Array[Byte]): AnyRef - -

      - - Permalink - - -
      Definition Classes
      DCASGDOptimizer
      -
    8. - - -

      - - - def - - - disposeState(state: AnyRef): Unit - -

      - - Permalink - - -
      Definition Classes
      DCASGDOptimizer
      -
    9. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    10. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    12. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - - def - - - getLr(index: Int, lr: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    14. - - -

      - - - def - - - getWd(index: Int, wd: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    15. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    16. - - -

      - - - var - - - idx2name: Map[Int, String] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    17. - - -

      - - - val - - - indexUpdateCount: Map[Int, Int] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    18. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    19. - - -

      - - - val - - - learningRate: Float - -

      - - Permalink - - - -
    20. - - -

      - - - val - - - lrMult: Map[Either[Int, String], Float] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    21. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    22. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    23. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    24. - - -

      - - - var - - - numUpdate: Int - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    25. - - -

      - - - var - - - rescaleGrad: Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    26. - - -

      - - - def - - - serializeState(state: AnyRef): Array[Byte] - -

      - - Permalink - - -
      Definition Classes
      DCASGDOptimizer
      -
    27. - - -

      - - - def - - - setArgNames(argNames: Seq[String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    28. - - -

      - - - def - - - setIdx2Name(paramIdx2Name: Map[Int, String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    29. - - -

      - - - def - - - setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit - -

      - - Permalink - - -

      Sets an individual learning rate multiplier for each parameter.

      Sets an individual learning rate multiplier for each parameter. +Linear Supertypes +

      Optimizer, Serializable, AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. DCASGD
      2. Optimizer
      3. Serializable
      4. AnyRef
      5. Any
      6. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Instance Constructors

      +
      1. + + +

        + + +new + + +DCASGD(learningRate: Float = 0.01f, momentum: Float = 0.0f, lamda: Float = 0.04f, wd: Float = 0.0f, clipGradient: Float = 0f, lrScheduler: LRScheduler = null) + +

        + +Permalink + + +
      +
      +
      +

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

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      5. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      6. + + +

        + + +def + + +createState(index: Int, weight: NDArray): (NDArray, NDArray) + +

        + +Permalink + + +
        Definition Classes
        DCASGDOptimizer
        +
      7. + + +

        + + +def + + +deserializeState(bytes: Array[Byte]): AnyRef + +

        + +Permalink + + +
        Definition Classes
        DCASGDOptimizer
        +
      8. + + +

        + + +def + + +disposeState(state: AnyRef): Unit + +

        + +Permalink + + +
        Definition Classes
        DCASGDOptimizer
        +
      9. + + +

        + +final +def + + +eq(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      10. + + +

        + + +def + + +equals(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      11. + + +

        + + +def + + +finalize(): Unit + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +classOf[java.lang.Throwable] +) +
        +
      12. + + +

        + +final +def + + +getClass(): Class[_] + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      13. + + +

        + + +def + + +getLr(index: Int, lr: Float): Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      14. + + +

        + + +def + + +getWd(index: Int, wd: Float): Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      15. + + +

        + + +def + + +hashCode(): Int + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      16. + + +

        + + +var + + +idx2name: Map[Int, String] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      17. + + +

        + + +val + + +indexUpdateCount: Map[Int, Int] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      18. + + +

        + +final +def + + +isInstanceOf[T0]: Boolean + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      19. + + +

        + + +val + + +learningRate: Float + +

        + +Permalink + + +
      20. + + +

        + + +val + + +lrMult: Map[Either[Int, String], Float] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      21. + + +

        + +final +def + + +ne(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      22. + + +

        + +final +def + + +notify(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      23. + + +

        + +final +def + + +notifyAll(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      24. + + +

        + + +var + + +numUpdate: Int + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      25. + + +

        + + +var + + +rescaleGrad: Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      26. + + +

        + + +def + + +serializeState(state: AnyRef): Array[Byte] + +

        + +Permalink + + +
        Definition Classes
        DCASGDOptimizer
        +
      27. + + +

        + + +def + + +setArgNames(argNames: Seq[String]): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      28. + + +

        + + +def + + +setIdx2Name(paramIdx2Name: Map[Int, String]): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      29. + + +

        + + +def + + +setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit + +

        + +Permalink + + +

        Sets an individual learning rate multiplier for each parameter.

        Sets an individual learning rate multiplier for each parameter. If you specify a learning rate multiplier for a parameter, then the learning rate for the parameter will be set as the product of the global learning rate and its multiplier. note:: The default learning rate multiplier of a Variable -can be set with lr_mult argument in the constructor.

        Definition Classes
        Optimizer
        -
      30. - - -

        - - - def - - - setRescaleGrad(rescaleGrad: Float): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        -
      31. - - -

        - - - def - - - setSymbol(sym: Symbol): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        -
      32. - - -

        - - - def - - - setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit - -

        - - Permalink - - -

        Sets an individual weight decay multiplier for each parameter.

        Sets an individual weight decay multiplier for each parameter.

        By default, the weight decay multipler is set as 0 for all +can be set with lr_mult argument in the constructor.

        Definition Classes
        Optimizer
        +
      33. + + +

        + + +def + + +setRescaleGrad(rescaleGrad: Float): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      34. + + +

        + + +def + + +setSymbol(sym: Symbol): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      35. + + +

        + + +def + + +setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit + +

        + +Permalink + + +

        Sets an individual weight decay multiplier for each parameter.

        Sets an individual weight decay multiplier for each parameter.

        By default, the weight decay multipler is set as 0 for all parameters whose name don't end with _weight or _gamma, if you call the setIdx2Name method to set idx2name.

        note:: The default weight decay multiplier for a Variable -can be set with its wd_mult argument in the constructor.

        Definition Classes
        Optimizer
        -
      36. - - -

        - - - var - - - specialized: Boolean - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      37. - - -

        - - - var - - - symbol: Symbol - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      38. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      39. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      40. - - -

        - - - def - - - update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit - -

        - - Permalink - - -

        Update the parameters.

        Update the parameters.

        index

        An unique integer key used to index the parameters

        weight

        weight ndarray

        grad

        grad ndarray

        state

        NDArray or other objects returned by initState - The auxiliary state used in optimization.

        Definition Classes
        DCASGDOptimizer
        -
      41. - - -

        - - - def - - - updateCount(index: Int): Unit - -

        - - Permalink - - -

        update num_update

        update num_update

        index

        The index will be updated

        Attributes
        protected
        Definition Classes
        Optimizer
        -
      42. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      43. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      44. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      45. - - -

        - - - val - - - wdMult: Map[Either[Int, String], Float] - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      46. - - -

        - - - val - - - weightSet: Set[Int] - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      -
      - - - -
      -

      Deprecated Value Members

      -
      1. - - -

        - - - def - - - setLrScale(lrScale: Map[Int, Float]): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        Annotations
        - @deprecated - -
        Deprecated

        Use setLrMult instead.

        -
      -
      -
      - -
      -
      -

      Inherited from Optimizer

      -
      -

      Inherited from Serializable

      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +can be set with its wd_mult argument in the constructor.

    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +specialized: Boolean + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +symbol: Symbol + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit + +

    + +Permalink + + +

    Update the parameters.

    Update the parameters.

    index

    An unique integer key used to index the parameters

    weight

    weight ndarray

    grad

    grad ndarray

    state

    NDArray or other objects returned by initState + The auxiliary state used in optimization.

    Definition Classes
    DCASGDOptimizer
    +
  • + + +

    + + +def + + +updateCount(index: Int): Unit + +

    + +Permalink + + +

    update num_update

    update num_update

    index

    The index will be updated

    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + + +val + + +wdMult: Map[Either[Int, String], Float] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +val + + +weightSet: Set[Int] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • +
    +
    +

    Deprecated Value Members

    +
    1. + + +

      + + +def + + +setLrScale(lrScale: Map[Int, Float]): Unit + +

      + +Permalink + + +
      Definition Classes
      Optimizer
      Annotations
      +@deprecated +
      Deprecated

      Use setLrMult instead.

      +
    +
    +
    +
    +
    +

    Inherited from Optimizer

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/optimizer/NAG.html b/api/scala/docs/ml/dmlc/mxnet/optimizer/NAG.html index c65889620fe8..327c07f12ac7 100644 --- a/api/scala/docs/ml/dmlc/mxnet/optimizer/NAG.html +++ b/api/scala/docs/ml/dmlc/mxnet/optimizer/NAG.html @@ -1,19 +1,18 @@ + - - NAG - ml.dmlc.mxnet.optimizer.NAG - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.optimizer

    -

    NAG

    Related Doc: - package optimizer -

    - - Permalink - - -
    - -

    - - - class - - - NAG extends Optimizer - -

    - -

    SGD with nesterov. + + +

    +Class +

    ml.dmlc.mxnet.optimizer

    +

    NAG

    Related Doc: + package optimizer +

    + +Permalink + + +
    +

    + + +class + + +NAG extends Optimizer + +

    +

    SGD with nesterov. It is implemented according to https://github.com/torch/optim/blob/master/sgd.lua

    - Linear Supertypes -
    Optimizer, Serializable, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. NAG
    2. Optimizer
    3. Serializable
    4. AnyRef
    5. Any
    6. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - NAG(learningRate: Float = 0.01f, momentum: Float = 0.0f, wd: Float = 0.0001f, clipGradient: Float = 0f, lrScheduler: LRScheduler = null) - -

      - - Permalink - - -

      learningRate

      Float, Step size.

      momentum

      Float, momentum value.

      wd

      Float, L2 regularization coefficient add to all the weights

      clipGradient

      Float, clip gradient in range [-clip_gradient, clip_gradient]

      lrScheduler

      The learning rate scheduler

      -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - def - - - createState(index: Int, weight: NDArray): AnyRef - -

      - - Permalink - - -
      Definition Classes
      NAGOptimizer
      -
    7. - - -

      - - - def - - - deserializeState(bytes: Array[Byte]): AnyRef - -

      - - Permalink - - -
      Definition Classes
      NAGOptimizer
      -
    8. - - -

      - - - def - - - disposeState(state: AnyRef): Unit - -

      - - Permalink - - -
      Definition Classes
      NAGOptimizer
      -
    9. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    10. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    12. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - - def - - - getLr(index: Int, lr: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    14. - - -

      - - - def - - - getWd(index: Int, wd: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    15. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    16. - - -

      - - - var - - - idx2name: Map[Int, String] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    17. - - -

      - - - val - - - indexUpdateCount: Map[Int, Int] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    18. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    19. - - -

      - - - val - - - learningRate: Float - -

      - - Permalink - - -

      Float, Step size.

      -
    20. - - -

      - - - val - - - lrMult: Map[Either[Int, String], Float] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    21. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    22. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    23. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    24. - - -

      - - - var - - - numUpdate: Int - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    25. - - -

      - - - var - - - rescaleGrad: Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    26. - - -

      - - - def - - - serializeState(state: AnyRef): Array[Byte] - -

      - - Permalink - - -
      Definition Classes
      NAGOptimizer
      -
    27. - - -

      - - - def - - - setArgNames(argNames: Seq[String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    28. - - -

      - - - def - - - setIdx2Name(paramIdx2Name: Map[Int, String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    29. - - -

      - - - def - - - setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit - -

      - - Permalink - - -

      Sets an individual learning rate multiplier for each parameter.

      Sets an individual learning rate multiplier for each parameter. +Linear Supertypes +

      Optimizer, Serializable, AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. NAG
      2. Optimizer
      3. Serializable
      4. AnyRef
      5. Any
      6. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Instance Constructors

      +
      1. + + +

        + + +new + + +NAG(learningRate: Float = 0.01f, momentum: Float = 0.0f, wd: Float = 0.0001f, clipGradient: Float = 0f, lrScheduler: LRScheduler = null) + +

        + +Permalink + + +

        learningRate

        Float, Step size.

        momentum

        Float, momentum value.

        wd

        Float, L2 regularization coefficient add to all the weights

        clipGradient

        Float, clip gradient in range [-clip_gradient, clip_gradient]

        lrScheduler

        The learning rate scheduler

        +
      +
      +
      +

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

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      5. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      6. + + +

        + + +def + + +createState(index: Int, weight: NDArray): AnyRef + +

        + +Permalink + + +
        Definition Classes
        NAGOptimizer
        +
      7. + + +

        + + +def + + +deserializeState(bytes: Array[Byte]): AnyRef + +

        + +Permalink + + +
        Definition Classes
        NAGOptimizer
        +
      8. + + +

        + + +def + + +disposeState(state: AnyRef): Unit + +

        + +Permalink + + +
        Definition Classes
        NAGOptimizer
        +
      9. + + +

        + +final +def + + +eq(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      10. + + +

        + + +def + + +equals(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      11. + + +

        + + +def + + +finalize(): Unit + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +classOf[java.lang.Throwable] +) +
        +
      12. + + +

        + +final +def + + +getClass(): Class[_] + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      13. + + +

        + + +def + + +getLr(index: Int, lr: Float): Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      14. + + +

        + + +def + + +getWd(index: Int, wd: Float): Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      15. + + +

        + + +def + + +hashCode(): Int + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      16. + + +

        + + +var + + +idx2name: Map[Int, String] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      17. + + +

        + + +val + + +indexUpdateCount: Map[Int, Int] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      18. + + +

        + +final +def + + +isInstanceOf[T0]: Boolean + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      19. + + +

        + + +val + + +learningRate: Float + +

        + +Permalink + + +

        Float, Step size.

        +
      20. + + +

        + + +val + + +lrMult: Map[Either[Int, String], Float] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      21. + + +

        + +final +def + + +ne(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      22. + + +

        + +final +def + + +notify(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      23. + + +

        + +final +def + + +notifyAll(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      24. + + +

        + + +var + + +numUpdate: Int + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      25. + + +

        + + +var + + +rescaleGrad: Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      26. + + +

        + + +def + + +serializeState(state: AnyRef): Array[Byte] + +

        + +Permalink + + +
        Definition Classes
        NAGOptimizer
        +
      27. + + +

        + + +def + + +setArgNames(argNames: Seq[String]): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      28. + + +

        + + +def + + +setIdx2Name(paramIdx2Name: Map[Int, String]): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      29. + + +

        + + +def + + +setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit + +

        + +Permalink + + +

        Sets an individual learning rate multiplier for each parameter.

        Sets an individual learning rate multiplier for each parameter. If you specify a learning rate multiplier for a parameter, then the learning rate for the parameter will be set as the product of the global learning rate and its multiplier. note:: The default learning rate multiplier of a Variable -can be set with lr_mult argument in the constructor.

        Definition Classes
        Optimizer
        -
      30. - - -

        - - - def - - - setRescaleGrad(rescaleGrad: Float): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        -
      31. - - -

        - - - def - - - setSymbol(sym: Symbol): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        -
      32. - - -

        - - - def - - - setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit - -

        - - Permalink - - -

        Sets an individual weight decay multiplier for each parameter.

        Sets an individual weight decay multiplier for each parameter.

        By default, the weight decay multipler is set as 0 for all +can be set with lr_mult argument in the constructor.

        Definition Classes
        Optimizer
        +
      33. + + +

        + + +def + + +setRescaleGrad(rescaleGrad: Float): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      34. + + +

        + + +def + + +setSymbol(sym: Symbol): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      35. + + +

        + + +def + + +setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit + +

        + +Permalink + + +

        Sets an individual weight decay multiplier for each parameter.

        Sets an individual weight decay multiplier for each parameter.

        By default, the weight decay multipler is set as 0 for all parameters whose name don't end with _weight or _gamma, if you call the setIdx2Name method to set idx2name.

        note:: The default weight decay multiplier for a Variable -can be set with its wd_mult argument in the constructor.

        Definition Classes
        Optimizer
        -
      36. - - -

        - - - var - - - specialized: Boolean - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      37. - - -

        - - - var - - - symbol: Symbol - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      38. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      39. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      40. - - -

        - - - def - - - update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit - -

        - - Permalink - - -

        Update the parameters.

        Update the parameters.

        index

        An unique integer key used to index the parameters

        weight

        weight ndarray

        grad

        grad ndarray

        state

        NDArray or other objects returned by initState - The auxiliary state used in optimization.

        Definition Classes
        NAGOptimizer
        -
      41. - - -

        - - - def - - - updateCount(index: Int): Unit - -

        - - Permalink - - -

        update num_update

        update num_update

        index

        The index will be updated

        Attributes
        protected
        Definition Classes
        Optimizer
        -
      42. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      43. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      44. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      45. - - -

        - - - val - - - wdMult: Map[Either[Int, String], Float] - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      46. - - -

        - - - val - - - weightSet: Set[Int] - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      -
      - - - -
      -

      Deprecated Value Members

      -
      1. - - -

        - - - def - - - setLrScale(lrScale: Map[Int, Float]): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        Annotations
        - @deprecated - -
        Deprecated

        Use setLrMult instead.

        -
      -
      -
      - -
      -
      -

      Inherited from Optimizer

      -
      -

      Inherited from Serializable

      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +can be set with its wd_mult argument in the constructor.

    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +specialized: Boolean + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +symbol: Symbol + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit + +

    + +Permalink + + +

    Update the parameters.

    Update the parameters.

    index

    An unique integer key used to index the parameters

    weight

    weight ndarray

    grad

    grad ndarray

    state

    NDArray or other objects returned by initState + The auxiliary state used in optimization.

    Definition Classes
    NAGOptimizer
    +
  • + + +

    + + +def + + +updateCount(index: Int): Unit + +

    + +Permalink + + +

    update num_update

    update num_update

    index

    The index will be updated

    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + + +val + + +wdMult: Map[Either[Int, String], Float] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +val + + +weightSet: Set[Int] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • +
    +
    +

    Deprecated Value Members

    +
    1. + + +

      + + +def + + +setLrScale(lrScale: Map[Int, Float]): Unit + +

      + +Permalink + + +
      Definition Classes
      Optimizer
      Annotations
      +@deprecated +
      Deprecated

      Use setLrMult instead.

      +
    +
    +
    +
    +
    +

    Inherited from Optimizer

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/optimizer/RMSProp.html b/api/scala/docs/ml/dmlc/mxnet/optimizer/RMSProp.html index d83cfda7736f..e3f61f7e4dfe 100644 --- a/api/scala/docs/ml/dmlc/mxnet/optimizer/RMSProp.html +++ b/api/scala/docs/ml/dmlc/mxnet/optimizer/RMSProp.html @@ -1,19 +1,18 @@ + - - RMSProp - ml.dmlc.mxnet.optimizer.RMSProp - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.optimizer

    -

    RMSProp

    Related Doc: - package optimizer -

    - - Permalink - - -
    - -

    - - - class - - - RMSProp extends Optimizer - -

    - -

    RMSProp optimizer as described in Tieleman & Hinton, 2012. + + +

    +Class +

    ml.dmlc.mxnet.optimizer

    +

    RMSProp

    Related Doc: + package optimizer +

    + +Permalink + + +
    +

    + + +class + + +RMSProp extends Optimizer + +

    +

    RMSProp optimizer as described in Tieleman & Hinton, 2012. http://arxiv.org/pdf/1308.0850v5.pdf Eq(38) - Eq(45) by Alex Graves, 2013.

    - Linear Supertypes -
    Optimizer, Serializable, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. RMSProp
    2. Optimizer
    3. Serializable
    4. AnyRef
    5. Any
    6. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - RMSProp(learningRate: Float = 0.002f, rescaleGradient: Float = 1.0f, gamma1: Float = 0.95f, gamma2: Float = 0.9f, wd: Float = 0.0f, lrScheduler: LRScheduler = null, clipGradient: Float = 0f) - -

      - - Permalink - - -

      learningRate

      Float, Step size.

      rescaleGradient

      Float, rescaling factor of gradient.

      gamma1

      Float, decay factor of moving average for gradient, gradient^^2.

      gamma2

      Float, momentum factor of moving average for gradient.

      wd

      Float, L2 regularization coefficient add to all the weights

      lrScheduler

      The learning rate scheduler

      clipGradient

      Float, clip gradient in range [-clip_gradient, clip_gradient]

      -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - def - - - createState(index: Int, weight: NDArray): (NDArray, NDArray, NDArray) - -

      - - Permalink - - -
      Definition Classes
      RMSPropOptimizer
      -
    7. - - -

      - - - def - - - deserializeState(bytes: Array[Byte]): AnyRef - -

      - - Permalink - - -
      Definition Classes
      RMSPropOptimizer
      -
    8. - - -

      - - - def - - - disposeState(state: AnyRef): Unit - -

      - - Permalink - - -
      Definition Classes
      RMSPropOptimizer
      -
    9. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    10. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    12. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - - def - - - getLr(index: Int, lr: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    14. - - -

      - - - def - - - getWd(index: Int, wd: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    15. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    16. - - -

      - - - var - - - idx2name: Map[Int, String] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    17. - - -

      - - - val - - - indexUpdateCount: Map[Int, Int] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    18. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    19. - - -

      - - - val - - - learningRate: Float - -

      - - Permalink - - -

      Float, Step size.

      -
    20. - - -

      - - - val - - - lrMult: Map[Either[Int, String], Float] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    21. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    22. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    23. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    24. - - -

      - - - var - - - numUpdate: Int - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    25. - - -

      - - - var - - - rescaleGrad: Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    26. - - -

      - - - def - - - serializeState(state: AnyRef): Array[Byte] - -

      - - Permalink - - -
      Definition Classes
      RMSPropOptimizer
      -
    27. - - -

      - - - def - - - setArgNames(argNames: Seq[String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    28. - - -

      - - - def - - - setIdx2Name(paramIdx2Name: Map[Int, String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    29. - - -

      - - - def - - - setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit - -

      - - Permalink - - -

      Sets an individual learning rate multiplier for each parameter.

      Sets an individual learning rate multiplier for each parameter. +Linear Supertypes +

      Optimizer, Serializable, AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. RMSProp
      2. Optimizer
      3. Serializable
      4. AnyRef
      5. Any
      6. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Instance Constructors

      +
      1. + + +

        + + +new + + +RMSProp(learningRate: Float = 0.002f, rescaleGradient: Float = 1.0f, gamma1: Float = 0.95f, gamma2: Float = 0.9f, wd: Float = 0.0f, lrScheduler: LRScheduler = null, clipGradient: Float = 0f) + +

        + +Permalink + + +

        learningRate

        Float, Step size.

        rescaleGradient

        Float, rescaling factor of gradient.

        gamma1

        Float, decay factor of moving average for gradient, gradient^^2.

        gamma2

        Float, momentum factor of moving average for gradient.

        wd

        Float, L2 regularization coefficient add to all the weights

        lrScheduler

        The learning rate scheduler

        clipGradient

        Float, clip gradient in range [-clip_gradient, clip_gradient]

        +
      +
      +
      +

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

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      5. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      6. + + +

        + + +def + + +createState(index: Int, weight: NDArray): (NDArray, NDArray, NDArray) + +

        + +Permalink + + +
        Definition Classes
        RMSPropOptimizer
        +
      7. + + +

        + + +def + + +deserializeState(bytes: Array[Byte]): AnyRef + +

        + +Permalink + + +
        Definition Classes
        RMSPropOptimizer
        +
      8. + + +

        + + +def + + +disposeState(state: AnyRef): Unit + +

        + +Permalink + + +
        Definition Classes
        RMSPropOptimizer
        +
      9. + + +

        + +final +def + + +eq(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      10. + + +

        + + +def + + +equals(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      11. + + +

        + + +def + + +finalize(): Unit + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +classOf[java.lang.Throwable] +) +
        +
      12. + + +

        + +final +def + + +getClass(): Class[_] + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      13. + + +

        + + +def + + +getLr(index: Int, lr: Float): Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      14. + + +

        + + +def + + +getWd(index: Int, wd: Float): Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      15. + + +

        + + +def + + +hashCode(): Int + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      16. + + +

        + + +var + + +idx2name: Map[Int, String] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      17. + + +

        + + +val + + +indexUpdateCount: Map[Int, Int] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      18. + + +

        + +final +def + + +isInstanceOf[T0]: Boolean + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      19. + + +

        + + +val + + +learningRate: Float + +

        + +Permalink + + +

        Float, Step size.

        +
      20. + + +

        + + +val + + +lrMult: Map[Either[Int, String], Float] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      21. + + +

        + +final +def + + +ne(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      22. + + +

        + +final +def + + +notify(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      23. + + +

        + +final +def + + +notifyAll(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      24. + + +

        + + +var + + +numUpdate: Int + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      25. + + +

        + + +var + + +rescaleGrad: Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      26. + + +

        + + +def + + +serializeState(state: AnyRef): Array[Byte] + +

        + +Permalink + + +
        Definition Classes
        RMSPropOptimizer
        +
      27. + + +

        + + +def + + +setArgNames(argNames: Seq[String]): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      28. + + +

        + + +def + + +setIdx2Name(paramIdx2Name: Map[Int, String]): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      29. + + +

        + + +def + + +setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit + +

        + +Permalink + + +

        Sets an individual learning rate multiplier for each parameter.

        Sets an individual learning rate multiplier for each parameter. If you specify a learning rate multiplier for a parameter, then the learning rate for the parameter will be set as the product of the global learning rate and its multiplier. note:: The default learning rate multiplier of a Variable -can be set with lr_mult argument in the constructor.

        Definition Classes
        Optimizer
        -
      30. - - -

        - - - def - - - setRescaleGrad(rescaleGrad: Float): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        -
      31. - - -

        - - - def - - - setSymbol(sym: Symbol): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        -
      32. - - -

        - - - def - - - setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit - -

        - - Permalink - - -

        Sets an individual weight decay multiplier for each parameter.

        Sets an individual weight decay multiplier for each parameter.

        By default, the weight decay multipler is set as 0 for all +can be set with lr_mult argument in the constructor.

        Definition Classes
        Optimizer
        +
      33. + + +

        + + +def + + +setRescaleGrad(rescaleGrad: Float): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      34. + + +

        + + +def + + +setSymbol(sym: Symbol): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      35. + + +

        + + +def + + +setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit + +

        + +Permalink + + +

        Sets an individual weight decay multiplier for each parameter.

        Sets an individual weight decay multiplier for each parameter.

        By default, the weight decay multipler is set as 0 for all parameters whose name don't end with _weight or _gamma, if you call the setIdx2Name method to set idx2name.

        note:: The default weight decay multiplier for a Variable -can be set with its wd_mult argument in the constructor.

        Definition Classes
        Optimizer
        -
      36. - - -

        - - - var - - - specialized: Boolean - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      37. - - -

        - - - var - - - symbol: Symbol - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      38. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      39. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      40. - - -

        - - - def - - - update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit - -

        - - Permalink - - -

        Update the parameters.

        Update the parameters.

        index

        An unique integer key used to index the parameters

        weight

        weight ndarray

        grad

        grad ndarray

        state

        NDArray or other objects returned by initState - The auxiliary state used in optimization.

        Definition Classes
        RMSPropOptimizer
        -
      41. - - -

        - - - def - - - updateCount(index: Int): Unit - -

        - - Permalink - - -

        update num_update

        update num_update

        index

        The index will be updated

        Attributes
        protected
        Definition Classes
        Optimizer
        -
      42. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      43. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      44. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      45. - - -

        - - - val - - - wdMult: Map[Either[Int, String], Float] - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      46. - - -

        - - - val - - - weightSet: Set[Int] - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      -
      - - - -
      -

      Deprecated Value Members

      -
      1. - - -

        - - - def - - - setLrScale(lrScale: Map[Int, Float]): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        Annotations
        - @deprecated - -
        Deprecated

        Use setLrMult instead.

        -
      -
      -
      - -
      -
      -

      Inherited from Optimizer

      -
      -

      Inherited from Serializable

      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +can be set with its wd_mult argument in the constructor.

    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +specialized: Boolean + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +symbol: Symbol + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit + +

    + +Permalink + + +

    Update the parameters.

    Update the parameters.

    index

    An unique integer key used to index the parameters

    weight

    weight ndarray

    grad

    grad ndarray

    state

    NDArray or other objects returned by initState + The auxiliary state used in optimization.

    Definition Classes
    RMSPropOptimizer
    +
  • + + +

    + + +def + + +updateCount(index: Int): Unit + +

    + +Permalink + + +

    update num_update

    update num_update

    index

    The index will be updated

    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + + +val + + +wdMult: Map[Either[Int, String], Float] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +val + + +weightSet: Set[Int] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • +
    +
    +

    Deprecated Value Members

    +
    1. + + +

      + + +def + + +setLrScale(lrScale: Map[Int, Float]): Unit + +

      + +Permalink + + +
      Definition Classes
      Optimizer
      Annotations
      +@deprecated +
      Deprecated

      Use setLrMult instead.

      +
    +
    +
    +
    +
    +

    Inherited from Optimizer

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/optimizer/SGD.html b/api/scala/docs/ml/dmlc/mxnet/optimizer/SGD.html index 50ea9ddadf51..55818775e6f4 100644 --- a/api/scala/docs/ml/dmlc/mxnet/optimizer/SGD.html +++ b/api/scala/docs/ml/dmlc/mxnet/optimizer/SGD.html @@ -1,19 +1,18 @@ + - - SGD - ml.dmlc.mxnet.optimizer.SGD - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.optimizer

    -

    SGD

    Related Doc: - package optimizer -

    - - Permalink - - -
    - -

    - - - class - - - SGD extends Optimizer - -

    - -

    A very simple SGD optimizer with momentum and weight regularization. + + +

    +Class +

    ml.dmlc.mxnet.optimizer

    +

    SGD

    Related Doc: + package optimizer +

    + +Permalink + + +
    +

    + + +class + + +SGD extends Optimizer + +

    +

    A very simple SGD optimizer with momentum and weight regularization.

    - Linear Supertypes -
    Optimizer, Serializable, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. SGD
    2. Optimizer
    3. Serializable
    4. AnyRef
    5. Any
    6. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - SGD(learningRate: Float = 0.01f, momentum: Float = 0.0f, wd: Float = 0.0001f, clipGradient: Float = 0f, lrScheduler: LRScheduler = null) - -

      - - Permalink - - - -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - def - - - createState(index: Int, weight: NDArray): AnyRef - -

      - - Permalink - - -
      Definition Classes
      SGDOptimizer
      -
    7. - - -

      - - - def - - - deserializeState(bytes: Array[Byte]): AnyRef - -

      - - Permalink - - -
      Definition Classes
      SGDOptimizer
      -
    8. - - -

      - - - def - - - disposeState(state: AnyRef): Unit - -

      - - Permalink - - -
      Definition Classes
      SGDOptimizer
      -
    9. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    10. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    12. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - - def - - - getLr(index: Int, lr: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    14. - - -

      - - - def - - - getWd(index: Int, wd: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    15. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    16. - - -

      - - - var - - - idx2name: Map[Int, String] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    17. - - -

      - - - val - - - indexUpdateCount: Map[Int, Int] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    18. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    19. - - -

      - - - val - - - learningRate: Float - -

      - - Permalink - - - -
    20. - - -

      - - - val - - - lrMult: Map[Either[Int, String], Float] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    21. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    22. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    23. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    24. - - -

      - - - var - - - numUpdate: Int - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    25. - - -

      - - - var - - - rescaleGrad: Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    26. - - -

      - - - def - - - serializeState(state: AnyRef): Array[Byte] - -

      - - Permalink - - -
      Definition Classes
      SGDOptimizer
      -
    27. - - -

      - - - def - - - setArgNames(argNames: Seq[String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    28. - - -

      - - - def - - - setIdx2Name(paramIdx2Name: Map[Int, String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    29. - - -

      - - - def - - - setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit - -

      - - Permalink - - -

      Sets an individual learning rate multiplier for each parameter.

      Sets an individual learning rate multiplier for each parameter. +Linear Supertypes +

      Optimizer, Serializable, AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. SGD
      2. Optimizer
      3. Serializable
      4. AnyRef
      5. Any
      6. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Instance Constructors

      +
      1. + + +

        + + +new + + +SGD(learningRate: Float = 0.01f, momentum: Float = 0.0f, wd: Float = 0.0001f, clipGradient: Float = 0f, lrScheduler: LRScheduler = null) + +

        + +Permalink + + +
      +
      +
      +

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

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      5. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      6. + + +

        + + +def + + +createState(index: Int, weight: NDArray): AnyRef + +

        + +Permalink + + +
        Definition Classes
        SGDOptimizer
        +
      7. + + +

        + + +def + + +deserializeState(bytes: Array[Byte]): AnyRef + +

        + +Permalink + + +
        Definition Classes
        SGDOptimizer
        +
      8. + + +

        + + +def + + +disposeState(state: AnyRef): Unit + +

        + +Permalink + + +
        Definition Classes
        SGDOptimizer
        +
      9. + + +

        + +final +def + + +eq(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      10. + + +

        + + +def + + +equals(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      11. + + +

        + + +def + + +finalize(): Unit + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +classOf[java.lang.Throwable] +) +
        +
      12. + + +

        + +final +def + + +getClass(): Class[_] + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      13. + + +

        + + +def + + +getLr(index: Int, lr: Float): Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      14. + + +

        + + +def + + +getWd(index: Int, wd: Float): Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      15. + + +

        + + +def + + +hashCode(): Int + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      16. + + +

        + + +var + + +idx2name: Map[Int, String] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      17. + + +

        + + +val + + +indexUpdateCount: Map[Int, Int] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      18. + + +

        + +final +def + + +isInstanceOf[T0]: Boolean + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      19. + + +

        + + +val + + +learningRate: Float + +

        + +Permalink + + +
      20. + + +

        + + +val + + +lrMult: Map[Either[Int, String], Float] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      21. + + +

        + +final +def + + +ne(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      22. + + +

        + +final +def + + +notify(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      23. + + +

        + +final +def + + +notifyAll(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      24. + + +

        + + +var + + +numUpdate: Int + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      25. + + +

        + + +var + + +rescaleGrad: Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      26. + + +

        + + +def + + +serializeState(state: AnyRef): Array[Byte] + +

        + +Permalink + + +
        Definition Classes
        SGDOptimizer
        +
      27. + + +

        + + +def + + +setArgNames(argNames: Seq[String]): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      28. + + +

        + + +def + + +setIdx2Name(paramIdx2Name: Map[Int, String]): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      29. + + +

        + + +def + + +setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit + +

        + +Permalink + + +

        Sets an individual learning rate multiplier for each parameter.

        Sets an individual learning rate multiplier for each parameter. If you specify a learning rate multiplier for a parameter, then the learning rate for the parameter will be set as the product of the global learning rate and its multiplier. note:: The default learning rate multiplier of a Variable -can be set with lr_mult argument in the constructor.

        Definition Classes
        Optimizer
        -
      30. - - -

        - - - def - - - setRescaleGrad(rescaleGrad: Float): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        -
      31. - - -

        - - - def - - - setSymbol(sym: Symbol): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        -
      32. - - -

        - - - def - - - setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit - -

        - - Permalink - - -

        Sets an individual weight decay multiplier for each parameter.

        Sets an individual weight decay multiplier for each parameter.

        By default, the weight decay multipler is set as 0 for all +can be set with lr_mult argument in the constructor.

        Definition Classes
        Optimizer
        +
      33. + + +

        + + +def + + +setRescaleGrad(rescaleGrad: Float): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      34. + + +

        + + +def + + +setSymbol(sym: Symbol): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      35. + + +

        + + +def + + +setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit + +

        + +Permalink + + +

        Sets an individual weight decay multiplier for each parameter.

        Sets an individual weight decay multiplier for each parameter.

        By default, the weight decay multipler is set as 0 for all parameters whose name don't end with _weight or _gamma, if you call the setIdx2Name method to set idx2name.

        note:: The default weight decay multiplier for a Variable -can be set with its wd_mult argument in the constructor.

        Definition Classes
        Optimizer
        -
      36. - - -

        - - - var - - - specialized: Boolean - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      37. - - -

        - - - var - - - symbol: Symbol - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      38. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      39. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      40. - - -

        - - - def - - - update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit - -

        - - Permalink - - -

        Update the parameters.

        Update the parameters.

        index

        An unique integer key used to index the parameters

        weight

        weight ndarray

        grad

        grad ndarray

        state

        NDArray or other objects returned by initState - The auxiliary state used in optimization.

        Definition Classes
        SGDOptimizer
        -
      41. - - -

        - - - def - - - updateCount(index: Int): Unit - -

        - - Permalink - - -

        update num_update

        update num_update

        index

        The index will be updated

        Attributes
        protected
        Definition Classes
        Optimizer
        -
      42. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      43. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      44. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      45. - - -

        - - - val - - - wdMult: Map[Either[Int, String], Float] - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      46. - - -

        - - - val - - - weightSet: Set[Int] - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      -
      - - - -
      -

      Deprecated Value Members

      -
      1. - - -

        - - - def - - - setLrScale(lrScale: Map[Int, Float]): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        Annotations
        - @deprecated - -
        Deprecated

        Use setLrMult instead.

        -
      -
      -
      - -
      -
      -

      Inherited from Optimizer

      -
      -

      Inherited from Serializable

      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +can be set with its wd_mult argument in the constructor.

    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +specialized: Boolean + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +symbol: Symbol + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit + +

    + +Permalink + + +

    Update the parameters.

    Update the parameters.

    index

    An unique integer key used to index the parameters

    weight

    weight ndarray

    grad

    grad ndarray

    state

    NDArray or other objects returned by initState + The auxiliary state used in optimization.

    Definition Classes
    SGDOptimizer
    +
  • + + +

    + + +def + + +updateCount(index: Int): Unit + +

    + +Permalink + + +

    update num_update

    update num_update

    index

    The index will be updated

    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + + +val + + +wdMult: Map[Either[Int, String], Float] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +val + + +weightSet: Set[Int] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • +
    +
    +

    Deprecated Value Members

    +
    1. + + +

      + + +def + + +setLrScale(lrScale: Map[Int, Float]): Unit + +

      + +Permalink + + +
      Definition Classes
      Optimizer
      Annotations
      +@deprecated +
      Deprecated

      Use setLrMult instead.

      +
    +
    +
    +
    +
    +

    Inherited from Optimizer

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/optimizer/SGLD.html b/api/scala/docs/ml/dmlc/mxnet/optimizer/SGLD.html index e83a8b4af5e8..d3c34d64315a 100644 --- a/api/scala/docs/ml/dmlc/mxnet/optimizer/SGLD.html +++ b/api/scala/docs/ml/dmlc/mxnet/optimizer/SGLD.html @@ -1,19 +1,18 @@ + - - SGLD - ml.dmlc.mxnet.optimizer.SGLD - - - - - - - - - - - - + + + + - - - -
    - Class -

    ml.dmlc.mxnet.optimizer

    -

    SGLD

    Related Doc: - package optimizer -

    - - Permalink - - -
    - -

    - - - class - - - SGLD extends Optimizer - -

    - -

    Stochastic Langevin Dynamics Updater to sample from a distribution. + + +

    +Class +

    ml.dmlc.mxnet.optimizer

    +

    SGLD

    Related Doc: + package optimizer +

    + +Permalink + + +
    +

    + + +class + + +SGLD extends Optimizer + +

    +

    Stochastic Langevin Dynamics Updater to sample from a distribution.

    - Linear Supertypes -
    Optimizer, Serializable, AnyRef, Any
    -
    - - -
    -
    -
    - Ordering -
      - -
    1. Alphabetic
    2. -
    3. By Inheritance
    4. -
    -
    -
    - Inherited
    -
    -
      -
    1. SGLD
    2. Optimizer
    3. Serializable
    4. AnyRef
    5. Any
    6. -
    -
    - -
      -
    1. Hide All
    2. -
    3. Show All
    4. -
    -
    -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    -
    -

    Instance Constructors

    -
    1. - - -

      - - - new - - - SGLD(learningRate: Float = 0.01f, rescaleGradient: Float = 1.0f, wd: Float = 0.0001f, clipGradient: Float = 0f, lrScheduler: LRScheduler = null) - -

      - - Permalink - - -

      learningRate

      Float, Step size.

      rescaleGradient

      Float, rescaling factor of gradient.

      wd

      Float, L2 regularization coefficient add to all the weights

      clipGradient

      Float, clip gradient in range [-clip_gradient, clip_gradient]

      lrScheduler

      The learning rate scheduler

      -
    -
    - - - - - -
    -

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

      - - final - def - - - asInstanceOf[T0]: T0 - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    5. - - -

      - - - def - - - clone(): AnyRef - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - ... - ) - -
      -
    6. - - -

      - - - def - - - createState(index: Int, weight: NDArray): AnyRef - -

      - - Permalink - - -
      Definition Classes
      SGLDOptimizer
      -
    7. - - -

      - - - def - - - deserializeState(bytes: Array[Byte]): AnyRef - -

      - - Permalink - - -
      Definition Classes
      SGLDOptimizer
      -
    8. - - -

      - - - def - - - disposeState(state: AnyRef): Unit - -

      - - Permalink - - -
      Definition Classes
      SGLDOptimizer
      -
    9. - - -

      - - final - def - - - eq(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    10. - - -

      - - - def - - - equals(arg0: Any): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    11. - - -

      - - - def - - - finalize(): Unit - -

      - - Permalink - - -
      Attributes
      protected[java.lang]
      Definition Classes
      AnyRef
      Annotations
      - @throws( - - classOf[java.lang.Throwable] - ) - -
      -
    12. - - -

      - - final - def - - - getClass(): Class[_] - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    13. - - -

      - - - def - - - getLr(index: Int, lr: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    14. - - -

      - - - def - - - getWd(index: Int, wd: Float): Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    15. - - -

      - - - def - - - hashCode(): Int - -

      - - Permalink - - -
      Definition Classes
      AnyRef → Any
      -
    16. - - -

      - - - var - - - idx2name: Map[Int, String] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    17. - - -

      - - - val - - - indexUpdateCount: Map[Int, Int] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    18. - - -

      - - final - def - - - isInstanceOf[T0]: Boolean - -

      - - Permalink - - -
      Definition Classes
      Any
      -
    19. - - -

      - - - val - - - learningRate: Float - -

      - - Permalink - - -

      Float, Step size.

      -
    20. - - -

      - - - val - - - lrMult: Map[Either[Int, String], Float] - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    21. - - -

      - - final - def - - - ne(arg0: AnyRef): Boolean - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    22. - - -

      - - final - def - - - notify(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    23. - - -

      - - final - def - - - notifyAll(): Unit - -

      - - Permalink - - -
      Definition Classes
      AnyRef
      -
    24. - - -

      - - - var - - - numUpdate: Int - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    25. - - -

      - - - var - - - rescaleGrad: Float - -

      - - Permalink - - -
      Attributes
      protected
      Definition Classes
      Optimizer
      -
    26. - - -

      - - - def - - - serializeState(state: AnyRef): Array[Byte] - -

      - - Permalink - - -
      Definition Classes
      SGLDOptimizer
      -
    27. - - -

      - - - def - - - setArgNames(argNames: Seq[String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    28. - - -

      - - - def - - - setIdx2Name(paramIdx2Name: Map[Int, String]): Unit - -

      - - Permalink - - -
      Definition Classes
      Optimizer
      -
    29. - - -

      - - - def - - - setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit - -

      - - Permalink - - -

      Sets an individual learning rate multiplier for each parameter.

      Sets an individual learning rate multiplier for each parameter. +Linear Supertypes +

      Optimizer, Serializable, AnyRef, Any
      +
      +
      +
      +
      +Ordering +
        +
      1. Alphabetic
      2. +
      3. By Inheritance
      4. +
      +
      +
      +Inherited
      +
      +
        +
      1. SGLD
      2. Optimizer
      3. Serializable
      4. AnyRef
      5. Any
      6. +
      +
      + +
        +
      1. Hide All
      2. +
      3. Show All
      4. +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Instance Constructors

      +
      1. + + +

        + + +new + + +SGLD(learningRate: Float = 0.01f, rescaleGradient: Float = 1.0f, wd: Float = 0.0001f, clipGradient: Float = 0f, lrScheduler: LRScheduler = null) + +

        + +Permalink + + +

        learningRate

        Float, Step size.

        rescaleGradient

        Float, rescaling factor of gradient.

        wd

        Float, L2 regularization coefficient add to all the weights

        clipGradient

        Float, clip gradient in range [-clip_gradient, clip_gradient]

        lrScheduler

        The learning rate scheduler

        +
      +
      +
      +

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

        + +final +def + + +asInstanceOf[T0]: T0 + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      5. + + +

        + + +def + + +clone(): AnyRef + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +... +) +
        +
      6. + + +

        + + +def + + +createState(index: Int, weight: NDArray): AnyRef + +

        + +Permalink + + +
        Definition Classes
        SGLDOptimizer
        +
      7. + + +

        + + +def + + +deserializeState(bytes: Array[Byte]): AnyRef + +

        + +Permalink + + +
        Definition Classes
        SGLDOptimizer
        +
      8. + + +

        + + +def + + +disposeState(state: AnyRef): Unit + +

        + +Permalink + + +
        Definition Classes
        SGLDOptimizer
        +
      9. + + +

        + +final +def + + +eq(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      10. + + +

        + + +def + + +equals(arg0: Any): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      11. + + +

        + + +def + + +finalize(): Unit + +

        + +Permalink + + +
        Attributes
        protected[java.lang]
        Definition Classes
        AnyRef
        Annotations
        +@throws( +classOf[java.lang.Throwable] +) +
        +
      12. + + +

        + +final +def + + +getClass(): Class[_] + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      13. + + +

        + + +def + + +getLr(index: Int, lr: Float): Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      14. + + +

        + + +def + + +getWd(index: Int, wd: Float): Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      15. + + +

        + + +def + + +hashCode(): Int + +

        + +Permalink + + +
        Definition Classes
        AnyRef → Any
        +
      16. + + +

        + + +var + + +idx2name: Map[Int, String] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      17. + + +

        + + +val + + +indexUpdateCount: Map[Int, Int] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      18. + + +

        + +final +def + + +isInstanceOf[T0]: Boolean + +

        + +Permalink + + +
        Definition Classes
        Any
        +
      19. + + +

        + + +val + + +learningRate: Float + +

        + +Permalink + + +

        Float, Step size.

        +
      20. + + +

        + + +val + + +lrMult: Map[Either[Int, String], Float] + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      21. + + +

        + +final +def + + +ne(arg0: AnyRef): Boolean + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      22. + + +

        + +final +def + + +notify(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      23. + + +

        + +final +def + + +notifyAll(): Unit + +

        + +Permalink + + +
        Definition Classes
        AnyRef
        +
      24. + + +

        + + +var + + +numUpdate: Int + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      25. + + +

        + + +var + + +rescaleGrad: Float + +

        + +Permalink + + +
        Attributes
        protected
        Definition Classes
        Optimizer
        +
      26. + + +

        + + +def + + +serializeState(state: AnyRef): Array[Byte] + +

        + +Permalink + + +
        Definition Classes
        SGLDOptimizer
        +
      27. + + +

        + + +def + + +setArgNames(argNames: Seq[String]): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      28. + + +

        + + +def + + +setIdx2Name(paramIdx2Name: Map[Int, String]): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      29. + + +

        + + +def + + +setLrMult(argsLrMult: Map[Either[Int, String], Float]): Unit + +

        + +Permalink + + +

        Sets an individual learning rate multiplier for each parameter.

        Sets an individual learning rate multiplier for each parameter. If you specify a learning rate multiplier for a parameter, then the learning rate for the parameter will be set as the product of the global learning rate and its multiplier. note:: The default learning rate multiplier of a Variable -can be set with lr_mult argument in the constructor.

        Definition Classes
        Optimizer
        -
      30. - - -

        - - - def - - - setRescaleGrad(rescaleGrad: Float): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        -
      31. - - -

        - - - def - - - setSymbol(sym: Symbol): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        -
      32. - - -

        - - - def - - - setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit - -

        - - Permalink - - -

        Sets an individual weight decay multiplier for each parameter.

        Sets an individual weight decay multiplier for each parameter.

        By default, the weight decay multipler is set as 0 for all +can be set with lr_mult argument in the constructor.

        Definition Classes
        Optimizer
        +
      33. + + +

        + + +def + + +setRescaleGrad(rescaleGrad: Float): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      34. + + +

        + + +def + + +setSymbol(sym: Symbol): Unit + +

        + +Permalink + + +
        Definition Classes
        Optimizer
        +
      35. + + +

        + + +def + + +setWdMult(argsWdMult: Map[Either[Int, String], Float]): Unit + +

        + +Permalink + + +

        Sets an individual weight decay multiplier for each parameter.

        Sets an individual weight decay multiplier for each parameter.

        By default, the weight decay multipler is set as 0 for all parameters whose name don't end with _weight or _gamma, if you call the setIdx2Name method to set idx2name.

        note:: The default weight decay multiplier for a Variable -can be set with its wd_mult argument in the constructor.

        Definition Classes
        Optimizer
        -
      36. - - -

        - - - var - - - specialized: Boolean - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      37. - - -

        - - - var - - - symbol: Symbol - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      38. - - -

        - - final - def - - - synchronized[T0](arg0: ⇒ T0): T0 - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        -
      39. - - -

        - - - def - - - toString(): String - -

        - - Permalink - - -
        Definition Classes
        AnyRef → Any
        -
      40. - - -

        - - - def - - - update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit - -

        - - Permalink - - -

        Update the parameters.

        Update the parameters.

        index

        An unique integer key used to index the parameters

        weight

        weight ndarray

        grad

        grad ndarray

        state

        NDArray or other objects returned by initState - The auxiliary state used in optimization.

        Definition Classes
        SGLDOptimizer
        -
      41. - - -

        - - - def - - - updateCount(index: Int): Unit - -

        - - Permalink - - -

        update num_update

        update num_update

        index

        The index will be updated

        Attributes
        protected
        Definition Classes
        Optimizer
        -
      42. - - -

        - - final - def - - - wait(): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      43. - - -

        - - final - def - - - wait(arg0: Long, arg1: Int): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      44. - - -

        - - final - def - - - wait(arg0: Long): Unit - -

        - - Permalink - - -
        Definition Classes
        AnyRef
        Annotations
        - @throws( - - ... - ) - -
        -
      45. - - -

        - - - val - - - wdMult: Map[Either[Int, String], Float] - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      46. - - -

        - - - val - - - weightSet: Set[Int] - -

        - - Permalink - - -
        Attributes
        protected
        Definition Classes
        Optimizer
        -
      -
      - - - -
      -

      Deprecated Value Members

      -
      1. - - -

        - - - def - - - setLrScale(lrScale: Map[Int, Float]): Unit - -

        - - Permalink - - -
        Definition Classes
        Optimizer
        Annotations
        - @deprecated - -
        Deprecated

        Use setLrMult instead.

        -
      -
      -
      - -
      -
      -

      Inherited from Optimizer

      -
      -

      Inherited from Serializable

      -
      -

      Inherited from AnyRef

      -
      -

      Inherited from Any

      -
      - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +can be set with its wd_mult argument in the constructor.

    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +specialized: Boolean + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +var + + +symbol: Symbol + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +synchronized[T0](arg0: ⇒ T0): T0 + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    +
  • + + +

    + + +def + + +toString(): String + +

    + +Permalink + + +
    Definition Classes
    AnyRef → Any
    +
  • + + +

    + + +def + + +update(index: Int, weight: NDArray, grad: NDArray, state: AnyRef): Unit + +

    + +Permalink + + +

    Update the parameters.

    Update the parameters.

    index

    An unique integer key used to index the parameters

    weight

    weight ndarray

    grad

    grad ndarray

    state

    NDArray or other objects returned by initState + The auxiliary state used in optimization.

    Definition Classes
    SGLDOptimizer
    +
  • + + +

    + + +def + + +updateCount(index: Int): Unit + +

    + +Permalink + + +

    update num_update

    update num_update

    index

    The index will be updated

    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + +final +def + + +wait(): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long, arg1: Int): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + +final +def + + +wait(arg0: Long): Unit + +

    + +Permalink + + +
    Definition Classes
    AnyRef
    Annotations
    +@throws( +... +) +
    +
  • + + +

    + + +val + + +wdMult: Map[Either[Int, String], Float] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • + + +

    + + +val + + +weightSet: Set[Int] + +

    + +Permalink + + +
    Attributes
    protected
    Definition Classes
    Optimizer
    +
  • +
    +
    +

    Deprecated Value Members

    +
    1. + + +

      + + +def + + +setLrScale(lrScale: Map[Int, Float]): Unit + +

      + +Permalink + + +
      Definition Classes
      Optimizer
      Annotations
      +@deprecated +
      Deprecated

      Use setLrMult instead.

      +
    +
    +
    +
    +
    +

    Inherited from Optimizer

    +
    +

    Inherited from Serializable

    +
    +

    Inherited from AnyRef

    +
    +

    Inherited from Any

    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/optimizer/package.html b/api/scala/docs/ml/dmlc/mxnet/optimizer/package.html index 589a779def79..27c979f71da7 100644 --- a/api/scala/docs/ml/dmlc/mxnet/optimizer/package.html +++ b/api/scala/docs/ml/dmlc/mxnet/optimizer/package.html @@ -1,19 +1,18 @@ + - - optimizer - ml.dmlc.mxnet.optimizer - - - - - - - - - - - - + + + + - - - -
    - Package -

    ml.dmlc.mxnet

    -

    optimizer

    - - Permalink - - -
    - -

    - - - package - - - optimizer - -

    - -
    - - -
    -
    - - -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    - - -
    -

    Type Members

    -
    1. - - -

      - - - class - - - AdaDelta extends Optimizer - -

      - - Permalink - - -

      AdaDelta optimizer as described in Matthew D.

      AdaDelta optimizer as described in Matthew D. Zeiler, 2012. + + +

      +Package +

      ml.dmlc.mxnet

      +

      optimizer

      + +Permalink + + +
      +

      + + +package + + +optimizer + +

      +
      +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Type Members

      +
      1. + + +

        + + +class + + +AdaDelta extends Optimizer + +

        + +Permalink + + +

        AdaDelta optimizer as described in Matthew D.

        AdaDelta optimizer as described in Matthew D. Zeiler, 2012. http://arxiv.org/abs/1212.5701

        -
      2. - - -

        - - - class - - - AdaGrad extends Optimizer - -

        - - Permalink - - -

        AdaGrad optimizer as described in Matthew D.

        AdaGrad optimizer as described in Matthew D. Zeiler, 2012. +

      3. + + +

        + + +class + + +AdaGrad extends Optimizer + +

        + +Permalink + + +

        AdaGrad optimizer as described in Matthew D.

        AdaGrad optimizer as described in Matthew D. Zeiler, 2012. http://arxiv.org/pdf/1212.5701v1.pdf

        -
      4. - - -

        - - - class - - - Adam extends Optimizer - -

        - - Permalink - - -

        Adam optimizer as described in [King2014]

        Adam optimizer as described in [King2014]

        [King2014] Diederik Kingma, Jimmy Ba, +

      5. + + +

        + + +class + + +Adam extends Optimizer + +

        + +Permalink + + +

        Adam optimizer as described in [King2014]

        Adam optimizer as described in [King2014]

        [King2014] Diederik Kingma, Jimmy Ba, Adam: A Method for Stochastic Optimization, http://arxiv.org/abs/1412.6980

        -
      6. - - -

        - - - class - - - DCASGD extends Optimizer - -

        - - Permalink - - -

        DCASGD optimizer with momentum and weight regularization.

        DCASGD optimizer with momentum and weight regularization. -Implementation of paper "Asynchronous Stochastic Gradient Descent with -Delay Compensation for Distributed Deep Learning" +

      7. + + +

        + + +class + + +DCASGD extends Optimizer + +

        + +Permalink + + +

        DCASGD optimizer with momentum and weight regularization.

        DCASGD optimizer with momentum and weight regularization. +Implementation of paper "Asynchronous Stochastic Gradient Descent with +Delay Compensation for Distributed Deep Learning"

        -
      8. - - -

        - - - class - - - NAG extends Optimizer - -

        - - Permalink - - -

        SGD with nesterov.

        SGD with nesterov. +

      9. + + +

        + + +class + + +NAG extends Optimizer + +

        + +Permalink + + +

        SGD with nesterov.

        SGD with nesterov. It is implemented according to https://github.com/torch/optim/blob/master/sgd.lua

        -
      10. - - -

        - - - class - - - RMSProp extends Optimizer - -

        - - Permalink - - -

        RMSProp optimizer as described in Tieleman & Hinton, 2012.

        RMSProp optimizer as described in Tieleman & Hinton, 2012. +

      11. + + +

        + + +class + + +RMSProp extends Optimizer + +

        + +Permalink + + +

        RMSProp optimizer as described in Tieleman & Hinton, 2012.

        RMSProp optimizer as described in Tieleman & Hinton, 2012. http://arxiv.org/pdf/1308.0850v5.pdf Eq(38) - Eq(45) by Alex Graves, 2013.

        -
      12. - - -

        - - - class - - - SGD extends Optimizer - -

        - - Permalink - - -

        A very simple SGD optimizer with momentum and weight regularization.

        -
      13. - - -

        - - - class - - - SGLD extends Optimizer - -

        - - Permalink - - -

        Stochastic Langevin Dynamics Updater to sample from a distribution.

        -
      -
      - - - - - - - - -
      - -
      - - -
      - -
      -
      -

      Ungrouped

      - -
      -
      - -
      - -
      - - - - - - +
    2. + + +

      + + +class + + +SGD extends Optimizer + +

      + +Permalink + + +

      A very simple SGD optimizer with momentum and weight regularization.

      +
    3. + + +

      + + +class + + +SGLD extends Optimizer + +

      + +Permalink + + +

      Stochastic Langevin Dynamics Updater to sample from a distribution.

      +
    +
    +
    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/dmlc/mxnet/package.html b/api/scala/docs/ml/dmlc/mxnet/package.html index 66249bc14cb4..e08c02dbfefe 100644 --- a/api/scala/docs/ml/dmlc/mxnet/package.html +++ b/api/scala/docs/ml/dmlc/mxnet/package.html @@ -1,19 +1,18 @@ + - - mxnet - ml.dmlc.mxnet - - - - - - - - - - - - + + + + - - - -
    - Package -

    ml.dmlc

    -

    mxnet

    - - Permalink - - -
    - -

    - - - package - - - mxnet - -

    - -
    - - -
    -
    - - -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    - - -
    -

    Type Members

    -
    1. - - -

      - - - class - - - Accuracy extends EvalMetric - -

      - - Permalink - - -

      Calculate accuracy + + +

      +Package +

      ml.dmlc

      +

      mxnet

      + +Permalink + + +
      +

      + + +package + + +mxnet + +

      +
      +
      +
      +
      +Visibility +
      1. Public
      2. All
      +
      +
      +
      +
      +
      +

      Type Members

      +
      1. + + +

        + + +class + + +Accuracy extends EvalMetric + +

        + +Permalink + + +

        Calculate accuracy

        -
      2. - - -

        - - - trait - - - BatchEndCallback extends AnyRef - -

        - - Permalink - - - -
      3. - - -

        - - - class - - - CompositeEvalMetric extends EvalMetric - -

        - - Permalink - - -

        Manage multiple evaluation metrics.

        -
      4. - - -

        - - - class - - - Context extends Serializable - -

        - - Permalink - - -

        Constructing a context.

        -
      5. - - -

        - - - class - - - CustomMetric extends EvalMetric - -

        - - Permalink - - -

        Custom evaluation metric that takes a NDArray function.

        -
      6. - - -

        - - abstract - class - - - CustomOp extends AnyRef - -

        - - Permalink - - -

        Base class for operators implemented in Scala +

      7. + + +

        + + +trait + + +BatchEndCallback extends AnyRef + +

        + +Permalink + + +
      8. + + +

        + + +class + + +CompositeEvalMetric extends EvalMetric + +

        + +Permalink + + +

        Manage multiple evaluation metrics.

        +
      9. + + +

        + + +class + + +Context extends Serializable + +

        + +Permalink + + +

        Constructing a context.

        +
      10. + + +

        + + +class + + +CustomMetric extends EvalMetric + +

        + +Permalink + + +

        Custom evaluation metric that takes a NDArray function.

        +
      11. + + +

        + +abstract +class + + +CustomOp extends AnyRef + +

        + +Permalink + + +

        Base class for operators implemented in Scala

        -
      12. - - -

        - - abstract - class - - - CustomOpProp extends AnyRef - -

        - - Permalink - - -

        Base class for operator property class implemented in Scala.

        Base class for operator property class implemented in Scala. +

      13. + + +

        + +abstract +class + + +CustomOpProp extends AnyRef + +

        + +Permalink + + +

        Base class for operator property class implemented in Scala.

        Base class for operator property class implemented in Scala. MXNET_CPU_WORKER_NTHREADS must be greater than 1 for custom op to work on CPU

        -
      14. - - -

        - - - class - - - DataBatch extends AnyRef - -

        - - Permalink - - -

        class batch of data +

      15. + + +

        + + +class + + +DataBatch extends AnyRef + +

        + +Permalink + + +

        class batch of data

        -
      16. - - -

        - - - case class - - - DataDesc(name: String, shape: Shape, dtype: DType = Base.MX_REAL_TYPE, layout: String = "NCHW") extends Product with Serializable - -

        - - Permalink - - - -
      17. - - -

        - - abstract - class - - - DataIter extends Iterator[DataBatch] - -

        - - Permalink - - -

        DataIter object in mxnet.

        -
      18. - - -

        - - abstract - class - - - DataPack extends Iterable[DataBatch] - -

        - - Permalink - - -

        pack of DataIter, use as Iterable class +

      19. + + +

        + + +case class + + +DataDesc(name: String, shape: Shape, dtype: DType = Base.MX_REAL_TYPE, layout: String = "NCHW") extends Product with Serializable + +

        + +Permalink + + +
      20. + + +

        + +abstract +class + + +DataIter extends Iterator[DataBatch] + +

        + +Permalink + + +

        DataIter object in mxnet.

        +
      21. + + +

        + +abstract +class + + +DataPack extends Iterable[DataBatch] + +

        + +Permalink + + +

        pack of DataIter, use as Iterable class

        -
      22. - - -

        - - - trait - - - EpochEndCallback extends AnyRef - -

        - - Permalink - - - -
      23. - - -

        - - abstract - class - - - EvalMetric extends AnyRef - -

        - - Permalink - - -

        Base class of all evaluation metrics

        -
      24. - - -

        - - - class - - - Executor extends AnyRef - -

        - - Permalink - - -

        Symbolic Executor component of MXNet
        +

      25. + + +

        + + +trait + + +EpochEndCallback extends AnyRef + +

        + +Permalink + + +
      26. + + +

        + +abstract +class + + +EvalMetric extends AnyRef + +

        + +Permalink + + +

        Base class of all evaluation metrics

        +
      27. + + +

        + + +class + + +Executor extends AnyRef + +

        + +Permalink + + +

        Symbolic Executor component of MXNet
        WARNING: it is your responsibility to clear this object through dispose(). NEVER rely on the GC strategy -

        Symbolic Executor component of MXNet
        +

      Symbolic Executor component of MXNet
      WARNING: it is your responsibility to clear this object through dispose(). NEVER rely on the GC strategy

      See also

      Symbol.bind : to create executor

      -
    2. - - -

      - - - class - - - F1 extends EvalMetric - -

      - - Permalink - - -

      Calculate the F1 score of a binary classification problem.

      -
    3. - - -

      - - - class - - - FactorScheduler extends LRScheduler - -

      - - Permalink - - -

      Class for reducing learning rate in factor

      Class for reducing learning rate in factor

      Assume the weight has been updated by n times, then the learning rate will +

    4. + + +

      + + +class + + +F1 extends EvalMetric + +

      + +Permalink + + +

      Calculate the F1 score of a binary classification problem.

      +
    5. + + +

      + + +class + + +FactorScheduler extends LRScheduler + +

      + +Permalink + + +

      Class for reducing learning rate in factor

      Class for reducing learning rate in factor

      Assume the weight has been updated by n times, then the learning rate will be base_lr * factor^^(floor(n/step))

      -
    6. - - -

      - - - class - - - FeedForward extends AnyRef - -

      - - Permalink - - -

      Model class of MXNet for training and predicting feedforward nets.

      Model class of MXNet for training and predicting feedforward nets. +

    7. + + +

      + + +class + + +FeedForward extends AnyRef + +

      + +Permalink + + +

      Model class of MXNet for training and predicting feedforward nets.

      Model class of MXNet for training and predicting feedforward nets. This class is designed for a single-data single output supervised network.

      -
    8. - - -

      - - abstract - class - - - Initializer extends AnyRef - -

      - - Permalink - - -

      Base class for Initializer.

      -
    9. - - -

      - - - class - - - KVStore extends AnyRef - -

      - - Permalink - - - -
    10. - - -

      - - abstract - class - - - LRScheduler extends AnyRef - -

      - - Permalink - - -

      Learning rate scheduler, which adaptively changes the learning rate +

    11. + + +

      + +abstract +class + + +Initializer extends AnyRef + +

      + +Permalink + + +

      Base class for Initializer.

      +
    12. + + +

      + + +class + + +KVStore extends AnyRef + +

      + +Permalink + + +
    13. + + +

      + +abstract +class + + +LRScheduler extends AnyRef + +

      + +Permalink + + +

      Learning rate scheduler, which adaptively changes the learning rate based on the training progress.

      -
    14. - - -

      - - - class - - - MAE extends EvalMetric - -

      - - Permalink - - -

      Calculate Mean Absolute Error loss +

    15. + + +

      + + +class + + +MAE extends EvalMetric + +

      + +Permalink + + +

      Calculate Mean Absolute Error loss

      -
    16. - - -

      - - - class - - - MSE extends EvalMetric - -

      - - Permalink - - - -
    17. - - -

      - - - class - - - MXIndexedRecordIO extends MXRecordIO - -

      - - Permalink - - -

      Scala interface for read/write RecordIO data formmat with index.

      Scala interface for read/write RecordIO data formmat with index. +

    18. + + +

      + + +class + + +MSE extends EvalMetric + +

      + +Permalink + + +
    19. + + +

      + + +class + + +MXIndexedRecordIO extends MXRecordIO + +

      + +Permalink + + +

      Scala interface for read/write RecordIO data formmat with index.

      Scala interface for read/write RecordIO data formmat with index. Support random access.

      -
    20. - - -

      - - - trait - - - MXKVStoreCachedStates extends AnyRef - -

      - - Permalink - - - -
    21. - - -

      - - - trait - - - MXKVStoreUpdater extends AnyRef - -

      - - Permalink - - - -
    22. - - -

      - - - class - - - MXRecordIO extends AnyRef - -

      - - Permalink - - -

      Scala interface for read/write RecordIO data format +

    23. + + +

      + + +trait + + +MXKVStoreCachedStates extends AnyRef + +

      + +Permalink + + +
    24. + + +

      + + +trait + + +MXKVStoreUpdater extends AnyRef + +

      + +Permalink + + +
    25. + + +

      + + +class + + +MXRecordIO extends AnyRef + +

      + +Permalink + + +

      Scala interface for read/write RecordIO data format

      -
    26. - - -

      - - - class - - - Mixed extends Initializer - -

      - - Permalink - - -

      Initialize the weight with mixed Initializer +

    27. + + +

      + + +class + + +Mixed extends Initializer + +

      + +Permalink + + +

      Initialize the weight with mixed Initializer

      -
    28. - - -

      - - - class - - - Model extends AnyRef - -

      - - Permalink - - -

      Describe the model flow +

    29. + + +

      + + +class + + +Model extends AnyRef + +

      + +Permalink + + +

      Describe the model flow

      -
    30. - - -

      - - - class - - - Monitor extends AnyRef - -

      - - Permalink - - -

      Monitor outputs, weights, and gradients for debugging.

      -
    31. - - -

      - - - class - - - NDArray extends AnyRef - -

      - - Permalink - - -

      NDArray object in mxnet.

      NDArray object in mxnet. -NDArray is basic ndarray/Tensor like data structure in mxnet.
      +

    32. + + +

      + + +class + + +Monitor extends AnyRef + +

      + +Permalink + + +

      Monitor outputs, weights, and gradients for debugging.

      +
    33. + + +

      + + +class + + +NDArray extends AnyRef + +

      + +Permalink + + +

      NDArray object in mxnet.

      NDArray object in mxnet. +NDArray is basic ndarray/Tensor like data structure in mxnet.
      WARNING: it is your responsibility to clear this object through dispose(). NEVER rely on the GC strategy

      -
    34. - - -

      - - - class - - - NameManager extends AnyRef - -

      - - Permalink - - -

      NameManager to do automatic naming.

      NameManager to do automatic naming. +

    35. + + +

      + + +class + + +NameManager extends AnyRef + +

      + +Permalink + + +

      NameManager to do automatic naming.

      NameManager to do automatic naming. User can also inherit this object to change naming behavior.

      -
    36. - - -

      - - - class - - - Normal extends Initializer - -

      - - Permalink - - -

      Initialize the weight with normal(0, sigma) +

    37. + + +

      + + +class + + +Normal extends Initializer + +

      + +Permalink + + +

      Initialize the weight with normal(0, sigma)

      -
    38. - - -

      - - abstract - class - - - Optimizer extends Serializable - -

      - - Permalink - - - -
    39. - - -

      - - - class - - - Perplexity extends EvalMetric - -

      - - Permalink - - -

      Calculate perplexity.

      -
    40. - - -

      - - - class - - - RMSE extends EvalMetric - -

      - - Permalink - - -

      Calculate Root Mean Squred Error loss +

    41. + + +

      + +abstract +class + + +Optimizer extends Serializable + +

      + +Permalink + + +
    42. + + +

      + + +class + + +Perplexity extends EvalMetric + +

      + +Permalink + + +

      Calculate perplexity.

      +
    43. + + +

      + + +class + + +RMSE extends EvalMetric + +

      + +Permalink + + +

      Calculate Root Mean Squred Error loss

      -
    44. - - -

      - - - class - - - Rtc extends AnyRef - -

      - - Permalink - - -

      This class allow you to write cuda kernel in Scala +

    45. + + +

      + + +class + + +Rtc extends AnyRef + +

      + +Permalink + + +

      This class allow you to write cuda kernel in Scala and call them with NDArray.

      -
    46. - - -

      - - - class - - - Shape extends Serializable - -

      - - Permalink - - -

      Shape of NDArray or other data +

    47. + + +

      + + +class + + +Shape extends Serializable + +

      + +Permalink + + +

      Shape of NDArray or other data

      -
    48. - - -

      - - - class - - - Symbol extends AnyRef - -

      - - Permalink - - -

      Symbolic configuration API of mxnet.

      Symbolic configuration API of mxnet.
      +

    49. + + +

      + + +class + + +Symbol extends AnyRef + +

      + +Permalink + + +

      Symbolic configuration API of mxnet.

      Symbolic configuration API of mxnet.
      WARNING: it is your responsibility to clear this object through dispose(). NEVER rely on the GC strategy

      -
    50. - - -

      - - - class - - - SymbolConversions[V] extends AnyRef - -

      - - Permalink - - - -
    51. - - -

      - - - trait - - - SymbolGenerator extends AnyRef - -

      - - Permalink - - - -
    52. - - -

      - - - class - - - TopKAccuracy extends EvalMetric - -

      - - Permalink - - -

      Calculate top k predictions accuracy +

    53. + + +

      + + +class + + +SymbolConversions[V] extends AnyRef + +

      + +Permalink + + +
    54. + + +

      + + +trait + + +SymbolGenerator extends AnyRef + +

      + +Permalink + + +
    55. + + +

      + + +class + + +TopKAccuracy extends EvalMetric + +

      + +Permalink + + +

      Calculate top k predictions accuracy

      -
    56. - - -

      - - - class - - - Uniform extends Initializer - -

      - - Permalink - - -

      Initialize the weight with uniform [-scale, scale] +

    57. + + +

      + + +class + + +Uniform extends Initializer + +

      + +Permalink + + +

      Initialize the weight with uniform [-scale, scale]

      -
    58. - - -

      - - - class - - - Xavier extends Initializer - -

      - - Permalink - - -

      Initialize the weight with Xavier or similar initialization scheme.

      -
    -
    - - +
  • + + +

    + + +class + + +Xavier extends Initializer + +

    + +Permalink + + +

    Initialize the weight with Xavier or similar initialization scheme.

    +
  • -
    -

    Value Members

    -
    1. - - -

      - - - object - - - Callback - -

      - - Permalink - - -

      Callback functions that can be used to track various status during epoch.

      -
    2. - - -

      - - - object - - - Context extends Serializable - -

      - - Permalink - - - -
    3. - - -

      - - - object - - - DType extends Enumeration - -

      - - Permalink - - - -
    4. - - -

      - - - object - - - DataDesc extends Serializable - -

      - - Permalink - - - -
    5. - - -

      - - - object - - - Executor - -

      - - Permalink - - - -
    6. - - -

      - - - object - - - FeedForward - -

      - - Permalink - - - -
    7. - - -

      - - - object - - - IO - -

      - - Permalink - - -

      IO iterators for loading training & validation data +

      +

      Value Members

      +
      1. + + +

        + + +object + + +Callback + +

        + +Permalink + + +

        Callback functions that can be used to track various status during epoch.

        +
      2. + + +

        + + +object + + +Context extends Serializable + +

        + +Permalink + + +
      3. + + +

        + + +object + + +DType extends Enumeration + +

        + +Permalink + + +
      4. + + +

        + + +object + + +DataDesc extends Serializable + +

        + +Permalink + + +
      5. + + +

        + + +object + + +Executor + +

        + +Permalink + + +
      6. + + +

        + + +object + + +FeedForward + +

        + +Permalink + + +
      7. + + +

        + + +object + + +IO + +

        + +Permalink + + +

        IO iterators for loading training & validation data

        -
      8. - - -

        - - - object - - - KVStore - -

        - - Permalink - - -

        Key value store interface of MXNet for parameter synchronization.

        -
      9. - - -

        - - - object - - - KVStoreServer - -

        - - Permalink - - - -
      10. - - -

        - - - object - - - MXRecordIO - -

        - - Permalink - - - -
      11. - - -

        - - - object - - - Model - -

        - - Permalink - - - -
      12. - - -

        - - - object - - - NDArray - -

        - - Permalink - - -

        NDArray API of mxnet +

      13. + + +

        + + +object + + +KVStore + +

        + +Permalink + + +

        Key value store interface of MXNet for parameter synchronization.

        +
      14. + + +

        + + +object + + +KVStoreServer + +

        + +Permalink + + +
      15. + + +

        + + +object + + +MXRecordIO + +

        + +Permalink + + +
      16. + + +

        + + +object + + +Model + +

        + +Permalink + + +
      17. + + +

        + + +object + + +NDArray + +

        + +Permalink + + +

        NDArray API of mxnet

        -
      18. - - -

        - - - object - - - NameManager - -

        - - Permalink - - - -
      19. - - -

        - - - object - - - Operator - -

        - - Permalink - - - -
      20. - - -

        - - - object - - - Optimizer extends Serializable - -

        - - Permalink - - - -
      21. - - -

        - - - object - - - Profiler - -

        - - Permalink - - - -
      22. - - -

        - - - object - - - Random - -

        - - Permalink - - -

        Random Number interface of mxnet.

        -
      23. - - -

        - - - object - - - Shape extends Serializable - -

        - - Permalink - - - -
      24. - - -

        - - - object - - - Symbol - -

        - - Permalink - - - -
      25. - - -

        - - - object - - - SymbolConversions - -

        - - Permalink - - - -
      26. - - -

        - - - object - - - Visualization - -

        - - Permalink - - - -
      27. - - -

        - - - package - - - contrib - -

        - - Permalink - - - -
      28. - - -

        - - - package - - - io - -

        - - Permalink - - - -
      29. - - -

        - - - package - - - module - -

        - - Permalink - - - -
      30. - - -

        - - - package - - - optimizer - -

        - - Permalink - - - -
      -
      - - - - -
    - -
    - - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    +
  • + + +

    + + +object + + +NameManager + +

    + +Permalink + + +
  • + + +

    + + +object + + +Operator + +

    + +Permalink + + +
  • + + +

    + + +object + + +Optimizer extends Serializable + +

    + +Permalink + + +
  • + + +

    + + +object + + +Profiler + +

    + +Permalink + + +
  • + + +

    + + +object + + +Random + +

    + +Permalink + + +

    Random Number interface of mxnet.

    +
  • + + +

    + + +object + + +Shape extends Serializable + +

    + +Permalink + + +
  • + + +

    + + +object + + +Symbol + +

    + +Permalink + + +
  • + + +

    + + +object + + +SymbolConversions + +

    + +Permalink + + +
  • + + +

    + + +object + + +Visualization + +

    + +Permalink + + +
  • + + +

    + + +package + + +contrib + +

    + +Permalink + + +
  • + + +

    + + +package + + +io + +

    + +Permalink + + +
  • + + +

    + + +package + + +module + +

    + +Permalink + + +
  • + + +

    + + +package + + +optimizer + +

    + +Permalink + + +
  • +
    -
    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    - +
    + - - diff --git a/api/scala/docs/ml/dmlc/package.html b/api/scala/docs/ml/dmlc/package.html index 55cc257d1185..6914e022e182 100644 --- a/api/scala/docs/ml/dmlc/package.html +++ b/api/scala/docs/ml/dmlc/package.html @@ -1,19 +1,18 @@ + - - dmlc - ml.dmlc - - - - - - - - - - - - + + + + - - - -
    - Package -

    ml

    -

    dmlc

    - - Permalink - - -
    - -

    - - - package - - - dmlc - -

    - -
    - - -
    -
    - - -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    - - - - - - -
    -

    Value Members

    -
    1. - - -

      - - - package - - - mxnet - -

      - - Permalink - - - -
    -
    - - - - -
    - -
    - - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Package +

    ml

    +

    dmlc

    + +Permalink + + +
    +

    + + +package + + +dmlc + +

    +
    +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Value Members

    +
    1. + + +

      + + +package + + +mxnet + +

      + +Permalink + + +
    +
    +
    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/ml/package.html b/api/scala/docs/ml/package.html index 67e90a70cb80..342879bb6b82 100644 --- a/api/scala/docs/ml/package.html +++ b/api/scala/docs/ml/package.html @@ -1,19 +1,18 @@ + - - ml - ml - - - - - - - - - - - - + + + + - - - -
    - Package - -

    ml

    - - Permalink - - -
    - -

    - - - package - - - ml - -

    - -
    - - -
    -
    - - -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    - - - - - - -
    -

    Value Members

    -
    1. - - -

      - - - package - - - dmlc - -

      - - Permalink - - - -
    -
    - - - - -
    - -
    - - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Package +

    ml

    + +Permalink + + +
    +

    + + +package + + +ml + +

    +
    +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Value Members

    +
    1. + + +

      + + +package + + +dmlc + +

      + +Permalink + + +
    +
    +
    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/docs/package.html b/api/scala/docs/package.html index 1eb6cb2acc2b..cba831496147 100644 --- a/api/scala/docs/package.html +++ b/api/scala/docs/package.html @@ -1,19 +1,18 @@ + - - root - _root_ - - - - - - - - - - - - + + + + - - - -
    - Package - -

    root package

    - - Permalink - - -
    - -

    - - - package - - - root - -

    - -
    - - -
    -
    - - -
    - Visibility -
    1. Public
    2. All
    -
    -
    - -
    -
    - - - - - - -
    -

    Value Members

    -
    1. - - -

      - - - package - - - ml - -

      - - Permalink - - - -
    -
    - - - - -
    - -
    - - -
    - -
    -
    -

    Ungrouped

    - -
    -
    - -
    - -
    - - - - - - + + +
    +Package +

    root package

    + +Permalink + + +
    +

    + + +package + + +root + +

    +
    +
    +
    +
    +Visibility +
    1. Public
    2. All
    +
    +
    +
    +
    +
    +

    Value Members

    +
    1. + + +

      + + +package + + +ml + +

      + +Permalink + + +
    +
    +
    +
    +
    +
    +
    +

    Ungrouped

    +
    +
    +
    +
    + + + diff --git a/api/scala/index.html b/api/scala/index.html index 74b60fb09b87..c63b0bf66034 100644 --- a/api/scala/index.html +++ b/api/scala/index.html @@ -153,7 +153,7 @@

    Architecture Github -Versions(0.11-RC) +Versions(0.11.0.rc3)
    diff --git a/api/scala/kvstore.html b/api/scala/kvstore.html index 63306686a358..3c337eaf9908 100644 --- a/api/scala/kvstore.html +++ b/api/scala/kvstore.html @@ -151,7 +151,7 @@

    Architecture Github -Versions(0.11-RC) +Versions(0.11.0.rc3)