#include <array_ops.h>
Copy Op.
Performs CPU-to-CPU or GPU-to-GPU deep-copying of tensor, depending on the device on which the tensor is allocated.
Unlike the CopyHost Op, this op does not have HostMemory constraint on its input or output.
Arguments:
Optional attributes (see Attrs
):
Returns:
Constructors and Destructors | |
---|---|
Copy(const ::tensorflow::Scope & scope, ::tensorflow::Input input) | |
Copy(const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Copy::Attrs & attrs) |
Public attributes | |
---|---|
output |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Public static functions | |
---|---|
TensorName(StringPiece x) |
Structs | |
---|---|
tensorflow::ops::Copy::Attrs | Optional attribute setters for Copy. |
::tensorflow::Output output
Copy( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
Copy( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Copy::Attrs & attrs )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Attrs TensorName( StringPiece 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/copy.html