Warning: This project is deprecated. Swift for TensorFlow was an experiment in the next-generation platform for machine learning, incorporating the latest research across machine learning, compilers, differentiable programming, systems design, and beyond. It was archived in February 2021.

NumpyScalarCompatible

public protocol NumpyScalarCompatible

A type that is bitwise compatible with one or more NumPy scalar types.

  • The NumPy scalar types that this type is bitwise compatible with. Must be nonempty.

    Declaration

    static var numpyScalarTypes: [PythonObject] { get }
  • The Python ctypes scalar type corresponding to this type.

    Declaration

    static var ctype: PythonObject { get }