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