MCPcopy Create free account
hub / github.com/Raibows/MLinRust / squeeze

Method squeeze

src/ndarray/mod.rs:382–388  ·  view source on GitHub ↗

squeeze the specify dimension dim: a negative number means you can use the reverse ordering note that the shape of specified dim needs to be strictly 1, otherwise panic

(&mut self, dim: i32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

backwardMethod · 0.80

Calls 2

check_dim_is_legalFunction · 0.85
dimMethod · 0.80

Tested by

no test coverage detected