Struct tfdeploy::plan::SimplePlan [−][src]
pub struct SimplePlan(_);
Methods
impl SimplePlan
[src]
impl SimplePlan
pub 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 SimplePlan
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SimplePlan
[src]
impl Clone for SimplePlan
fn clone(&self) -> SimplePlan
[src]
fn clone(&self) -> SimplePlan
Returns 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 SimplePlan
type Target = RawSimplePlan
The resulting type after dereferencing.
fn deref(&self) -> &RawSimplePlan
[src]
fn deref(&self) -> &RawSimplePlan
Dereferences the value.
Auto Trait Implementations
impl Send for SimplePlan
impl Send for SimplePlan
impl Sync for SimplePlan
impl Sync for SimplePlan