aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util/tensor_bundle/tensor_bundle.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/util/tensor_bundle/tensor_bundle.h')
-rw-r--r--tensorflow/core/util/tensor_bundle/tensor_bundle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tensorflow/core/util/tensor_bundle/tensor_bundle.h b/tensorflow/core/util/tensor_bundle/tensor_bundle.h
index bca3910f59..676bfe4df6 100644
--- a/tensorflow/core/util/tensor_bundle/tensor_bundle.h
+++ b/tensorflow/core/util/tensor_bundle/tensor_bundle.h
@@ -100,6 +100,10 @@ extern const int kTensorBundleVersion;
extern const char* const kHeaderEntryKey;
// Builds a string-string table of tensor names to BundleEntryProto (metadata).
+//
+// On construction, attempts to create a directory given by the dirname of
+// "prefix", so "status()" must be checked before calling any member functions.
+//
// All threads accessing the same BundleWriter must synchronize.
class BundleWriter {
public: