VAEBase Type

Variational auto-encoder base

Constructors

Constructor Description

VAEBase(zDim)

Full Usage: VAEBase(zDim)

Parameters:
    zDim : int

Returns: VAEBase
zDim : int
Returns: VAEBase

Instance members

Instance member Description

this.decode arg1

Full Usage: this.decode arg1

Parameters:
Returns: Tensor
Modifiers: abstract
arg0 : Tensor
Returns: Tensor

this.encode arg1

Full Usage: this.encode arg1

Parameters:
Returns: Tensor * Tensor
Modifiers: abstract
arg0 : Tensor
Returns: Tensor * Tensor

this.encodeDecode x

Full Usage: this.encodeDecode x

Parameters:
Returns: Tensor * Tensor * Tensor
x : Tensor
Returns: Tensor * Tensor * Tensor

this.loss (x, ?normalize)

Full Usage: this.loss (x, ?normalize)

Parameters:
    x : Tensor
    ?normalize : bool

Returns: Tensor
x : Tensor
?normalize : bool
Returns: Tensor

this.sample ?numSamples

Full Usage: this.sample ?numSamples

Parameters:
    ?numSamples : int

Returns: Tensor
?numSamples : int
Returns: Tensor

Static members

Static member Description

VAEBase.loss (xRecon, x, mu, logVar)

Full Usage: VAEBase.loss (xRecon, x, mu, logVar)

Parameters:
Returns: Tensor
xRecon : Tensor
x : Tensor
mu : Tensor
logVar : Tensor
Returns: Tensor

© Copyright 2021, DiffSharp Contributors.