tensorflow:: ops:: Assert
#include <logging_ops.h>
Asserts that the given condition is true.
Summary
If condition
evaluates to false, print the list of tensors in data
. summarize
determines how many entries of the tensors to print.
Arguments:
- scope: A Scope object
- condition: The condition to evaluate.
- data: The tensors to print out when condition is false.
Optional attributes (see Attrs
):
- summarize: Print this many entries of each tensor.
Returns:
- the created
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:: |
Optional attribute setters for Assert. |
Public attributes
operation
Operation operation
Public functions
Assert
Assert( const ::tensorflow::Scope & scope, ::tensorflow::Input condition, ::tensorflow::InputList data )
Assert
Assert( const ::tensorflow::Scope & scope, ::tensorflow::Input condition, ::tensorflow::InputList data, const Assert::Attrs & attrs )
operator::tensorflow::Operation
operator::tensorflow::Operation() const
Public static functions
Summarize
Attrs Summarize( int64 x )