MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / toString

Method toString

tensorflow/java/src/main/java/org/tensorflow/Shape.java:99–105  ·  view source on GitHub ↗

Succinct description of the shape meant for debugging.

()

Source from the content-addressed store, hash-verified

97
98 /** Succinct description of the shape meant for debugging. */
99 @Override
100 public String toString() {
101 if (shape == null) {
102 return "<unknown>";
103 }
104 return Arrays.toString(shape).replace("-1", "?");
105 }
106
107 // Package-private constructor.
108 Shape(long[] shape) {

Callers 15

makeMethod · 0.95
strRandMethod · 0.45
encodeByFlatBufferMethod · 0.45
mainMethod · 0.45
operationToStringMethod · 0.45
outputToStringMethod · 0.45
unknownMethod · 0.45
scalarMethod · 0.45
loadMethod · 0.45
extractResourceMethod · 0.45
collectOpsMethodsMethod · 0.45

Calls 1

replaceMethod · 0.80

Tested by 8

makeMethod · 0.76
strRandMethod · 0.36
encodeByFlatBufferMethod · 0.36
operationToStringMethod · 0.36
outputToStringMethod · 0.36
unknownMethod · 0.36
scalarMethod · 0.36