DeviceKind
public enum DeviceKind
extension DeviceKind: Equatable
The kind of devices the tensor resides on.
-
Declaration
Swift
case CPU
-
Declaration
Swift
case GPU(Int)
-
Declaration
Swift
public static func from(cTensorParams: ccv_nnc_tensor_param_t) -> DeviceKind
-
GPU device related information.
See moreDeclaration
Swift
public enum GPUs
-
Declaration
Swift
public static func == (lhs: `Self`, rhs: `Self`) -> Bool