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