Struct tensorflow::ops::DatasetToGraph
source · [−]pub struct DatasetToGraph { /* private fields */ }Expand description
Builder for the DatasetToGraph operation.
Implementations
sourceimpl 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.
Trait Implementations
sourceimpl Debug for DatasetToGraph
impl Debug for DatasetToGraph
sourceimpl Default for DatasetToGraph
impl Default for DatasetToGraph
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more