Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
IsEmpty
Function · 0.80
RegisterTests
Method · 0.80
file_name
Function · 0.80
ParseNaturalNumber
Function · 0.80
FilterMatchesTest
Method · 0.80
AppendUserMessage
Function · 0.80
XmlUnitTestResultPrinter
Method · 0.80
GTEST_LOCK_EXCLUDED_
Function · 0.80
ConfigureStreamingOutput
Method · 0.80
InDeathTestChild
Function · 0.80
IsDirectory
Method · 0.80
Calls
no outgoing calls
Tested by
11
IsEmpty
Function · 0.64
RegisterTests
Method · 0.64
file_name
Function · 0.64
ParseNaturalNumber
Function · 0.64
FilterMatchesTest
Method · 0.64
AppendUserMessage
Function · 0.64
XmlUnitTestResultPrinter
Method · 0.64
GTEST_LOCK_EXCLUDED_
Function · 0.64
ConfigureStreamingOutput
Method · 0.64
InDeathTestChild
Function · 0.64
IsDirectory
Method · 0.64