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

Method getShape

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

Returns the Shape of this NDArray. Shape defines how this NDArray is represented multi-dimensionally. @return the Shape of this NDArray

()

Source from the content-addressed store, hash-verified

109 * @return the {@link Shape} of this {@code NDArray}
110 */
111 Shape getShape();
112
113 /**
114 * Returns the {@link SparseFormat} of this {@code NDArray}.

Callers 15

testMultiBoxPriorsMethod · 0.95
testLoadImageMethod · 0.95
testTrainMethod · 0.95
testBatchMatMulMethod · 0.95
testPadMethod · 0.95
testTraceMethod · 0.95
testCreationMethod · 0.95
testSamplePoissonMethod · 0.95
testSampleGammaMethod · 0.95
testSampleNormalMethod · 0.95
testLinearMethod · 0.95
testConv1dMethod · 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

testMultiBoxPriorsMethod · 0.76
testLoadImageMethod · 0.76
testTrainMethod · 0.76
testBatchMatMulMethod · 0.76
testPadMethod · 0.76
testTraceMethod · 0.76
testCreationMethod · 0.76
testSamplePoissonMethod · 0.76
testSampleGammaMethod · 0.76
testSampleNormalMethod · 0.76
testLinearMethod · 0.76
testConv1dMethod · 0.76