Struct tensorflow::eager::raw_ops::Relu6
source · pub struct Relu6 { /* private fields */ }
Expand description
Implementations§
source§impl Relu6
impl Relu6
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,
features: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, features: &T0 ) -> Result<TensorHandle<'a>>
Execute relu6.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Relu6
impl Send for Relu6
impl Sync for Relu6
impl Unpin for Relu6
impl UnwindSafe for Relu6
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