Other Protocols
The following protocols are available globally.
-
Undocumented
See moreDeclaration
Swift
public protocol CPUNumeric : Comparable, Numeric
-
A device, on which tensor operations can be executed.
See moreDeclaration
Swift
public protocol DeviceType
-
Memory manager for a device
See moreDeclaration
Swift
public protocol MemoryOperatorsType
-
Tensor operation engine for a device
See moreDeclaration
Swift
public protocol EngineType
-
Undocumented
See moreDeclaration
Swift
public protocol VGGBase : LayerType where Self.Parameter : RandomizableType
-
Undocumented
See moreDeclaration
Swift
public protocol LearningRateScheduler
-
A type conforming to the ZeroableType protocol is required to have a zero value, which fulfills the following requirements for any other value x:
- x * .zero = .zero
- x + .zero = x
Declaration
Swift
public protocol ZeroableType : Decodable, Encodable, ExpressibleByIntegerLiteral, Hashable
-
A type that can be used as a number in a Tensor.
See moreDeclaration
Swift
public protocol NumericType : CPUNumeric, ZeroableType, ExpressibleByFloatLiteral
-
Undocumented
See moreDeclaration
Swift
public protocol RandomizableType : NumericType