tensorflow :: ops :: Üretim

#include <math_ops.h>

Bir tensörün boyutlarına göre elemanların çarpımını hesaplar.

Özet

Azaltır input verilen boyutlara boyunca axis . keep_dims true olmadığı sürece, tensörün rankı, axis her giriş için 1 azaltılır. keep_dims true ise, küçültülmüş boyutlar uzunluk 1 ile tutulur.

Argümanlar:

  • kapsam: Bir Scope nesnesi
  • girdi: Azaltılacak tensör.
  • eksen: Küçültülecek boyutlar. [-rank(input), rank(input)) aralığında olmalıdır.

İsteğe bağlı özellikler (bkz. Attrs ):

  • keep_dims: true ise, 1 uzunluğundaki küçültülmüş boyutları koruyun.

İadeler:

  • Output : Azaltılmış tensör.

Takma adlar:

  • ReduceProd

Yapıcılar ve Yıkıcılar

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

Genel özellikler

operation
output

Kamusal işlevler

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Genel statik işlevler

KeepDims (bool x)

Yapılar

tensorflow :: ops :: Prod :: Attrs

Üretim için isteğe bağlı öznitelik belirleyiciler.

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamusal işlevler

Üretim

 Prod(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input axis
)

Üretim

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

düğüm

::tensorflow::Node * node() const 

operator :: tensorflow :: Girdi

 operator::tensorflow::Input() const 

operator :: tensorflow :: Çıktı

 operator::tensorflow::Output() const 

Genel statik işlevler

KeepDims

Attrs KeepDims(
  bool x
)