Module ImportFrom alias Import alias Import alias FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return NameLoad If CompareEq NameLoad Str body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr For NameStore Call NameLoad Call NameLoad NameLoad Num Num body Expr Call AttributeLoad NameLoad attr NameLoad AugAssignMult NameStore SubscriptLoad NameLoad Index BinOpSub NameLoad Num If CompareIn NameLoad TupleLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpOr CompareIs NameLoad NameLoad CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Assign NameStore Str orelse If CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Assign NameStore Str orelse Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareNotEq NameLoad NameLoad body Raise Call NameLoad Str Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad Str body Expr Str Assert CompareIn NameLoad TupleLoad Str Str Assert BoolOpOr CompareIsNot NameLoad NameLoad BoolOpAnd NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareGt Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareGt Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq NameLoad Str body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad orelse ImportFrom alias identifier If CompareIsNot NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Call NameLoad NameLoad keyword NameLoad orelse Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot Call NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body Return Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Return Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A numba.tracing trace N/A numpy N/A sys _o2s N/A N/A dtype shape order N/A N/A N/A N/A N/A dtype None N/A shape None N/A order None N/A N/A None N/A N/A order F N/A N/A shape N/A list shape N/A N/A N/A shape reverse N/A strides N/A N/A itemsize N/A dtype itemsize N/A i N/A range N/A len shape 0 -1 N/A N/A N/A N/A strides append itemsize N/A itemsize N/A shape N/A N/A i 1 N/A N/A order N/A C None N/A N/A N/A N/A strides reverse N/A N/A tuple strides N/A _s2o N/A N/A dtype shape strides N/A N/A N/A N/A N/A strides None N/A N/A strides N/A -1 N/A dtype itemsize N/A N/A order C N/A N/A N/A N/A strides N/A 0 N/A dtype itemsize N/A N/A order F N/A N/A N/A ValueError strides do not correspond to contiguous data layout N/A s2 N/A _o2s dtype shape order N/A N/A strides s2 N/A N/A N/A ValueError strides do not correspond to contiguous data layout N/A order N/A SmartArray N/A object N/A N/A An array type that supports host and GPU storage. __init__ N/A N/A self obj copy shape dtype order where N/A None True None None None host N/A N/A Construct a SmartArray in the memory space defined by 'where'.
        Valid invocations:

        * SmartArray(obj=<array-like object>, copy=<optional-true-or-false>):

          to create a SmartArray from an existing array-like object.
          The 'copy' argument specifies whether to adopt or to copy it.

        * SmartArray(shape=<shape>, dtype=<dtype>, order=<order>)

          to create a new SmartArray from scratch, given the typical NumPy array
          attributes.

        (The optional 'where' argument specifies where to allocate the array
        initially. (Default: 'host')
         N/A N/A where N/A host gpu N/A N/A N/A obj None N/A shape dtype N/A N/A self _host N/A self _gpu None N/A N/A self _host_valid N/A self _gpu_valid False N/A N/A N/A self _allocate where obj dtype shape N/A _o2s dtype shape order copy N/A N/A where host N/A N/A N/A self _host_valid True N/A t N/A self _host N/A N/A N/A self _gpu_valid True N/A t N/A self _gpu N/A N/A self _shape N/A t shape N/A N/A self _strides N/A t strides N/A N/A self _dtype N/A t dtype N/A N/A self _ndim N/A t ndim N/A N/A self _size N/A t size N/A shape N/A N/A self N/A N/A N/A N/A self _shape N/A property strides N/A N/A self N/A N/A N/A N/A self _strides N/A property dtype N/A N/A self N/A N/A N/A N/A self _dtype N/A property ndim N/A N/A self N/A N/A N/A N/A self _ndim N/A property size N/A N/A self N/A N/A N/A N/A self _size N/A property host N/A N/A self N/A N/A N/A Return the host representation of 'self'. N/A N/A N/A self _sync host N/A N/A self _host N/A host_changed N/A N/A self N/A N/A N/A Mark the host array as changed, broadcast updates if needed. N/A N/A N/A self _invalidate gpu N/A N/A N/A N/A self _gpu None N/A N/A N/A sys getrefcount N/A self _gpu 2 N/A N/A N/A N/A self _sync gpu N/A gpu N/A N/A self N/A N/A N/A Return the GPU representation of 'self'. N/A N/A N/A self _sync gpu N/A N/A self _gpu N/A gpu_changed N/A N/A self N/A N/A N/A Mark the gpu array as changed, broadcast updates if needed. N/A N/A N/A self _invalidate host N/A N/A N/A N/A self _host None N/A N/A N/A sys getrefcount N/A self _host 2 N/A N/A N/A N/A self _sync host N/A __array__ N/A N/A self N/A args N/A N/A N/A N/A self _sync host N/A N/A N/A numpy array N/A self _host args N/A _sync N/A N/A self where N/A N/A N/A Sync the data in one memory space with the other. N/A N/A where gpu N/A N/A N/A N/A self _gpu None N/A N/A N/A N/A self _allocate gpu None N/A self dtype N/A self shape N/A self strides N/A N/A N/A self _gpu_valid N/A N/A N/A N/A self _copy_to_gpu N/A N/A N/A N/A self _host None N/A N/A N/A N/A self _allocate host None N/A self dtype N/A self shape N/A self strides N/A N/A N/A self _host_valid N/A N/A N/A N/A self _copy_to_host N/A _invalidate N/A N/A self where N/A N/A N/A Mark the host / device array as out-of-date. N/A N/A where gpu N/A N/A N/A self _gpu_valid False N/A N/A N/A self _host_valid False N/A trace _allocate N/A N/A self where obj dtype shape strides copy N/A None None None None True N/A N/A dtype N/A N/A dtype N/A N/A numpy dtype dtype N/A N/A where host N/A N/A N/A obj None N/A N/A N/A self _host N/A N/A numpy array obj dtype copy copy N/A N/A N/A self _host N/A N/A numpy empty shape dtype N/A _s2o dtype shape strides N/A numba.cuda.cudadrv devicearray da N/A N/A obj None N/A N/A N/A N/A isinstance obj N/A numpy ndarray N/A N/A obj N/A N/A numpy array obj copy False N/A N/A self _gpu N/A N/A da from_array_like obj N/A N/A N/A strides None N/A N/A strides N/A _o2s dtype shape C N/A N/A self _gpu N/A N/A da DeviceNDArray shape strides dtype N/A trace _copy_to_gpu N/A N/A self N/A N/A N/A N/A N/A N/A self _gpu copy_to_device N/A self _host N/A N/A self _gpu_valid True N/A trace _copy_to_host N/A N/A self N/A N/A N/A N/A N/A N/A self _gpu copy_to_host N/A self _host N/A N/A self _host_valid True N/A trace _maybe_wrap N/A N/A value N/A N/A N/A If `value` is an ndarray, wrap it in a SmartArray,
        otherwise return `value` itself. N/A N/A isinstance value N/A numpy ndarray N/A N/A N/A SmartArray value copy False N/A N/A value N/A staticmethod __getattr__ N/A N/A self name N/A N/A N/A Transparently forward attribute access to the host array. N/A N/A N/A self _host None N/A N/A N/A N/A self _allocate host None N/A self dtype N/A self shape N/A self strides N/A N/A N/A self _maybe_wrap N/A getattr N/A self _host name N/A trace __len__ N/A N/A self N/A N/A N/A N/A N/A self shape N/A 0 N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A type self N/A type other N/A N/A False N/A N/A N/A self _maybe_wrap N/A N/A N/A self host N/A N/A other host N/A __getitem__ N/A N/A self N/A args N/A N/A N/A N/A self _maybe_wrap N/A N/A N/A N/A self host __getitem__ args N/A __setitem__ N/A N/A self N/A args N/A N/A N/A N/A self _maybe_wrap N/A N/A N/A N/A self host __setitem__ args N/A N/A