def get_random_objects(model, num):
    return _get_model(model)._default_manager.order_by('?')[:int(num)]
Instantiates an all-ones tensor
dataset/ETHPy150Open justquick/django-native-tags/native_tags/contrib/generic_content.py/get_random_objects--crossover with--dataset/ETHPy150Open fchollet/keras/keras/backend/tensorflow_backend.py/ones_like