Ported from:

sampleFromOutput(
  parameters,
  outputDimension,
  numberOfMixtures,
  temperature = 1,
  sigmaTemperature = 1
)

Arguments

parameters

vector parameter to split

outputDimension

output dimension

numberOfMixtures

number of mixture components

temperature

the temperature for to adjust the distribution (default 1.0), passed to mixture_density_network_softmax

sigmaTemperature

multipler to sigma from the output of sampleFromCategoricalDistribution

Value

a single sample

Details

    https://github.com/cpmpercussion/keras-mdn-layer/

Author

Tustison NJ

Examples