Struct tensorflow::ops::PrintV2
source · pub struct PrintV2 { /* private fields */ }
Expand description
Builder for the PrintV2
operation.
Implementations§
source§impl PrintV2
impl PrintV2
sourcepub fn output_stream<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn output_stream<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the output_stream
attribute.
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 PrintV2
operation.
sourcepub fn build_instance(
&self,
input: Output,
scope: &mut Scope
) -> Result<PrintV2Inst>
pub fn build_instance( &self, input: Output, scope: &mut Scope ) -> Result<PrintV2Inst>
Builds a new instance of ‘PrintV2’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PrintV2
impl Send for PrintV2
impl Sync for PrintV2
impl Unpin for PrintV2
impl UnwindSafe for PrintV2
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