tensorflow:: ops:: Empty
#include <array_ops.h>
Creates a tensor with the given shape.
Summary
This operation creates a tensor of shape and dtype.
Args:
- scope: A Scope object
 - shape: 1-D. Represents the shape of the output tensor.
 
Optional attributes (see Attrs):
- init: If True, initialize the returned tensor with the default value of dtype. Otherwise, the implementation is free not to initializethe tensor's content.
 
Returns:
Constructors and Destructors | 
|
|---|---|
Empty(const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype)
 | 
|
Empty(const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs)
 | 
Public attributes | 
|
|---|---|
operation
 | 
|
output
 | 
|
Public functions | 
|
|---|---|
node() const 
 | 
::tensorflow::Node *
 | 
operator::tensorflow::Input() const 
 | 
 | 
operator::tensorflow::Output() const 
 | 
 | 
Public static functions | 
|
|---|---|
Init(bool x)
 | 
|
Structs | 
|
|---|---|
| 
tensorflow:: | 
 Optional attribute setters for Empty.  | 
Public attributes
operation
Operation operation
output
::tensorflow::Output output
Public functions
Empty
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
Empty
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Public static functions
Init
Attrs Init( bool x )