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