MCPcopy Create free account
hub / github.com/mpi4py/mpi4py / __init__

Method __init__

test/arrayimpl.py:348–350  ·  view source on GitHub ↗
(self, arg, typecode, shape=None, readonly=False)

Source from the content-addressed store, hash-verified

346 @add_backend
347 class FakeGPUArrayNumPy(BaseFakeGPUArray, ArrayNumPy):
348 def __init__(self, arg, typecode, shape=None, readonly=False):
349 super().__init__(arg, typecode, shape)
350 self.set_interface(self.array.shape, readonly)
351
352
353if cupy is not None:

Callers

nothing calls this directly

Calls 2

set_interfaceMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected