public struct OptimizerState
StateAccessor
통해 액세스되는 전역 상태입니다.
선언
public init(_ zeros: [Tensor<Float>], stateCount: Int)
선언
public init(copying other: OptimizerState, to device: Device)
선언
public var state: [Tensor<Float>]
선언
public var stride: Int
선언
public subscript(stateId: Int, weightId: Int) -> Tensor<Float> { get set }
선언
public subscript(state: OptimizerWeightStepState, index: StateAccessor) -> Tensor<Float> { get set }