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

Method size

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

The size of the i-th dimension. @return The size of the requested dimension or -1 if it is unknown.

(int i)

Source from the content-addressed store, hash-verified

74 * @return The size of the requested dimension or -1 if it is unknown.
75 */
76 public long size(int i) {
77 return shape[i];
78 }
79
80 @Override
81 public int hashCode() {

Callers 15

makeMethod · 0.95
mainFunction · 0.45
operationCollectionMethod · 0.45
outputCollectionMethod · 0.45
addGradientsToGraphMethod · 0.45
setAttrShapeMethod · 0.45
nodesInAGraphMethod · 0.45
runWithMetadataMethod · 0.45
runMultipleOutputsMethod · 0.45

Calls

no outgoing calls

Tested by 15

makeMethod · 0.76
operationCollectionMethod · 0.36
outputCollectionMethod · 0.36
addGradientsToGraphMethod · 0.36
setAttrShapeMethod · 0.36
nodesInAGraphMethod · 0.36
runWithMetadataMethod · 0.36
runMultipleOutputsMethod · 0.36