LostTech.TensorFlow : API Documentation

Type OneShotPredictionHead

Namespace tensorflow.contrib.timeseries

Parent TimeSeriesRegressionHead

Interfaces IOneShotPredictionHead

A time series head which exports a single stateless serving signature.

The serving default signature exported by this head expects `times`, `values`, and any exogenous features, but no state. `values` has shape `[batch_size, filter_length, num_features]` and `times` has shape `[batch_size, total_length]`, where `total_length > filter_length`. Any exogenous features must have their shapes prefixed by the shape of the `times` feature.

When serving, first performs filtering on the series up to `filter_length` starting from the default start state for the model, then computes predictions on the remainder of the series, returning them.

Model state is neither accepted nor returned, so filtering must be performed each time predictions are requested when using this head.


Public properties

InputStatisticsFromMiniBatch input_statistics_generator get; set;

object logits_dimension get;

object logits_dimension_dyn get;

object model get; set;

object name get;

object name_dyn get;

object optimizer get; set;

object PythonObject get;

object state_manager get; set;