MCPcopy Create free account
hub / github.com/LBANN/lbann / get_size

Method get_size

src/weights/weights.cpp:145–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 return dims;
144}
145size_t weights::get_size() const { return get_linear_size(get_dims()); }
146std::vector<size_t> weights::get_matrix_height_dims() const
147{
148 return m_matrix_height_dims;

Callers 4

compute_sizeMethod · 0.80
bp_compute_implFunction · 0.80
ensure_bufferMethod · 0.80
ensure_bufferMethod · 0.80

Calls 1

get_linear_sizeFunction · 0.85

Tested by

no test coverage detected