OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:np_output
(Results
1 - 5
of
5
) sorted by null
/external/tensorflow/tensorflow/python/keras/layers/
convolutional_test.py
281
np_output
= output.numpy()
283
np_output
= keras.backend.eval(output)
285
np.testing.assert_allclose(
np_output
[:, offset, :], 0.)
286
np.testing.assert_allclose(
np_output
[:, 2:-2, :], 1.)
292
np_output
= output.numpy()
294
np_output
= keras.backend.eval(output)
296
np.testing.assert_allclose(
np_output
[:, left_offset, :], 0.)
298
np.testing.assert_allclose(
np_output
[:, right_offset, :], 0.)
299
np.testing.assert_allclose(
np_output
[:, 1:-2, :], 1.)
337
np_output
= output.numpy(
[
all
...]
/external/tensorflow/tensorflow/python/layers/
core_test.py
400
np_output
= self.evaluate(dropped)
401
self.assertAlmostEqual(0.,
np_output
.min())
403
np_output
= self.evaluate(dropped)
404
self.assertAllClose(np.ones((5, 3)),
np_output
)
414
np_output
= sess.run(dropped, feed_dict={training: True})
415
self.assertAlmostEqual(0.,
np_output
.min())
416
np_output
= sess.run(dropped, feed_dict={training: False})
417
self.assertAllClose(np.ones((5, 5)),
np_output
)
426
np_output
= self.evaluate(dropped)
427
self.assertAlmostEqual(0.,
np_output
.min()
[
all
...]
normalization_test.py
333
np_output
, _, _ = sess.run([outputs] + bn.updates,
336
normed_np_output = ((
np_output
- epsilon) * np_gamma) + np_beta
351
np_output
= sess.run(outputs, feed_dict={training: False})
354
normed_np_output = ((
np_output
- epsilon) * np_gamma) + np_beta
374
np_output
, _, _ = sess.run([outputs] + bn.updates,
377
normed_np_output = ((
np_output
- epsilon) * np_gamma) + np_beta
392
np_output
= sess.run(outputs, feed_dict={training: False})
395
normed_np_output = ((
np_output
- epsilon) * np_gamma) + np_beta
416
np_output
, _, _ = sess.run(
419
normed_np_output = ((
np_output
- epsilon) * np_gamma) + np_bet
[
all
...]
/external/tensorflow/tensorflow/python/keras/
backend_test.py
58
np_output
= np_op(inputs.astype(dtype), *np_args, **np_kwargs)
60
np.testing.assert_allclose(keras_output,
np_output
, atol=1e-4)
63
'Expected ' + str(
np_output
) + ' but got ' +
86
np_output
= np_op(input_a.astype(dtype), input_b.astype(dtype),
89
np.testing.assert_allclose(keras_output,
np_output
, atol=1e-4)
92
'Expected ' + str(
np_output
) + ' but got ' +
[
all
...]
/external/tensorflow/tensorflow/contrib/layers/python/layers/
layers_test.py
[
all
...]
Completed in 189 milliseconds