#include <math_ops.h>
Compute the pairwise cross product.
a
and b
must be the same shape; they can either be simple 3-element vectors, or any shape where the innermost dimension is 3. In the latter case, each pair of corresponding 3-element vectors is cross-multiplied independently.
Arguments:
a
.Returns:
Output
: Pairwise cross product of the vectors in a
and b
. Constructors and Destructors | |
---|---|
Cross(const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b) |
Public attributes | |
---|---|
operation | |
product |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Operation operation
::tensorflow::Output product
Cross( const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
© 2020 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/versions/r2.3/api_docs/cc/class/tensorflow/ops/cross