Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

CopyableToDevice

public protocol CopyableToDevice : _CopyableToDevice

A type whose nested properties and elements can be copied to a Device.

  • Creates a copy of other on the given Device.

    All cross-device references are moved to the given Device.

    Declaration

    init(copying other: Self, to device: Device)