Struct tensorflow::ops::ComputeBatchSizeInst
source · pub struct ComputeBatchSizeInst {
pub op: Operation,
}
Expand description
An instance of ‘ComputeBatchSize’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built ComputeBatchSize Operation in a Tensorflow graph.
Implementations§
source§impl ComputeBatchSizeInst
impl ComputeBatchSizeInst
sourcepub fn batch_size(&self) -> Output
pub fn batch_size(&self) -> Output
Returns the ‘batch_size’ Output of this ‘ComputeBatchSize’ operation.
sourcepub fn input_dataset(&self) -> Input<'_>
pub fn input_dataset(&self) -> Input<'_>
Returns the ‘input_dataset’ Input of this ‘ComputeBatchSize’ operation.
Trait Implementations§
source§impl Clone for ComputeBatchSizeInst
impl Clone for ComputeBatchSizeInst
source§fn clone(&self) -> ComputeBatchSizeInst
fn clone(&self) -> ComputeBatchSizeInst
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ComputeBatchSizeInst
impl Debug for ComputeBatchSizeInst
source§impl From<ComputeBatchSizeInst> for Operation
impl From<ComputeBatchSizeInst> for Operation
source§fn from(inst: ComputeBatchSizeInst) -> Operation
fn from(inst: ComputeBatchSizeInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ComputeBatchSizeInst
impl Send for ComputeBatchSizeInst
impl Sync for ComputeBatchSizeInst
impl Unpin for ComputeBatchSizeInst
impl UnwindSafe for ComputeBatchSizeInst
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