W3cubDocs

/TensorFlow C++

tensorflow::ops::CopyHost

#include <array_ops.h>

Copy Host Op.

Summary

Performs CPU-to-CPU deep-copying of tensor.

Unlike the Copy Op, this op has HostMemory constraint on its input or output.

Arguments:

Optional attributes (see Attrs):

  • tensor_name: The name of the input tensor.

Returns:

Constructors and Destructors
CopyHost(const ::tensorflow::Scope & scope, ::tensorflow::Input input)
CopyHost(const ::tensorflow::Scope & scope, ::tensorflow::Input input, const CopyHost::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::CopyHost::Attrs

Optional attribute setters for CopyHost.

Public attributes

output

::tensorflow::Output output

Public functions

CopyHost

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

CopyHost

 CopyHost(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const CopyHost::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
)

© 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-host.html