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

Method mem_size

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

Source from the content-addressed store, hash-verified

146 size_t MemSize() const { return block_->size(); }
147
148 size_t mem_size() const { return block_->size(); }
149
150 /// used for swig code to convert Tensor into numpy array.
151 /// It gets data into 'value'

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected