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.


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.


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


    static var ctype: PythonObject { get }