LostTech.TensorFlow : API Documentation

Type SampleEmbeddingHelper

Namespace tensorflow.contrib.seq2seq

Parent GreedyEmbeddingHelper

Interfaces ISampleEmbeddingHelper

A helper for use during inference.

Uses sampling (from a distribution) instead of argmax and passes the result through an embedding layer to get the next input.

Properties

Public properties

Tensor batch_size get;

object batch_size_dyn get;

object PythonObject get;

DType sample_ids_dtype get;

object sample_ids_dtype_dyn get;

TensorShape sample_ids_shape get;

object sample_ids_shape_dyn get;