Avatar
swiftTensorflow BOT 4/27/2018 7:21 AM
exit status: 1 with stderr:main.swift:6:16: error: generic parameter 'T' could not be inferred let dCube_dx = #gradient(of: cube, withRespectTo: .0) ^ main.swift:2:6: note: in call to function 'cube' func cube<T : FloatingPoint>(_ x: T, _ str: String) -> T { ^