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

Method block

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

For functions in xx_math.cc to access the block. Users should not operate against Block directly. block_ is allocated in constructors.

Source from the content-addressed store, hash-verified

78 /// Users should not operate against Block directly.
79 /// block_ is allocated in constructors.
80 Block *block() const { return block_; }
81
82 std::shared_ptr<Device> device() const { return device_; }
83

Callers 3

AsTypeMethod · 0.95
l1Method · 0.95
l2Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected