SwiftCoreMLTools Documentation Beta

Structure Flatten

public struct Flatten: BaseLayer
%3 Flatten Flatten BaseLayer BaseLayer Flatten->BaseLayer

Conforms To

BaseLayer

Initializers

init(name:​input:​output:​mode:​)

public init(name: String, input: [String], output: [String], mode: FlattenOrder = .last)

Properties

type

let type

name

let name: String

input

let input: [String]

output

let output: [String]

mode

let mode: FlattenOrder