cc.factorie.model

WeightsMap

class WeightsMap extends TensorSet

A TensorSet in which the Tensors are not stored in the Weights objects, but in a map inside this object. This is used to store gradients and expectations---tensors that have the same structure as the WeightsSet, but are not the parameter values themselves.

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

Instance Constructors

  1. new WeightsMap(defaultTensor: (Weights) ⇒ Tensor)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def *=(other: Double): Unit

    Definition Classes
    TensorSet
  5. def +=(w: TensorSet): Unit

    Definition Classes
    TensorSet
  6. def +=(w: TensorSet, f: Double): Unit

    Definition Classes
    TensorSet
  7. def -(other: TensorSet): WeightsMap

    Definition Classes
    WeightsMapTensorSet
  8. def :=(other: TensorSet): Unit

    Definition Classes
    TensorSet
  9. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  11. def apply(key: Weights): Tensor

    Definition Classes
    WeightsMapTensorSet
  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clear(): Unit

  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def containsNaN(): Boolean

    Definition Classes
    TensorSet
  16. def containts(key: Weights): Boolean

  17. def copy: WeightsMap

    Definition Classes
    WeightsMapTensorSet
  18. def different(w: TensorSet, tolerance: Double): Boolean

    Definition Classes
    TensorSet
  19. def dot(w: TensorSet): Double

    Definition Classes
    TensorSet
  20. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

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

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

    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

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

    Definition Classes
    Any
  26. def keys: Iterable[Weights]

    Definition Classes
    WeightsMapTensorSet
  27. def length: Int

    Definition Classes
    TensorSet
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

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

    Definition Classes
    AnyRef
  31. def oneNorm: Double

    Definition Classes
    TensorSet
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def tensors: Iterable[Tensor]

    Definition Classes
    WeightsMapTensorSet
  34. def toArray: Array[Double]

    Definition Classes
    TensorSet
  35. def toSeq: Iterable[(Weights, Tensor)]

    Definition Classes
    TensorSet
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. def twoNorm: Double

    Definition Classes
    TensorSet
  38. def twoNormSquared: Double

    Definition Classes
    TensorSet
  39. def update(key: Weights, value: Tensor): Unit

    Definition Classes
    WeightsMapTensorSet
  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def zero(): Unit

    Definition Classes
    TensorSet

Inherited from TensorSet

Inherited from AnyRef

Inherited from Any

Ungrouped