Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/arrayfire/arrayfire-rust
/ convert
Method
convert
src/core/arith.rs:385–387 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
383
type OutType = T;
384
385
fn convert(&self) -> Array<Self::OutType> {
386
constant(self.clone(), Dim4::new(&[1, 1, 1, 1]))
387
}
388
}
389
390
impl<T: HasAfEnum> Convertable for Array<T> {
Callers
1
clamp
Function · 0.80
Calls
2
constant
Function · 0.85
clone
Method · 0.45
Tested by
no test coverage detected