Object

edu.cmu.dynet

ComputationGraph

Related Doc: package dynet

Permalink

object ComputationGraph

The ComputationGraph object contains the singleton DyNet computation graph instance. Any C++ instance method is instead implemented as a static function here.*

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

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addConstLookup(p: LookupParameter, indices: UnsignedVector): VariableIndex

    Permalink
  5. def addConstLookup(p: LookupParameter, index: Long): VariableIndex

    Permalink
  6. def addConstLookup(p: LookupParameter, pindex: UnsignedPointer): VariableIndex

    Permalink
  7. def addConstParameters(p: Parameter): VariableIndex

    Permalink
  8. def addInput(d: Dim, ids: UnsignedVector, data: FloatVector, defdata: Float = 0.0f): VariableIndex

    Permalink
  9. def addInput(d: Dim, data: FloatVector): VariableIndex

    Permalink
  10. def addInput(s: Float): VariableIndex

    Permalink
  11. def addLookup(p: LookupParameter, indices: UnsignedVector): VariableIndex

    Permalink
  12. def addLookup(p: LookupParameter, index: Long): VariableIndex

    Permalink
  13. def addLookup(p: LookupParameter, pindex: UnsignedPointer): VariableIndex

    Permalink
  14. def addParameters(p: Parameter): VariableIndex

    Permalink
  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  16. def backward(last: Expression): Unit

    Permalink
  17. def checkpoint(): Unit

    Permalink
  18. def clear(): Unit

    Permalink
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def forward(last: Expression): Tensor

    Permalink
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def getDimension(index: VariableIndex): Dim

    Permalink
  26. def getValue(e: Expression): Tensor

    Permalink
  27. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  28. def incrementalForward(last: Expression): Tensor

    Permalink
  29. def invalidate(): Unit

    Permalink
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  34. def printGraphViz(): Unit

    Permalink
  35. def renew(): Unit

    Permalink

    Gets rid of the singleton Computation Graph and replaces it with a fresh one.

    Gets rid of the singleton Computation Graph and replaces it with a fresh one. Increments version to make sure we don't use any stale expressions.

  36. def revert(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. var version: Long

    Permalink
  40. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped