Struct tensorflow::ops::WindowOp
source · pub struct WindowOp { /* private fields */ }
Expand description
Builder for the WindowOp
operation.
Implementations§
source§impl WindowOp
impl WindowOp
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 Tinputs<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn Tinputs<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the Tinputs
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 WindowOp
operation.
sourcepub fn build_instance(
&self,
inputs: Output,
scope: &mut Scope
) -> Result<WindowOpInst>
pub fn build_instance( &self, inputs: Output, scope: &mut Scope ) -> Result<WindowOpInst>
Builds a new instance of ‘WindowOp’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for WindowOp
impl Send for WindowOp
impl Sync for WindowOp
impl Unpin for WindowOp
impl UnwindSafe for WindowOp
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