Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

Double

extension Double: TensorFlowFloatingPoint
extension Double: TensorFlowScalar
extension Double : EuclideanDifferentiable
extension Double : VectorProtocol
extension Double: ElementaryFunctions
extension Double : NumpyScalarCompatible
extension Double : PythonConvertible, ConvertibleFromPython
  • Declaration

    public static var tensorFlowDataType: TensorDataType { get }
  • Declaration

    public typealias TangentVector = Double
  • Declaration

    public mutating func move(along direction: TangentVector)
  • Declaration

    public typealias VectorSpaceScalar = Double
  • Declaration

    public func adding(_ x: Double) -> Double
  • Declaration

    public mutating func add(_ x: Double)
  • Declaration

    public func subtracting(_ x: Double) -> Double
  • Declaration

    public mutating func subtract(_ x: Double)
  • Declaration

    public func scaled(by scalar: Double) -> Double
  • Declaration

    public mutating func scale(by scalar: Double)
  • Declaration

    @_alwaysEmitIntoClient
    public static func sqrt(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func cos(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func sin(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func tan(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func acos(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func asin(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func atan(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func cosh(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func sinh(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func tanh(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func acosh(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func asinh(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func atanh(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func exp(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func exp2(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func exp10(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func expm1(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func log(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func log2(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func log10(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func log1p(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func erf(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func erfc(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func hypot(_ x: Double, _ y: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func gamma(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func pow(_ x: Double, _ y: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func pow(_ x: Double, _ n: Int) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func root(_ x: Double, _ n: Int) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func atan2(y: Double, x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func logGamma(_ x: Double) -> Double
  • Declaration

    @_alwaysEmitIntoClient
    public static func signGamma(_ x: Double) -> FloatingPointSign
  • Declaration

    public static let numpyScalarTypes: [PythonObject]
  • Declaration

    public static var ctype: PythonObject { get }
  • Declaration

    public init?(_ pythonObject: PythonObject)
  • Declaration

    public var pythonObject: PythonObject { get }