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

Method MemSize

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

Return memory size (i.e., Bytes)

Source from the content-addressed store, hash-verified

144
145 /// Return memory size (i.e., Bytes)
146 size_t MemSize() const { return block_->size(); }
147
148 size_t mem_size() const { return block_->size(); }
149

Callers 6

memsizeMethod · 0.80
TESTFunction · 0.80
tensor.ccFile · 0.80
CopyDataToFromFunction · 0.80
InitCudnnMethod · 0.80
memsizeMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64