diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-12-22 14:21:11 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-12-22 14:24:37 -0800 |
commit | 650ba401a9f10b89e056129dedb558561e28a57a (patch) | |
tree | 084ab8e5eff5fa3411fa8ca5a476eb2b34394835 /tensorflow/core/example | |
parent | bb453996b7e1cfd17e201d8abb88a84a6f8b3aa1 (diff) |
Fix documentation error in tensorflow feature_utils.h
Need to take address of the example for modifying its feature
PiperOrigin-RevId: 179963317
Diffstat (limited to 'tensorflow/core/example')
-rw-r--r-- | tensorflow/core/example/feature_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/example/feature_util.h b/tensorflow/core/example/feature_util.h index a87c2c9a57..4e9352ee32 100644 --- a/tensorflow/core/example/feature_util.h +++ b/tensorflow/core/example/feature_util.h @@ -33,7 +33,7 @@ limitations under the License. // GetFeatureValues<int64>("tag", &example)->Add(id); // // Modification of bytes features is slightly different: -// auto tag = GetFeatureValues<string>("tag", example); +// auto tag = GetFeatureValues<string>("tag", &example); // *tag->Add() = "lorem ipsum"; // // To copy multiple values into a feature: |