Struct tensorflow::ops::Placeholder
source · pub struct Placeholder { /* private fields */ }
Expand description
Builder for the Placeholder
operation.
Implementations§
source§impl 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§
source§impl Debug for Placeholder
impl Debug for Placeholder
source§impl Default for Placeholder
impl Default for Placeholder
source§fn 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§
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