przepływ tensorowy:: ops:: Te, które lubię

#include <array_ops.h>

Zwraca tensor jedynek o tym samym kształcie i typie co x.

Streszczenie

Argumenty:

  • zakres: Obiekt Scope
  • x: tensor typu T.

Zwroty:

  • Output : tensor tego samego kształtu i typu co x, ale wypełniony jedynkami.

Konstruktory i destruktory

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

Atrybuty publiczne

operation
y

Funkcje publiczne

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

Atrybuty publiczne

operacja

Operation operation

y

::tensorflow::Output y

Funkcje publiczne

Te, które lubię

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

węzeł

::tensorflow::Node * node() const 

operator::tensorflow::Wejście

 operator::tensorflow::Input() const 

operator::tensorflow::Wyjście

 operator::tensorflow::Output() const