Struct tensorflow::eager::raw_ops::DatasetFromGraph
source · pub struct DatasetFromGraph { /* private fields */ }
Expand description
DatasetFromGraph
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DatasetFromGraph
Implementations§
source§impl DatasetFromGraph
impl DatasetFromGraph
sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
graph_def: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, graph_def: &T0 ) -> Result<TensorHandle<'a>>
Execute dataset_from_graph.
Trait Implementations§
source§impl Clone for DatasetFromGraph
impl Clone for DatasetFromGraph
source§fn clone(&self) -> DatasetFromGraph
fn clone(&self) -> DatasetFromGraph
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 DatasetFromGraph
impl Debug for DatasetFromGraph
Auto Trait Implementations§
impl RefUnwindSafe for DatasetFromGraph
impl Send for DatasetFromGraph
impl Sync for DatasetFromGraph
impl Unpin for DatasetFromGraph
impl UnwindSafe for DatasetFromGraph
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