Struct tfdeploy::plan::SimplePlan [−][src]
pub struct SimplePlan(_);
Methods
impl SimplePlan[src]
impl SimplePlanpub fn new(
model: &Model,
inputs: &[impl AsRef<str>],
outputs: &[impl AsRef<str>]
) -> Result<SimplePlan>[src]
pub fn new(
model: &Model,
inputs: &[impl AsRef<str>],
outputs: &[impl AsRef<str>]
) -> Result<SimplePlan>pub fn run(&self, inputs: TVec<Tensor>) -> Result<Vec<TVec<Tensor>>>[src]
pub fn run(&self, inputs: TVec<Tensor>) -> Result<Vec<TVec<Tensor>>>pub fn state(&self) -> Result<SimpleState>[src]
pub fn state(&self) -> Result<SimpleState>Methods from Deref<Target = RawSimplePlan>
Trait Implementations
impl Debug for SimplePlan[src]
impl Debug for SimplePlanfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for SimplePlan[src]
impl Clone for SimplePlanfn clone(&self) -> SimplePlan[src]
fn clone(&self) -> SimplePlanReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Deref for SimplePlan[src]
impl Deref for SimplePlantype Target = RawSimplePlan
The resulting type after dereferencing.
fn deref(&self) -> &RawSimplePlan[src]
fn deref(&self) -> &RawSimplePlanDereferences the value.
Auto Trait Implementations
impl Send for SimplePlan
impl Send for SimplePlanimpl Sync for SimplePlan
impl Sync for SimplePlan