OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:sparsemax
(Results
1 - 10
of
10
) sorted by null
/external/tensorflow/tensorflow/contrib/sparsemax/
__init__.py
15
"""Module that implements
sparsemax
and
sparsemax
loss, see [1].
19
##
Sparsemax
21
@@
sparsemax
28
from tensorflow.contrib.
sparsemax
.python.ops.
sparsemax
import
sparsemax
29
from tensorflow.contrib.
sparsemax
.python.ops.sparsemax_loss \
33
_allowed_symbols = ['
sparsemax
', 'sparsemax_loss']
/external/tensorflow/tensorflow/contrib/sparsemax/python/ops/
sparsemax_loss.py
15
"""
Sparsemax
Loss op."""
28
def sparsemax_loss(logits,
sparsemax
, labels, name=None):
29
"""Computes
sparsemax
loss function [1].
36
sparsemax
: A `Tensor`. Must have the same type as `logits`.
45
[logits,
sparsemax
, labels]) as name:
47
sparsemax
= ops.convert_to_tensor(
sparsemax
, name="
sparsemax
")
54
support = math_ops.cast(
sparsemax
> 0,
sparsemax
.dtype
[
all
...]
sparsemax.py
15
"""
Sparsemax
op."""
27
__all__ = ["
sparsemax
"]
30
def
sparsemax
(logits, name=None):
function
31
"""Computes
sparsemax
activations [1].
34
sparsemax
[i, j] = max(logits[i, j] - tau(logits[i, :]), 0)
47
with ops.name_scope(name, "
sparsemax
", [logits]) as name:
/external/tensorflow/tensorflow/contrib/sparsemax/python/kernel_tests/
sparsemax_test.py
23
from tensorflow.contrib.
sparsemax
import
sparsemax
74
tf_sparsemax_op =
sparsemax
(z.astype(dtype))
80
"""check
sparsemax
kernel against numpy"""
91
"""check
sparsemax
proposition 1, part 1"""
101
"""check
sparsemax
proposition 1, part 2"""
121
"""check
sparsemax
proposition 2"""
133
"""check
sparsemax
proposition 3"""
149
"""check
sparsemax
proposition 4"""
168
"""check two dimentation
sparsemax
case""
[
all
...]
sparsemax_loss_test.py
23
from tensorflow.contrib.
sparsemax
import
sparsemax
, sparsemax_loss
83
tf_sparsemax_op =
sparsemax
(z.astype(dtype))
93
tf_sparsemax_op =
sparsemax
(z)
100
"""check
sparsemax
-loss kernel against numpy"""
113
"""check
sparsemax
-loss proposition 3"""
132
"""check
sparsemax
-loss proposition 4"""
143
"""check
sparsemax
-loss proposition 5"""
162
"""check
sparsemax
-loss Rop, against estimated-loss Rop"""
168
sparsemax_op =
sparsemax
(logits
[
all
...]
/external/tensorflow/tensorflow/contrib/cmake/
python_modules.txt
401
tensorflow/contrib/
sparsemax
402
tensorflow/contrib/
sparsemax
/python
403
tensorflow/contrib/
sparsemax
/python/ops
/external/tensorflow/tensorflow/contrib/
BUILD
94
"//tensorflow/contrib/
sparsemax
:sparsemax_py",
__init__.py
73
from tensorflow.contrib import
sparsemax
/external/tensorflow/tensorflow/contrib/seq2seq/python/ops/
attention_wrapper.py
385
@{tf.contrib.seq2seq.hardmax} and @{tf.contrib.
sparsemax
.
sparsemax
}.
531
@{tf.contrib.seq2seq.hardmax} and @{tf.contrib.
sparsemax
.
sparsemax
}.
[
all
...]
/external/tensorflow/tensorflow/
BUILD
573
"//tensorflow/contrib/
sparsemax
:all_files",
Completed in 430 milliseconds