Struct tensorflow::ops::Placeholder
source · [−]pub struct Placeholder { /* private fields */ }
Expand description
Builder for the Placeholder
operation.
Implementations
sourceimpl Placeholder
impl Placeholder
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build_instance(&self, scope: &mut Scope) -> Result<PlaceholderInst>
pub fn build_instance(&self, scope: &mut Scope) -> Result<PlaceholderInst>
Builds a new instance of ‘Placeholder’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for Placeholder
impl Debug for Placeholder
sourceimpl Default for Placeholder
impl Default for Placeholder
sourcefn default() -> Placeholder
fn default() -> Placeholder
Returns the “default value” for a type. Read more
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more