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