torch_manual_seed: Sets the seed for generating random numbers.

View source: R/generator.R

torch_manual_seedR Documentation

Sets the seed for generating random numbers.

Description

Sets the seed for generating random numbers.

Usage

torch_manual_seed(seed)

Arguments

seed

integer seed.


torch documentation built on Jan. 24, 2023, 1:05 a.m.