Float

extension Float: CPUNumeric
extension Float: NumericType
extension Float: RandomizableType
  • Undocumented

    Declaration

    Swift

    public static func fill(value: Float, result: UnsafeMutableBufferPointer<Float>, stride: Int, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func fill(value: Float, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func relu(val: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func transpose(val: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, srcRows: Int, srcCols: Int)
  • Undocumented

    Declaration

    Swift

    public static func vNeg(val: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func vsAdd(lhs: UnsafeBufferPointer<Float>, rhs: Float, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func vsMul(lhs: UnsafeBufferPointer<Float>, rhs: Float, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func svDiv(lhs: Float, rhs: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func vAdd(lhs: UnsafeBufferPointer<Float>, rhs: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func vSub(lhs: UnsafeBufferPointer<Float>, rhs: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func vMul(lhs: UnsafeBufferPointer<Float>, rhs: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func vDiv(lhs: UnsafeBufferPointer<Float>, rhs: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func sum(val: UnsafeBufferPointer<Float>, count: Int) -> Float
  • Undocumented

    Declaration

    Swift

    public static func sum(val: UnsafeBufferPointer<Float>, stride: Int, count: Int) -> Float
  • Undocumented

    Declaration

    Swift

    public static func gemm(lhs: UnsafeBufferPointer<`Self`>, rhs: UnsafeBufferPointer<`Self`>, result: UnsafeMutableBufferPointer<`Self`>, lhsShape: (Int, Int), rhsShape: (Int, Int), resultShape: (Int, Int), alpha: `Self`, beta: `Self`, transposeFirst: Bool, transposeSecond: Bool)
  • Undocumented

    Declaration

    Swift

    public static func argmax(values: UnsafeBufferPointer<Float>, count: Int) -> (Int, Float)
  • Undocumented

    Declaration

    Swift

    public static func argmin(values: UnsafeBufferPointer<Float>, count: Int) -> (Int, Float)
  • Undocumented

    Declaration

    Swift

    public static func argmax(values: UnsafeBufferPointer<Float>, stride: Int, count: Int) -> (Int, Float)
  • Undocumented

    Declaration

    Swift

    public static func argmin(values: UnsafeBufferPointer<Float>, stride: Int, count: Int) -> (Int, Float)
  • Undocumented

    Declaration

    Swift

    public static func copy(values: UnsafeBufferPointer<Float>, srcStride: Int, result: UnsafeMutableBufferPointer<Float>, dstStride: Int, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func arange(start: Float, end: Float, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func max(lhs: UnsafeBufferPointer<Float>, rhs: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func min(lhs: UnsafeBufferPointer<Float>, rhs: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func exp(val: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func log(val: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func tanh(val: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func sqrt(val: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func heaviside(values: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func sin(values: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func cos(values: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func tan(values: UnsafeBufferPointer<Float>, result: UnsafeMutableBufferPointer<Float>, count: Int)
  • Declaration

    Swift

    public func format(maxDecimals: Int) -> String
  • Undocumented

    Declaration

    Swift

    public func toUInt8() -> UInt8
  • one

    Undocumented

    Declaration

    Swift

    public static var one: Float { get }
  • Undocumented

    Declaration

    Swift

    public func toInt() -> Int
  • Undocumented

    Declaration

    Swift

    public var floatValue: Float { get }
  • Undocumented

    Declaration

    Swift

    public var doubleValue: Double { get }
  • Undocumented

    Declaration

    Swift

    public var intValue: Int32 { get }
  • Undocumented

    Declaration

    Swift

    public func sqrt() -> Float
  • Undocumented

    Declaration

    Swift

    public func exp() -> Float
  • Undocumented

    Declaration

    Swift

    public func log() -> Float
  • Undocumented

    Declaration

    Swift

    public func sin() -> Float
  • Undocumented

    Declaration

    Swift

    public func cos() -> Float
  • Undocumented

    Declaration

    Swift

    public func tan() -> Float
  • Undocumented

    Declaration

    Swift

    public func sinh() -> Float
  • Undocumented

    Declaration

    Swift

    public func cosh() -> Float
  • Undocumented

    Declaration

    Swift

    public func tanh() -> Float
  • Undocumented

    Declaration

    Swift

    init<Element>(element: Element) where Element : NumericType