Struct tensorflow::ops::PlaceholderWithDefault
source · pub struct PlaceholderWithDefault { /* private fields */ }
Expand description
Builder for the PlaceholderWithDefault
operation.
Implementations§
source§impl PlaceholderWithDefault
impl PlaceholderWithDefault
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<O0: Into<Output>>(
&self,
input: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, input: O0, scope: &mut Scope ) -> Result<Operation>
Builds the PlaceholderWithDefault
operation.
sourcepub fn build_instance(
&self,
input: Output,
scope: &mut Scope
) -> Result<PlaceholderWithDefaultInst>
pub fn build_instance( &self, input: Output, scope: &mut Scope ) -> Result<PlaceholderWithDefaultInst>
Builds a new instance of ‘PlaceholderWithDefault’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for PlaceholderWithDefault
impl Debug for PlaceholderWithDefault
source§impl Default for PlaceholderWithDefault
impl Default for PlaceholderWithDefault
source§fn default() -> PlaceholderWithDefault
fn default() -> PlaceholderWithDefault
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PlaceholderWithDefault
impl Send for PlaceholderWithDefault
impl Sync for PlaceholderWithDefault
impl Unpin for PlaceholderWithDefault
impl UnwindSafe for PlaceholderWithDefault
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