Struct tensorflow::ops::GetSessionHandle
source · [−]pub struct GetSessionHandle { /* private fields */ }
Expand description
Builder for the GetSessionHandle
operation.
Implementations
sourceimpl GetSessionHandle
impl GetSessionHandle
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,
value: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>(
&self,
value: O0,
scope: &mut Scope
) -> Result<Operation>
Builds the GetSessionHandle
operation.
sourcepub fn build_instance(
&self,
value: Output,
scope: &mut Scope
) -> Result<GetSessionHandleInst>
pub fn build_instance(
&self,
value: Output,
scope: &mut Scope
) -> Result<GetSessionHandleInst>
Builds a new instance of ‘GetSessionHandle’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for GetSessionHandle
impl Debug for GetSessionHandle
sourceimpl Default for GetSessionHandle
impl Default for GetSessionHandle
sourcefn default() -> GetSessionHandle
fn default() -> GetSessionHandle
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for GetSessionHandle
impl Send for GetSessionHandle
impl Sync for GetSessionHandle
impl Unpin for GetSessionHandle
impl UnwindSafe for GetSessionHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more