MCPcopy Create free account
hub / github.com/tensorflow/tfjs / rank

Method rank

tfjs-core/src/tensor.ts:148–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146 }
147
148 get rank() {
149 return this.shape.length;
150 }
151
152 /**
153 * Creates an immutable `tf.Tensor` object from the buffer.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected