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

Method __init__

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

Source from the content-addressed store, hash-verified

337 @add_backend
338 class FakeGPUArrayBasic(BaseFakeGPUArray, ArrayArray):
339 def __init__(self, arg, typecode, shape=None, readonly=False):
340 super().__init__(arg, typecode, shape)
341 self.set_interface((len(self),), readonly)
342
343
344if numpy is not None:

Callers

nothing calls this directly

Calls 2

set_interfaceMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected