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