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