One Logo Pool Ball
CreateMLComponents · IOS API REFERENCE

TemporalTransformer

protocol · iOS 16.0+ · SDK 27.1

protocol TemporalTransformer<Input, Output>

A transformer that takes an asynchronous input sequence of temporal features and produces an asynchronous output sequence. A temporal transformer, unlike a regular transformer, can accumulate multiple inputs before producing an output. For example, an audio transformer can accumulate audio buffers until the desired length is reached before producing an output.

Members (2)

method · iOS 17.0+

export

Swift declaration
func export(to url: URL, metadata: ModelMetadata) throws

Exports this temporal transformer as a CoreML model with user-supplied metadata. - Note: By default this method exports .mlpackage files. You can export a .mlmodel file by specifying that as the URL file extension. But if you specify .mlmodel and the transformer doesn't support it, this method will throw an error. - Parameters: - url: The location to write the model into. - metadata: Contextual user-provided information.

method · iOS 16.0+

export

Swift declaration
func export(to url: URL) throws

Exports this temporal transformer as a CoreML model. - Note: By default this method exports .mlpackage files. You can export a .mlmodel file by specifying that as the URL file extension. But if you specify .mlmodel and the transformer doesn't support it, this method will throw an error. - Parameter url: The location to write the model into.

Skipped declarations

18 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

TemporalTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

TemporalTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

TemporalTransformer.appending(_:)

This protocol needs associated types that cannot yet cross the bridge.

TemporalTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

TemporalTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

TemporalTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

TemporalTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

TemporalTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

TemporalTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

TemporalTransformer.applied(to:eventHandler:)

This declaration needs Swift generic type arguments. (no canonical witness for S)

TemporalTransformer.applied(to:eventHandler:)

This declaration needs Swift generic type arguments. (no canonical witness for TS)

TemporalTransformer.callAsFunction(_:eventHandler:)

This declaration needs Swift generic type arguments. (no canonical witness for S)

TemporalTransformer.callAsFunction(to:eventHandler:)

This declaration needs Swift generic type arguments. (no canonical witness for S)

TemporalTransformer.prediction(from:)

This declaration needs Swift generic type arguments. (no canonical witness for S)

TemporalTransformer.adaptedAsEstimator()

This protocol needs associated types that cannot yet cross the bridge.

TemporalTransformer.adaptedAsUpdatableEstimator()

This protocol needs associated types that cannot yet cross the bridge.

TemporalTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

TemporalTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

All CreateMLComponents types →