MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / is_device

Method is_device

flow-plugins/src/utils/frame.rs:55–57  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

53 }
54
55 fn is_device(&self) -> bool {
56 !self.is_host()
57 }
58
59 #[getter(dev_id)]
60 fn get_dev_id(&self) -> Option<isize> {

Callers 1

get_dev_idMethod · 0.80

Calls 1

is_hostMethod · 0.80

Tested by

no test coverage detected