21 declarations · 212 ms
static bgrImage(size: (height: Int, width: Int), channelsFirst: Bool) -> NeuralNetworks.FeatureInputTypestatic grayScaleImage(size: (height: Int, width: Int), channelsFirst: Bool) -> NeuralNetworks.FeatureInputTypestatic rgbImage(size: (height: Int, width: Int), channelsFirst: Bool) -> NeuralNetworks.FeatureInputTypestatic tensor(NeuralNetworks.Tensor) -> NeuralNetworks.FeatureInputTypestatic tensor(shape: NeuralNetworks.TensorShape, scalarType: NeuralNetworks.ScalarType) -> NeuralNetworks.FeatureInputTypestatic tensor(shape: NeuralNetworks.TensorShape, scalarType: NeuralNetworks.TensorScalar.Type) -> NeuralNetworks.FeatureInputTypestatic tensor(like: NeuralNetworks.Tensor) -> NeuralNetworks.FeatureInputTypeNeuralNetworks.Layer< where A.Input == [NeuralNetworks.Tensor], A.Output: NeuralNetworks.KeyTensorPairsRepresentable, A.Output.Key: CustomStringConvertible>.writeMLPackage(withInput: [NeuralNetworks.FeatureInputType], output: [A.Output.Key : NeuralNetworks.FeatureOutputType]?, to: Foundation.URL, options: NeuralNetworks.MLPackageWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input == NeuralNetworks.Tensor, A.Output == [String : NeuralNetworks.Tensor]>.writeMLPackage(withInput: NeuralNetworks.FeatureInputType, output: [String : NeuralNetworks.FeatureOutputType]?, to: Foundation.URL, options: NeuralNetworks.MLPackageWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input == NeuralNetworks.Tensor, A.Output == NeuralNetworks.Tensor>.writeMLPackage(withInput: NeuralNetworks.FeatureInputType, output: NeuralNetworks.FeatureOutputType?, to: Foundation.URL, options: NeuralNetworks.MLPackageWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input == [String : NeuralNetworks.Tensor], A.Output == [NeuralNetworks.Tensor]>.writeMLPackage(withInput: [String : NeuralNetworks.FeatureInputType], output: [NeuralNetworks.FeatureOutputType]?, to: Foundation.URL, options: NeuralNetworks.MLPackageWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input == NeuralNetworks.Tensor, A.Output == [NeuralNetworks.Tensor]>.writeMLPackage(withInput: NeuralNetworks.FeatureInputType, output: [NeuralNetworks.FeatureOutputType]?, to: Foundation.URL, options: NeuralNetworks.MLPackageWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input == [String : NeuralNetworks.Tensor], A.Output == NeuralNetworks.Tensor>.writeMLPackage(withInput: [String : NeuralNetworks.FeatureInputType], output: NeuralNetworks.FeatureOutputType?, to: Foundation.URL, options: NeuralNetworks.MLPackageWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input == [String : NeuralNetworks.Tensor], A.Output == [String : NeuralNetworks.Tensor]>.writeMLPackage(withInput: [String : NeuralNetworks.FeatureInputType], output: [String : NeuralNetworks.FeatureOutputType]?, to: Foundation.URL, options: NeuralNetworks.MLPackageWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input == [NeuralNetworks.Tensor], A.Output == NeuralNetworks.Tensor>.writeMLPackage(withInput: [NeuralNetworks.FeatureInputType], output: NeuralNetworks.FeatureOutputType?, to: Foundation.URL, options: NeuralNetworks.MLPackageWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input: NeuralNetworks.KeyTensorPairsRepresentable, A.Output: NeuralNetworks.KeyTensorPairsRepresentable, A.Input.Key: CustomStringConvertible, A.Output.Key: CustomStringConvertible>.writeMLPackage(withInput: [A.Input.Key : NeuralNetworks.FeatureInputType], output: [A.Output.Key : NeuralNetworks.FeatureOutputType]?, to: Foundation.URL, options: NeuralNetworks.MLPackageWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input == [NeuralNetworks.Tensor], A.Output == [NeuralNetworks.Tensor]>.writeMLPackage(withInput: [NeuralNetworks.FeatureInputType], output: [NeuralNetworks.FeatureOutputType]?, to: Foundation.URL, options: NeuralNetworks.MLPackageWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input: NeuralNetworks.KeyTensorPairsRepresentable, A.Output == NeuralNetworks.Tensor, A.Input.Key: CustomStringConvertible>.writeMLPackage(withInput: [A.Input.Key : NeuralNetworks.FeatureInputType], output: NeuralNetworks.FeatureOutputType?, to: Foundation.URL, options: NeuralNetworks.MLPackageWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input == [NeuralNetworks.Tensor], A.Output == [String : NeuralNetworks.Tensor]>.writeMLPackage(withInput: [NeuralNetworks.FeatureInputType], output: [String : NeuralNetworks.FeatureOutputType]?, to: Foundation.URL, options: NeuralNetworks.MLPackageWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input == NeuralNetworks.Tensor, A.Output: NeuralNetworks.KeyTensorPairsRepresentable, A.Output.Key: CustomStringConvertible>.writeMLPackage(withInput: NeuralNetworks.FeatureInputType, output: [A.Output.Key : NeuralNetworks.FeatureOutputType]?, to: Foundation.URL, options: NeuralNetworks.MLPackageWritingOptions) throws -> ()NeuralNetworks.Layer< where A.Input: NeuralNetworks.KeyTensorPairsRepresentable, A.Output == [NeuralNetworks.Tensor], A.Input.Key: CustomStringConvertible>.writeMLPackage(withInput: [A.Input.Key : NeuralNetworks.FeatureInputType], output: [NeuralNetworks.FeatureOutputType]?, to: Foundation.URL, options: NeuralNetworks.MLPackageWritingOptions) throws -> ()