tensorflow:: ops:: Cross
#include <math_ops.h>ペアごとの外積を計算します。
まとめ
aとb同じ形状でなければなりません。単純な3要素ベクトルでも、最内次元が3である任意の形状でも構いません。後者の場合、対応する3要素ベクトルの各ペアは独立して相互乗算されます。
議論:
- スコープ:スコープオブジェクト
- a: 3つの要素を持つベクトルを含むテンソル。
- b:
aと同じ型と形状の別のテンソル。
返品:
-
Output:aとbのベクトルのペアごとの外積。
コンストラクターとデストラクタ | |
|---|---|
Cross (const :: tensorflow::Scope & scope, :: tensorflow::Input a, :: tensorflow::Input b) |
公開属性 | |
|---|---|
operation | |
product | |
公的機能 | |
|---|---|
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
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const