tensorflow::ops::Copy

#include <array_ops.h>

Copy Op.

Summary

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):

  • tensor_name: The name of the input tensor.

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.

Public attributes

output

::tensorflow::Output output

Public functions

Copy

 Copy(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

Copy

 Copy(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const Copy::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Public static functions

TensorName

Attrs TensorName(
  StringPiece x
)