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