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