tensorflow :: ops :: OnesLike

#include <array_ops.h>

Mengembalikan tensor satuan dengan bentuk dan jenis yang sama dengan x.

Ringkasan

Argumen:

  • scope: Objek Scope
  • x: tensor tipe T.

Pengembalian:

  • Output : tensor dengan bentuk dan tipe yang sama dengan x tetapi diisi dengan satu.

Pembuat dan Penghancur

OnesLike (const :: tensorflow::Scope & scope, :: tensorflow::Input x)

Atribut publik

operation
y

Fungsi publik

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

Atribut publik

operasi

Operation operation

y

::tensorflow::Output y

Fungsi publik

OnesLike

 OnesLike(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

simpul

::tensorflow::Node * node() const 

operator :: tensorflow :: Input

 operator::tensorflow::Input() const 

operator :: tensorflow :: Keluaran

 operator::tensorflow::Output() const