Struct tensorflow::eager::raw_ops::Placeholder
source · pub struct Placeholder { /* private fields */ }
Expand description
Placeholder
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/Placeholder
Implementations§
source§impl Placeholder
impl Placeholder
sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
pub fn call<'a>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
Execute placeholder.
Trait Implementations§
source§impl Clone for Placeholder
impl Clone for Placeholder
source§fn clone(&self) -> Placeholder
fn clone(&self) -> Placeholder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Placeholder
impl Debug for Placeholder
Auto Trait Implementations§
impl RefUnwindSafe for Placeholder
impl Send for Placeholder
impl Sync for Placeholder
impl Unpin for Placeholder
impl UnwindSafe for Placeholder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more