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