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