CollectiveGatherV2

공개 최종 클래스 CollectiveGatherV2

동일한 유형과 모양의 여러 텐서를 상호 축적합니다.

`is_stateless`는 각 작업이 다른 집단 작업에 대한 제어 종속성이 필요하지 않음을 의미합니다. 이 경우 런타임 시 고유한 키(예: `instance_key`)를 사용하여 집합 그룹을 구분해야 합니다.

중첩 클래스

수업 CollectiveGatherV2.옵션 CollectiveGatherV2 의 선택적 속성

공개 방법

출력 <T>
출력 ()
텐서의 기호 핸들을 반환합니다.
정적 CollectiveGatherV2.Options
커뮤니케이션힌트 (문자열 커뮤니케이션힌트)
static <T 확장 번호> CollectiveGatherV2 <T>
생성 ( 범위 범위, 피연산자 <T> 입력, 피연산자 <Integer> groupSize, 피연산자 <Integer> groupKey, 피연산자 <Integer> 인스턴스키, Iterable< 피연산자 <?>> orderingToken, 옵션... 옵션)
새로운 CollectiveGatherV2 작업을 래핑하는 클래스를 생성하는 팩토리 메서드입니다.
출력 <T>
정적 CollectiveGatherV2.Options
isStateless (부울 isStateless)
정적 CollectiveGatherV2.Options
timeoutSeconds (부동 timeoutSeconds)

상속된 메서드

공개 방법

공개 출력 <T> asOutput ()

텐서의 기호 핸들을 반환합니다.

TensorFlow 작업에 대한 입력은 다른 TensorFlow 작업의 출력입니다. 이 메서드는 입력 계산을 나타내는 기호 핸들을 얻는 데 사용됩니다.

공개 정적 CollectiveGatherV2.Options 통신Hint (문자열 통신Hint)

public static CollectiveGatherV2 <T> create ( Scope 범위, Operand <T> 입력, Operand <Integer> groupSize, Operand <Integer> groupKey, Operand <Integer> instanceKey, Iterable< Operand <?>> orderingToken, 옵션... 옵션)

새로운 CollectiveGatherV2 작업을 래핑하는 클래스를 생성하는 팩토리 메서드입니다.

매개변수
범위 현재 범위
옵션 선택적 속성 값을 전달합니다.
보고
  • CollectiveGatherV2의 새로운 인스턴스

공개 출력 <T> 데이터 ()

공개 정적 CollectiveGatherV2.Options isStateless (부울 isStateless)

공개 정적 CollectiveGatherV2.Options timeoutSeconds (Float timeoutSeconds)