aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitignore
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-12-13 12:10:18 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-12-13 12:14:09 -0800
commitac4d418e3cd1d3236037508b815db4cff82bcfda (patch)
treeca9ae465faf590f97d84cbea2c8d7f62cd719a2d /.gitignore
parente256c813f1d1cdb857014a8617628c7c812d98c6 (diff)
Test consistently that the strings passed in input_arrays and output_arrays
consist of printable ASCII characters (this is motivated by a user having unwittingly passed unicode zero-width characters, probably by copy-pasting), and are names of arrays actually existing in the model. Centralize these tests in CheckInvariants. This can be overridden with new model flags: --allow_nonascii_arrays, --allow_nonexistent_arrays. These are model flags because this is about self-consistency of the model and its existing modelflags. This CL partly undoes a recent relaxation of checks on input arrays that was done to support getting graphviz out of incorrectly specified graphs. Such users will now have to pass --allow_nonexistent_arrays. PiperOrigin-RevId: 178939235
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions