11 declarations · 72 ms
static var default: NeuralNetworks.MLProgramWritingOptions { get }static var embeddingParametersAndStates: NeuralNetworks.MLProgramWritingOptions { get }static var exportingParametersAndStates: NeuralNetworks.MLProgramWritingOptions { get }init(parameterStorageMode: NeuralNetworks.MLProgramWritingOptions.ParameterStorageMode) -> NeuralNetworks.MLProgramWritingOptionsNeuralNetworks.Layer< where A.Input == NeuralNetworks.Tensor, A.Output: Collection, A.Output: ExpressibleByDictionaryLiteral, A.Output.Sequence.Element == (key: A.Output.ExpressibleByDictionaryLiteral.Key, value: NeuralNetworks.Tensor), A.Output.ExpressibleByDictionaryLiteral.Key: Hashable>.writeMLProgram(withInput: NeuralNetworks.Tensor, to: Foundation.URL, options: NeuralNetworks.MLProgramWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input: Collection, A.Output: Collection, A.Input.Element == NeuralNetworks.Tensor, A.Output.Element == NeuralNetworks.Tensor>.writeMLProgram(withInput: A.Input, to: Foundation.URL, options: NeuralNetworks.MLProgramWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input == NeuralNetworks.Tensor, A.Output: Collection, A.Output.Element == NeuralNetworks.Tensor>.writeMLProgram(withInput: NeuralNetworks.Tensor, to: Foundation.URL, options: NeuralNetworks.MLProgramWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input == NeuralNetworks.Tensor, A.Output == NeuralNetworks.Tensor>.writeMLProgram(withInput: NeuralNetworks.Tensor, to: Foundation.URL, options: NeuralNetworks.MLProgramWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input: Collection, A.Input: ExpressibleByDictionaryLiteral, A.Output == NeuralNetworks.Tensor, A.Input.Sequence.Element == (key: A.Input.ExpressibleByDictionaryLiteral.Key, value: NeuralNetworks.Tensor), A.Input.ExpressibleByDictionaryLiteral.Key: Hashable>.writeMLProgram(withInput: A.Input, to: Foundation.URL, options: NeuralNetworks.MLProgramWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input: Collection, A.Input: ExpressibleByDictionaryLiteral, A.Output: Collection, A.Output: ExpressibleByDictionaryLiteral, A.Input.Sequence.Element == (key: A.Input.ExpressibleByDictionaryLiteral.Key, value: NeuralNetworks.Tensor), A.Input.ExpressibleByDictionaryLiteral.Key: Hashable, A.Output.Sequence.Element == (key: A.Output.ExpressibleByDictionaryLiteral.Key, value: NeuralNetworks.Tensor), A.Output.ExpressibleByDictionaryLiteral.Key: Hashable>.writeMLProgram(withInput: A.Input, to: Foundation.URL, options: NeuralNetworks.MLProgramWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input: Collection, A.Output == NeuralNetworks.Tensor, A.Input.Element == NeuralNetworks.Tensor>.writeMLProgram(withInput: A.Input, to: Foundation.URL, options: NeuralNetworks.MLProgramWritingOptions) throws -> ()