MCPcopy Index your code
hub / github.com/deepjavalibrary/djl / get

Method get

api/src/main/java/ai/djl/ndarray/NDArray.java:602–602  ·  view source on GitHub ↗

Returns a partial NDArray. @param index the section of this NDArray to return @return the partial NDArray

(NDIndex index)

Source from the content-addressed store, hash-verified

600 * @return the partial {@code NDArray}
601 */
602 default NDArray get(NDIndex index) {
603 return get(getManager(), index);
604 }
605

Callers 15

testCropMethod · 0.95
testRandomFlipMethod · 0.95
testEmptyIndexMethod · 0.95
testPickMethod · 0.95
testGetMethod · 0.95
testSetByFunctionMethod · 0.95
testRot90Method · 0.95
testLinearCollectionMethod · 0.95

Implementers 4

NDArrayAdapterapi/src/main/java/ai/djl/ndarray/NDArr
RsNDArrayextensions/tokenizers/src/main/java/ai
TfNDArrayengines/tensorflow/tensorflow-engine/s
PtNDArrayengines/pytorch/pytorch-engine/src/mai

Calls

no outgoing calls

Tested by 15

testCropMethod · 0.76
testRandomFlipMethod · 0.76
testEmptyIndexMethod · 0.76
testPickMethod · 0.76
testGetMethod · 0.76
testSetByFunctionMethod · 0.76
testRot90Method · 0.76
testLinearCollectionMethod · 0.76