pub struct ScanDataset { /* private fields */ }
Expand description
Builder for the ScanDataset
operation.
Implementations§
Source§impl ScanDataset
impl ScanDataset
Sourcepub fn Tstate<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn Tstate<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the Tstate
attribute.
Sourcepub fn Targuments<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn Targuments<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the Targuments
attribute.
Sourcepub fn output_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn output_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the output_types
attribute.
Sourcepub fn output_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
pub fn output_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
Sets the output_shapes
attribute.
Sourcepub fn preserve_cardinality<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn preserve_cardinality<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the preserve_cardinality
attribute.
Sourcepub fn use_default_device<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn use_default_device<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the use_default_device
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§
Source§impl Debug for ScanDataset
impl Debug for ScanDataset
Source§impl Default for ScanDataset
impl Default for ScanDataset
Source§fn default() -> ScanDataset
fn default() -> ScanDataset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScanDataset
impl RefUnwindSafe for ScanDataset
impl Send for ScanDataset
impl Sync for ScanDataset
impl Unpin for ScanDataset
impl UnwindSafe for ScanDataset
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