텐서그룹

public protocol TensorGroup : TensorArrayProtocol

Array<CTensorHandle> 에 매핑될 수 있는 유형을 나타내는 프로토콜입니다.

TensorGroup 이 텐서 작업에 대한 인수로 사용되면 요소가 해당 유형의 텐서 필드인 인수 목록으로 전달됩니다.

TensorGroup 이 텐서 작업의 결과로 반환되면 텐서 작업의 텐서 결과로 설정된 텐서 필드로 초기화됩니다.

  • tensorHandles 주소에서 시작하는 _tensorHandleCount 텐서의 소유권을 가져와 이 유형의 값을 초기화합니다.

    선언

    init(_owning tensorHandles: UnsafePointer<CTensorHandle>?)
  • 선언

    public init(_owning tensorHandles: UnsafePointer<CTensorHandle>?, count: Int)