edu
.
cmu
.
dynet
.
internal
Device
Related Doc:
package internal
class
Device
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Device
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Device
(
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
allocate_tensor
(
mem_pool:
DeviceMempool
,
tensor:
Tensor
)
:
Unit
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
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[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getDevice_id
()
:
Int
def
getKSCALAR_MINUSONE
()
:
SWIGTYPE_p_float
def
getKSCALAR_ONE
()
:
SWIGTYPE_p_float
def
getKSCALAR_ZERO
()
:
SWIGTYPE_p_float
def
getMem
()
:
SWIGTYPE_p_dynet__MemAllocator
def
getName
()
:
String
def
getPools
()
:
SWIGTYPE_p_std__vectorT_dynet__AlignedMemoryPool_p_t
def
getType
()
:
DeviceType
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
mark
(
cg:
ComputationGraph
)
:
DeviceMempoolSizes
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
revert
(
cp:
DeviceMempoolSizes
)
:
Unit
def
setDevice_id
(
value:
Int
)
:
Unit
def
setKSCALAR_MINUSONE
(
value:
SWIGTYPE_p_float
)
:
Unit
def
setKSCALAR_ONE
(
value:
SWIGTYPE_p_float
)
:
Unit
def
setKSCALAR_ZERO
(
value:
SWIGTYPE_p_float
)
:
Unit
def
setMem
(
value:
SWIGTYPE_p_dynet__MemAllocator
)
:
Unit
def
setName
(
value:
String
)
:
Unit
def
setPools
(
value:
SWIGTYPE_p_std__vectorT_dynet__AlignedMemoryPool_p_t
)
:
Unit
def
setType
(
value:
DeviceType
)
:
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