Home
last modified time | relevance | path

Searched refs:_weights (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/contrib/gan/python/losses/python/
Dlosses_impl_test.py44 self._weights = 2.3
138 self._discriminator_gen_outputs, weights=self._weights)
140 self.assertAlmostEqual(self._expected_g_loss * self._weights,
146 real_weights=self._weights, generated_weights=self._weights)
148 self.assertAlmostEqual(self._expected_d_loss * self._weights,
153 weights=constant_op.constant(self._weights))
155 self.assertAlmostEqual(self._expected_g_loss * self._weights,
159 weights = constant_op.constant(self._weights)
164 self.assertAlmostEqual(self._expected_d_loss * self._weights,
257 self._weights = 2.3
[all …]
/external/tensorflow/tensorflow/contrib/nn/python/ops/
Dsampling_ops_test.py48 def _weights(self): member in RankSampledSoftmaxLossTest
154 weights=self._weights(),
173 weights=self._weights(),
191 weights=self._weights(),
237 self._testCompareWithNN(self._weights, self._biases, 'div')
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2.py246 self._weights = []
553 self._weights.append(weight)
590 self._weights.append(self._iterations)
599 self._weights.append(self._iterations)
672 return self._weights
677 return self._weights
Dnadam.py115 self._weights.append(self._m_cache)
/external/tensorflow/tensorflow/contrib/rnn/python/ops/
Dcore_rnn_cell.py96 self._weights = vs.get_variable(
115 res = math_ops.matmul(args[0], self._weights)
119 res = math_ops.matmul(array_ops.concat(args, one), self._weights)