#include <logging_ops.h>
Asserts that the given condition is true.
If condition
evaluates to false, print the list of tensors in data
. summarize
determines how many entries of the tensors to print.
Arguments:
Optional attributes (see Attrs
):
Returns:
Operation
Constructors and Destructors | |
---|---|
Assert(const ::tensorflow::Scope & scope, ::tensorflow::Input condition, ::tensorflow::InputList data) | |
Assert(const ::tensorflow::Scope & scope, ::tensorflow::Input condition, ::tensorflow::InputList data, const Assert::Attrs & attrs) |
Public attributes | |
---|---|
operation |
Public functions | |
---|---|
operator::tensorflow::Operation() const |
Public static functions | |
---|---|
Summarize(int64 x) |
Structs | |
---|---|
tensorflow::ops::Assert::Attrs | Optional attribute setters for Assert. |
Operation operation
Assert( const ::tensorflow::Scope & scope, ::tensorflow::Input condition, ::tensorflow::InputList data )
Assert( const ::tensorflow::Scope & scope, ::tensorflow::Input condition, ::tensorflow::InputList data, const Assert::Attrs & attrs )
operator::tensorflow::Operation() const
Attrs Summarize( int64 x )
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/assert.html