Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
meta-project-ci committed Feb 16, 2020
1 parent 3c0cf0e commit 9dcfa2e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/mxnet/_ffi/_ctypes/object.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

ObjectHandle = ctypes.c_void_p


def _return_object(x):
handle = x.v_handle
if not isinstance(handle, ObjectHandle):
Expand Down
1 change: 1 addition & 0 deletions python/mxnet/_ffi/_ctypes/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from ...base import NDArrayHandle
from ... import _global_var


class TypeCode(object):
"""Type code used in API calls"""
INT = 0
Expand Down
1 change: 1 addition & 0 deletions python/mxnet/_ffi/runtime_ctypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import ctypes


class TVMByteArray(ctypes.Structure):
"""Temp data structure for byte array."""
_fields_ = [("data", ctypes.POINTER(ctypes.c_byte)),
Expand Down
1 change: 1 addition & 0 deletions python/mxnet/_global_var.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
_ndarray_cls = None
_np_ndarray_cls = None


def _set_ndarray_class(cls):
global _ndarray_cls
_ndarray_cls = cls
Expand Down

0 comments on commit 9dcfa2e

Please sign in to comment.