MCPcopy 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
390impl<T: HasAfEnum> Convertable for Array<T> {

Callers 1

clampFunction · 0.80

Calls 2

constantFunction · 0.85
cloneMethod · 0.45

Tested by

no test coverage detected