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

Method empty

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

Source from the content-addressed store, hash-verified

102 size_t n_dim() const { return shape_.size(); }
103
104 bool empty() const { return nDim() == 0; }
105
106 /// The stride should decrease except dim with stride=0 due to broadcasting
107 bool transpose() const {

Callers 15

__next__Method · 0.80
IsEmptyFunction · 0.80
RegisterTestsMethod · 0.80
file_nameFunction · 0.80
ParseNaturalNumberFunction · 0.80
FilterMatchesTestMethod · 0.80
AppendUserMessageFunction · 0.80
GTEST_LOCK_EXCLUDED_Function · 0.80
InDeathTestChildFunction · 0.80
IsDirectoryMethod · 0.80

Calls

no outgoing calls

Tested by 11

IsEmptyFunction · 0.64
RegisterTestsMethod · 0.64
file_nameFunction · 0.64
ParseNaturalNumberFunction · 0.64
FilterMatchesTestMethod · 0.64
AppendUserMessageFunction · 0.64
GTEST_LOCK_EXCLUDED_Function · 0.64
InDeathTestChildFunction · 0.64
IsDirectoryMethod · 0.64