tensorflow :: ops :: ScatterDiv
#include <state_ops.h>
변수 참조를 스파 스 업데이트로 나눕니다.
요약
이 작업은 다음을 계산합니다.
# Scalar indices ref[indices, ...] /= updates[...]
# Vector indices (for each i) ref[indices[i], ...] /= updates[i, ...]
# High rank indices (for each i, ..., j) ref[indices[i, ..., j], ...] /= updates[i, ..., j, ...]
이 작업은 업데이트가 완료된 후 ref
를 출력합니다. 이렇게하면 재설정 값을 사용해야하는 작업을 더 쉽게 연결할 수 있습니다.
중복 항목은 올바르게 처리됩니다. 여러 indices
가 동일한 위치를 참조하는 경우 기여도가 분할됩니다.
updates.shape = indices.shape + ref.shape[1:]
또는 updates.shape = []
합니다.
인수 :
선택적 속성 ( Attrs
참조) :
- use_locking : True이면 작업이 잠금으로 보호됩니다. 그렇지 않으면 동작이 정의되지 않지만 경합이 적을 수 있습니다.
보고:
-
Output
: =ref
와 동일. 업데이트가 완료된 후 업데이트 된 값을 사용하려는 작업의 편의를 위해 반환됩니다.
생성자와 소멸자 | |
---|---|
ScatterDiv (const :: tensorflow::Scope & scope, :: tensorflow::Input ref, :: tensorflow::Input indices, :: tensorflow::Input updates) | |
ScatterDiv (const :: tensorflow::Scope & scope, :: tensorflow::Input ref, :: tensorflow::Input indices, :: tensorflow::Input updates, const ScatterDiv::Attrs & attrs) |
공용 속성 | |
---|---|
operation | |
output_ref |
공공 기능 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
공개 정적 함수 | |
---|---|
UseLocking (bool x) |
구조체 | |
---|---|
tensorflow :: ops :: ScatterDiv :: 속성 | ScatterDiv에 대한 선택적 속성 설정자. |
공용 속성
조작
Operation operation
output_ref
::tensorflow::Output output_ref
공공 기능
ScatterDiv
ScatterDiv( const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input indices, ::tensorflow::Input updates )
ScatterDiv
ScatterDiv( const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input indices, ::tensorflow::Input updates, const ScatterDiv::Attrs & attrs )
마디
::tensorflow::Node * node() const
연산자 :: tensorflow :: 입력
operator::tensorflow::Input() const
연산자 :: tensorflow :: 출력
operator::tensorflow::Output() const
공개 정적 함수
사용 잠금
Attrs UseLocking( bool x )