LostTech.TensorFlow : API Documentation

Type CustomHelper

Namespace tensorflow.contrib.seq2seq

Parent PythonObjectContainer

Interfaces Helper, ICustomHelper

Base abstract class that allows the user to customize sampling.

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`.