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