Class/Object

com.intel.analytics.bigdl.parameters

AllReduceParameter

Related Docs: object AllReduceParameter | package parameters

Permalink

class AllReduceParameter[T] extends Serializable

Represent a parameter stored on block manager. In distributed optimization, we put parameter on block manager of spark. Each worker sync parameter through block manager. Block manager here serve as a parameter server.

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

Instance Constructors

  1. new AllReduceParameter(id: Long, partitionNum: Int, size: Int)(implicit arg0: ClassTag[T])

    Permalink

    id

    distinguish from other parameters

    partitionNum

    how many partitions will use this parameter

    size

    size of the parameter(1D vector)

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 aggregrateGradientPartition(): Unit

    Permalink
  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 getGradientBlockId(pidFrom: Int, pidTo: Int): BlockId

    Permalink
  12. def getGradientPartitionId(): BlockId

    Permalink
  13. def getWeightBlockId(pid: Int): BlockId

    Permalink
  14. def getWeightPartitionId(): BlockId

    Permalink
  15. def getWeights(localParameter: Tensor[T]): FutureResult[Int]

    Permalink
  16. lazy val gradientPartition: Tensor[T]

    Permalink
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def init(parameter: Tensor[T])(implicit ev: TensorNumeric[T]): Unit

    Permalink
  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. lazy val parameterBuffer: CompressedTensor[T]

    Permalink
  24. def putGradients(parameter: Tensor[T]): Unit

    Permalink
  25. def readGradientPartition(): Tensor[T]

    Permalink
  26. def readParameterBuffer(): CompressedTensor[T]

    Permalink
  27. def readWeightParititon(): Tensor[T]

    Permalink
  28. def sendWeightPartition(): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. lazy val weightPartition: Tensor[T]

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped