chainer.backend.Intel64Device

class chainer.backend.Intel64Device[source]

Device for Intel64 (Intel Architecture) backend with iDeep

Methods

__enter__()[source]

A dummy definition that simply raises RuntimeError.

chainer.using_device() should be used instead.

__exit__(exc_type, exc_value, traceback)[source]

A dummy definition that should never be called.

create_context()[source]

Returns a context manager in which the device is made current.

See also

chainer.using_device() calls this method internally.

static from_array(array)[source]
is_array_supported(array)[source]

Returns if the specified array is compatible with the device. :param array: An array to be checked :type array: N-dimensional array

Returns

True if the array is compatible with the device. Otherwise False is returned.

send(arrays)[source]

Transfers given arrays to the device.

Parameters

arrays – Array or arrays of NumPy, CuPy, or ChainerX.

Returns

Transferred arrays.

send_array(array)[source]
use()[source]

Makes the device current in the current thread.

__eq__(other)[source]

Return self==value.

__ne__(other)[source]

Return self!=value.

__lt__(value, /)

Return self<value.

__le__(value, /)

Return self<=value.

__gt__(value, /)

Return self>value.

__ge__(value, /)

Return self>=value.

Attributes

name = '@intel64'
supported_array_types = (<class 'numpy.ndarray'>, <class 'chainer.backends.intel64.mdarray'>)