Options
All
  • Public
  • Public/Protected
  • All
Menu

A Neural Autoregressive Distribution Estimator (NADE).

Hierarchy

  • Nade

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Nade(encWeights: tf.Tensor3D, decWeightsT: tf.Tensor3D): Nade
  • Nade contructor.

    Parameters

    • encWeights: tf.Tensor3D

      The encoder weights (kernel), sized [numDims, numHidden, 1].

    • decWeightsT: tf.Tensor3D

      The transposed decoder weights (kernel), sized [numDims, numHidden, 1].

    Returns Nade

Properties

decWeightsT

decWeightsT: tf.Tensor2D

encWeights

encWeights: tf.Tensor2D

numDims

numDims: number

numHidden

numHidden: number

Methods

sample

  • sample(encBias: tf.Tensor2D, decBias: tf.Tensor2D): tf.Tensor2D
  • Samples from the NADE given a batch of encoder and decoder biases.

    Selects the MAP (argmax) of each Bernoulli random variable.

    Parameters

    • encBias: tf.Tensor2D

      A batch of biases to use when encoding, sized [batchSize, numHidden].

    • decBias: tf.Tensor2D

      A batch of biases to use when decoding, sized [batchSize, numDims].

    Returns tf.Tensor2D

Generated using TypeDoc