org
.
platanios
.
tensorflow
.
api
.
learn
.
layers
Embedding
Related Docs:
object Embedding
|
package layers
case class
Embedding
(
name:
String
,
vocabularySize:
Int
,
embeddingSize:
Int
,
dataType:
types.DataType
,
partitionStrategy:
ops.Embedding.PartitionStrategy
=
ops.Embedding.ModStrategy
,
transformFn: (
ops.Output
) ⇒
ops.Output
=
null
,
maxNorm:
tensors.Tensor
=
null
)
extends
Layer
[
ops.Output
,
ops.Output
] with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
Layer
[
ops.Output
,
ops.Output
],
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Embedding
Serializable
Serializable
Product
Equals
Layer
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Embedding
(
name:
String
,
vocabularySize:
Int
,
embeddingSize:
Int
,
dataType:
types.DataType
,
partitionStrategy:
ops.Embedding.PartitionStrategy
=
ops.Embedding.ModStrategy
,
transformFn: (
ops.Output
) ⇒
ops.Output
=
null
,
maxNorm:
tensors.Tensor
=
null
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
+
(
other:
Layer
[
ops.Output
,
ops.Output
]
)
:
Concatenate
[
ops.Output
,
ops.Output
]
Definition Classes
Layer
def
++
(
others:
Seq
[
Layer
[
ops.Output
,
ops.Output
]]
)
:
Concatenate
[
ops.Output
,
ops.Output
]
Definition Classes
Layer
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
>>
[
S
]
(
other:
Layer
[
ops.Output
,
S
]
)
:
Compose
[
ops.Output
,
ops.Output
,
S
]
Definition Classes
Layer
def
_forward
(
input:
ops.Output
,
mode:
Mode
)
:
ops.Output
Attributes
protected
Definition Classes
Embedding
→
Layer
def
apply
(
input:
ops.Output
,
mode:
Mode
)
:
ops.Output
Definition Classes
Layer
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
compose
[
S
]
(
other:
Layer
[
ops.Output
,
S
]
)
:
Compose
[
ops.Output
,
ops.Output
,
S
]
Definition Classes
Layer
def
concatenate
(
others:
Layer
[
ops.Output
,
ops.Output
]*
)
:
Concatenate
[
ops.Output
,
ops.Output
]
Definition Classes
Layer
implicit
val
context
:
DynamicVariable
[
LayerCreationContext
]
Definition Classes
Layer
val
dataType
:
types.DataType
val
embeddingSize
:
Int
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
forward
(
input:
ops.Output
,
mode:
Mode
)
:
ops.Output
Definition Classes
Layer
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
layerType
:
String
Definition Classes
Embedding
→
Layer
val
maxNorm
:
tensors.Tensor
val
name
:
String
Definition Classes
Embedding
→
Layer
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
partitionStrategy
:
ops.Embedding.PartitionStrategy
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
Layer
→ AnyRef → Any
val
transformFn
: (
ops.Output
) ⇒
ops.Output
val
vocabularySize
:
Int
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
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
Layer
[
ops.Output
,
ops.Output
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped