Skip to content

Commit e265ba0

Browse files
Merge pull request #2058 from 372046933:patch-1
PiperOrigin-RevId: 441305567
2 parents 27ce72c + eff29ee commit e265ba0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/en/guide/create_op.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,10 +524,10 @@ This asserts that the input is a vector, and returns having set the
524524
of a tensor in
525525
[`tensorflow/core/framework/tensor_shape.h`](https://www.tensorflow.org/code/tensorflow/core/framework/tensor_shape.h)
526526
* The error itself, which is represented by a `Status` object, see
527-
[`tensorflow/core/lib/core/status.h`](https://www.tensorflow.org/code/tensorflow/core/lib/core/status.h). A
527+
[`tensorflow/core/platform/status.h`](https://www.tensorflow.org/code/tensorflow/core/platform/status.h). A
528528
`Status` has both a type (frequently `InvalidArgument`, but see the list of
529529
types) and a message. Functions for constructing an error may be found in
530-
[`tensorflow/core/lib/core/errors.h`][validation-macros].
530+
[`tensorflow/core/platform/errors.h`][validation-macros].
531531
532532
Alternatively, if you want to test whether a `Status` object returned from some
533533
function is an error, and if so return it, use
@@ -1497,7 +1497,7 @@ of building TensorFlow from source.
14971497
[standard_ops-py]:https://www.tensorflow.org/code/tensorflow/python/ops/standard_ops.py
14981498
[standard_ops-cc]:https://www.tensorflow.org/code/tensorflow/cc/ops/standard_ops.h
14991499
[python-BUILD]:https://www.tensorflow.org/code/tensorflow/python/BUILD
1500-
[validation-macros]:https://www.tensorflow.org/code/tensorflow/core/lib/core/errors.h
1500+
[validation-macros]:https://www.tensorflow.org/code/tensorflow/core/platform/errors.h
15011501
[op_def_builder]:https://www.tensorflow.org/code/tensorflow/core/framework/op_def_builder.h
15021502
[register_types]:https://www.tensorflow.org/code/tensorflow/core/framework/register_types.h
15031503
[FinalizeAttr]:https://www.tensorflow.org/code/tensorflow/core/framework/op_def_builder.cc

0 commit comments

Comments
 (0)