MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / IsStateful

Method IsStateful

tensorflow/core/framework/dataset.h:727–727  ·  view source on GitHub ↗

If the dataset is stateful it will not be possible to save its graph or checkpoint the state of its iterators. TODO(jsimsa): Remove this method once all `DatasetBase` implementations are migrated over to `CheckExternalState`.

Source from the content-addressed store, hash-verified

725 // TODO(jsimsa): Remove this method once all `DatasetBase` implementations are
726 // migrated over to `CheckExternalState`.
727 virtual bool IsStateful() const { return false; }
728
729 // Indicates whether the dataset depends on any external state. If so, the
730 // method returns `errors::FailedPrecondition` with a message that identifies

Callers 1

ShouldOwnKernelMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected