tensorflow::ops::Cross

#include <math_ops.h>

Compute the pairwise cross product.

Summary

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.

Args:

  • scope: A Scope object
  • a: A tensor containing 3-element vectors.
  • b: Another tensor, of same type and shape as 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

Public attributes

operation

Operation operation

product

::tensorflow::Output product

Public functions

Cross

 Cross(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input a,
  ::tensorflow::Input b
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const