#include <array_ops.h>
Creates a tensor with the given shape.
This operation creates a tensor of shape
and dtype
.
Arguments:
Optional attributes (see Attrs
):
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 | |
---|---|
output |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Public static functions | |
---|---|
Init(bool x) |
Structs | |
---|---|
tensorflow::ops::Empty::Attrs | Optional attribute setters for Empty. |
::tensorflow::Output output
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Attrs Init( bool x )
© 2018 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/empty.html