SwiftstructCreateMLComponents

struct CreateMLComponents.LinearTimeSeriesForecaster.Model

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 19

  1. fieldvar annotationSize: Int
  2. fieldvar base: CreateMLComponents.MultivariateLinearRegressor<A>.Model
  3. fieldvar featureSize: Int
  4. fieldvar stride: Int
  5. funcapplied(to: CoreML.MLShapedArray<A>, eventHandler: (@Sendable (CreateMLComponents.Event) -> ())?) async throws -> CoreML.MLShapedArray<A>
  6. funcapplied<A where A1: CreateMLComponents.TemporalSequence, A1.Feature == CoreML.MLShapedArray<A>>(to: A1, eventHandler: (@Sendable (CreateMLComponents.Event) -> ())?) async throws -> CreateMLComponents.AnyTemporalSequence<CoreML.MLShapedArray<A>>
  7. funcapplied<A where A1: Sequence, A1.Element == CoreML.MLShapedArray<A>>(to: A1, eventHandler: (@Sendable (CreateMLComponents.Event) -> ())?) async throws -> [CoreML.MLShapedArray<A>]
  8. funcapplied(toWindow: CoreML.MLShapedArray<A>, eventHandler: (@Sendable (CreateMLComponents.Event) -> ())?) async throws -> CoreML.MLShapedArray<A>
  9. funcexport(to: Foundation.URL, metadata: CreateMLComponents.ModelMetadata) throws -> ()
  10. funcexport(to: Foundation.URL) throws -> ()
  11. typealiastypealias Input = CoreML.MLShapedArray<A>
  12. typealiastypealias Input = CoreML.MLShapedArray<A>
  13. typealiastypealias Output = CoreML.MLShapedArray<A>
  14. typealiastypealias Output = CoreML.MLShapedArray<A>
  15. typealiastypealias OutputSequence = CreateMLComponents.AnyTemporalSequence<CoreML.MLShapedArray<A>>
  16. varvar bias: CoreML.MLShapedArray<A>? { get }
  17. varvar forecastWindowSize: Int { get }
  18. varvar inputWindowSize: Int { get }
  19. varvar weight: CoreML.MLShapedArray<A> { get }
struct CreateMLComponents.LinearTimeSeriesForecaster.Model {
    struct Storage {
        enum CodingKeys {
            case weight
            case bias
            case featureSize
            case annotationSize
            case stride
        }
        var weight: CoreML.MLShapedArray<Swift.Float>
        var bias: CoreML.MLShapedArray<Swift.Float>?
        var featureSize: Swift.Int
        var annotationSize: Swift.Int
        var stride: Swift.Int?
    }
    var base: CreateMLComponents.MultivariateLinearRegressor<A>.Model
    var featureSize: Swift.Int
    var annotationSize: Swift.Int
    var stride: Swift.Int

    var bias: CoreML.MLShapedArray<A>? {
        get
    }
    var forecastWindowSize: Swift.Int {
        get
    }
    var inputWindowSize: Swift.Int {
        get
    }
    var weight: CoreML.MLShapedArray<A> {
        get
    }

    func export(to: Foundation.URL, metadata: CreateMLComponents.ModelMetadata) throws
    func export(to: Foundation.URL) throws
    func applied(to: CoreML.MLShapedArray<A>, eventHandler: (@Sendable (_: CreateMLComponents.Event) -> ())?) async throws -> CoreML.MLShapedArray<A>
    func applied<A1>(to: A1, eventHandler: (@Sendable (_: CreateMLComponents.Event) -> ())?) async throws -> CreateMLComponents.AnyTemporalSequence<CoreML.MLShapedArray<A>> where A1: CreateMLComponents.TemporalSequence, A1.Feature == CoreML.MLShapedArray<A>
    func applied<A1>(to: A1, eventHandler: (@Sendable (_: CreateMLComponents.Event) -> ())?) async throws -> [CoreML.MLShapedArray<A>] where A1: Swift.Sequence, A1.Element == CoreML.MLShapedArray<A>
    func applied(toWindow: CoreML.MLShapedArray<A>, eventHandler: (@Sendable (_: CreateMLComponents.Event) -> ())?) async throws -> CoreML.MLShapedArray<A>
}