MCPcopy Create free account
hub / github.com/apache/singa / n_dim

Method n_dim

include/singa/core/tensor.h:102–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 size_t nDim() const { return shape_.size(); }
101
102 size_t n_dim() const { return shape_.size(); }
103
104 bool empty() const { return nDim() == 0; }
105

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected