The following type aliases are available globally.

  • Typealias used when passing or returning a PyObject pointer with implied ownership.

    Declaration

    public typealias OwnedPyObjectPointer = UnsafeMutablePointer<PyObject>
  • The TF_TensorHandle * type.

    Note

    This is public so that compiler generated code can read/write tensor handles when calling runtime APIs.

    Declaration

    public typealias CTensorHandle = OpaquePointer