chainer.functions.get_item¶
-
chainer.functions.get_item(x, slices)[source]¶ Extract elements from array with specified shape, axes and offsets.
Parameters: Returns: Variableobjectwhich contains sliced array of
x.
Return type: Note
It only supports types that are supported by CUDA’s atomicAdd when an integer array is included in
slices. The supported types arenumpy.float32,numpy.int32,numpy.uint32,numpy.uint64andnumpy.ulonglong.Note
It does not support
slicesthat contains multiple boolean arrays.Note
See NumPy document for details of indexing.