Google I/O에 참여해 주셔서 감사합니다. 주문형 모든 세션 보기 주문형 시청

tensorflow :: ops :: 같은

#include <math_ops.h>

요소별로 (x == y)의 진리 값을 반환합니다.

요약

참고 : Equal 은 방송을 지원합니다. 여기에서 방송에 대해 자세히 알아보기

x = tf.constant([2, 4])
y = tf.constant(2)
tf.math.equal(x, y) ==> array([True, False])

x = tf.constant([2, 4])
y = tf.constant([2, 4])
tf.math.equal(x, y) ==> array([True,  True])

인수 :

보고:

생성자와 소멸자

Equal (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y)
Equal (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y, const Equal::Attrs & attrs)

공용 속성

operation
z

공공 기능

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

공개 정적 함수

IncompatibleShapeError (bool x)

구조체

tensorflow :: ops :: Equal :: Attrs

Equal에 대한 선택적 속성 설정자.

공용 속성

조작

Operation operation

::tensorflow::Output z

공공 기능

같은

 Equal(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input y
)

같은

 Equal(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input y,
  const Equal::Attrs & attrs
)

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const 

공개 정적 함수

IncompatibleShapeError

Attrs IncompatibleShapeError(
  bool x
)