:github_url: https://github.com/pytorch/pytorch .. _exhale_function_namespacetorch_1a0f725a618669c8a13c1465f7a08774e1: Function torch::randint(int64_t, int64_t, at::IntArrayRef, at::TensorOptions) ============================================================================= - Defined in :ref:`file_torch_csrc_autograd_generated_variable_factories.h` Function Documentation ---------------------- .. doxygenfunction:: torch::randint(int64_t, int64_t, at::IntArrayRef, at::TensorOptions)