Type InferenceHelper
Namespace tensorflow.contrib.seq2seq
Parent PythonObjectContainer
Interfaces Helper, IInferenceHelper
A helper to use during inference with a custom sampling function.
Properties
Public properties
Tensor batch_size get;
Batch size of tensor returned by `sample`. Returns a scalar int32 tensor.
object batch_size_dyn get;
Batch size of tensor returned by `sample`. Returns a scalar int32 tensor.
object PythonObject get;
DType sample_ids_dtype get;
DType of tensor returned by `sample`. Returns a DType.
object sample_ids_dtype_dyn get;
DType of tensor returned by `sample`. Returns a DType.
TensorShape sample_ids_shape get;
Shape of tensor returned by `sample`, excluding the batch dimension. Returns a `TensorShape`.
object sample_ids_shape_dyn get;
Shape of tensor returned by `sample`, excluding the batch dimension. Returns a `TensorShape`.