edu
.
cmu
.
dynet
.
internal
ComputationGraph
Related Doc:
package internal
class
ComputationGraph
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Known Subclasses
ComputationGraph
Ordering
Alphabetic
By Inheritance
Inherited
ComputationGraph
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
ComputationGraph
(
cPtr:
Long
,
cMemoryOwn:
Boolean
)
Attributes
protected[
edu.cmu.dynet.internal
]
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
add_const_lookup
(
p:
LookupParameter
,
pindices:
UnsignedVector
)
:
SWIGTYPE_p_dynet__VariableIndex
def
add_const_lookup
(
p:
LookupParameter
,
index:
Long
)
:
SWIGTYPE_p_dynet__VariableIndex
def
add_const_lookup
(
p:
LookupParameter
,
pindex:
SWIGTYPE_p_unsigned_int
)
:
SWIGTYPE_p_dynet__VariableIndex
def
add_const_parameters
(
p:
Parameter
)
:
SWIGTYPE_p_dynet__VariableIndex
def
add_input
(
d:
Dim
,
ids:
UnsignedVector
,
data:
FloatVector
,
device:
Device
)
:
SWIGTYPE_p_dynet__VariableIndex
def
add_input
(
d:
Dim
,
ids:
UnsignedVector
,
data:
FloatVector
,
device:
Device
,
defdata:
Float
)
:
SWIGTYPE_p_dynet__VariableIndex
def
add_input
(
d:
Dim
,
data:
FloatVector
,
device:
Device
)
:
SWIGTYPE_p_dynet__VariableIndex
def
add_input
(
s:
Float
,
device:
Device
)
:
SWIGTYPE_p_dynet__VariableIndex
def
add_lookup
(
p:
LookupParameter
,
pindices:
UnsignedVector
)
:
SWIGTYPE_p_dynet__VariableIndex
def
add_lookup
(
p:
LookupParameter
,
index:
Long
)
:
SWIGTYPE_p_dynet__VariableIndex
def
add_lookup
(
p:
LookupParameter
,
pindex:
SWIGTYPE_p_unsigned_int
)
:
SWIGTYPE_p_dynet__VariableIndex
def
add_parameters
(
p:
Parameter
)
:
SWIGTYPE_p_dynet__VariableIndex
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
backward
(
last:
Expression
)
:
Unit
def
checkpoint
()
:
Unit
def
clear
()
:
Unit
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
delete
()
:
Unit
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
edu.cmu.dynet.internal
]
Definition Classes
ComputationGraph
→ AnyRef
def
forward
(
last:
Expression
)
:
Tensor
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getNodes
()
:
SWIGTYPE_p_std__vectorT_dynet__Node_p_t
def
getParameter_nodes
()
:
SWIGTYPE_p_std__vectorT_dynet__VariableIndex_t
def
get_dimension
(
index:
SWIGTYPE_p_dynet__VariableIndex
)
:
Dim
def
get_value
(
e:
Expression
)
:
Tensor
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
incremental_forward
(
last:
Expression
)
:
Tensor
def
invalidate
()
:
Unit
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
print_graphviz
()
:
Unit
def
reset
()
:
Unit
def
revert
()
:
Unit
def
setNodes
(
value:
SWIGTYPE_p_std__vectorT_dynet__Node_p_t
)
:
Unit
def
setParameter_nodes
(
value:
SWIGTYPE_p_std__vectorT_dynet__VariableIndex_t
)
:
Unit
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped