hasktorch-0.2.0.0: Functional differentiable programming in Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Torch.Random

Documentation

data Generator Source #

Instances

Instances details
Show Generator Source # 
Instance details

Defined in Torch.Random

Eq Generator Source # 
Instance details

Defined in Torch.Random

randn Source #

Arguments

:: [Int]

size

-> TensorOptions

options

-> Generator

generator

-> (Tensor, Generator)

output

randn' Source #

Arguments

:: [Int]

size

-> Generator

generator

-> (Tensor, Generator)

output

rand Source #

Arguments

:: [Int]

size

-> TensorOptions

options

-> Generator

generator

-> (Tensor, Generator)

output

rand' Source #

Arguments

:: [Int]

size

-> Generator

generator

-> (Tensor, Generator)

output

randint Source #

Arguments

:: Int

low

-> Int

high

-> [Int]

size

-> TensorOptions

options

-> Generator

generator

-> (Tensor, Generator)

output

randint' Source #

Arguments

:: Int

low

-> Int

high

-> [Int]

size

-> Generator

generator

-> (Tensor, Generator)

output

normal Source #

Arguments

:: Double

mean

-> Double

std

-> [Int]

size

-> TensorOptions

options

-> Generator

generator

-> (Tensor, Generator)

output

normal' Source #

Arguments

:: Double

mean

-> Double

std

-> [Int]

size

-> Generator

generator

-> (Tensor, Generator)

output

Orphan instances