Commit a0ffa747 authored by lucas_miranda's avatar lucas_miranda
Browse files

Added tests for model_utils.py

parent 343cf82d
......@@ -24,7 +24,7 @@ from tensorflow.python.framework.ops import EagerTensor
)
)
def test_far_away_uniform_initialiser(shape):
far = deepof.model_utils.far_away_uniform_initialiser(shape, 0, 15, 100)
far = deepof.model_utils.far_away_uniform_initialiser(shape, 0, 15, 1000)
random = tf.random.uniform(shape, 0, 15)
assert far.shape == shape
assert tf.abs(tf.norm(tf.math.subtract(far[1:], far[:1]))) > tf.abs(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment