OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LOSSES
(Results
1 - 13
of
13
) sorted by null
/external/tensorflow/tensorflow/python/ops/losses/
util.py
36
@tf_export("
losses
.add_loss")
37
def add_loss(loss, loss_collection=ops.GraphKeys.
LOSSES
):
38
"""Adds a externally defined loss to the collection of
losses
.
48
@tf_export("
losses
.get_losses")
49
def get_losses(scope=None, loss_collection=ops.GraphKeys.
LOSSES
):
50
"""Gets the list of
losses
from the loss_collection.
53
scope: An optional scope name for filtering the
losses
to return.
54
loss_collection: Optional
losses
collection.
62
@tf_export("
losses
.get_regularization_losses")
64
"""Gets the list of regularization
losses
[
all
...]
losses_impl.py
29
from tensorflow.python.ops.
losses
import util
34
@tf_export("
losses
.Reduction")
39
`NONE`: Un-reduced weighted
losses
with the same shape as input.
40
`SUM`: Scalar sum of weighted
losses
.
42
`SUM_OVER_BATCH_SIZE`: Scalar `SUM` divided by number of elements in
losses
.
100
def _safe_mean(
losses
, num_present):
101
"""Computes a safe mean of the
losses
.
104
losses
: `Tensor` whose elements contain individual loss measurements.
105
num_present: The number of measurable elements in `
losses
`.
108
A scalar representing the mean of `
losses
`. If `num_present` is zero
[
all
...]
/external/tensorflow/tensorflow/contrib/gan/python/losses/python/
losses_impl.py
15
"""
Losses
that are useful for training GANs.
17
The
losses
belong to two main groups, but there are others that do not:
28
All
losses
must be able to accept 1D or 2D Tensors, so as to be compatible with
29
patchGAN style
losses
(https://arxiv.org/abs/1611.07004).
31
To make these
losses
usable in the TFGAN framework, please create a tuple
32
version of the
losses
with `losses_utils.py`.
51
from tensorflow.python.ops.
losses
import
losses
52
from tensorflow.python.ops.
losses
import util
74
# Wasserstein
losses
from `Wasserstein GAN` (https://arxiv.org/abs/1701.07875)
[
all
...]
/external/tensorflow/tensorflow/contrib/kernel_methods/python/
losses.py
27
from tensorflow.python.ops.
losses
import
losses
35
loss_collection=ops.GraphKeys.
LOSSES
,
36
reduction=
losses
.Reduction.SUM_BY_NONZERO_WEIGHTS):
134
return
losses
.compute_weighted_loss(
/external/tensorflow/tensorflow/contrib/losses/python/losses/
loss_ops.py
17
Note: All the
losses
are added to the `GraphKeys.
LOSSES
` collection.
42
def _scale_losses(
losses
, weights):
46
losses
: A `Tensor` of size [batch_size, d1, ... dN].
48
The `
losses
` are reduced (tf.reduce_sum) until its dimension matches
49
that of `weights` at which point the reduced `
losses
` are element-wise
52
`weights` to be the same size as `
losses
`, performing an element-wise
57
`
losses
`.
59
# First, compute the sum of the
losses
over all elements:
61
reduction_indices = list(range(start_index,
losses
.get_shape().ndims)
[
all
...]
/prebuilts/jdk/jdk9/darwin-x86/legal/jdk.crypto.ec/
ecc.md
527
RENDERED INACCURATE OR
LOSSES
SUSTAINED BY YOU OR THIRD PARTIES OR A
/prebuilts/jdk/jdk9/linux-x86/legal/jdk.crypto.ec/
ecc.md
527
RENDERED INACCURATE OR
LOSSES
SUSTAINED BY YOU OR THIRD PARTIES OR A
/external/tensorflow/tensorflow/python/estimator/
estimator.py
[
all
...]
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
estimator.py
[
all
...]
estimator_test.py
[
all
...]
/external/kotlinc/
LICENSE
236
other commercial damages or
losses
), even if such Contributor
535
other commercial damages or
losses
), even if such Contributor
[
all
...]
NOTICE
236
other commercial damages or
losses
), even if such Contributor
535
other commercial damages or
losses
), even if such Contributor
[
all
...]
/external/tensorflow/tensorflow/python/framework/
ops.py
[
all
...]
Completed in 557 milliseconds