Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_create_tensors(test_create_tfrecords):
print("Testing that input tensors can be created")
created_tensors = tfrecords.create_tensors(test_create_tfrecords)
assert len(created_tensors) == 2
return created_tensors
def setup_create_tensors(test_create_tfrecords):
created_tensors = tfrecords.create_tensors(test_create_tfrecords)
return created_tensors