pub struct ISelectLayer { /* private fields */ }Expand description
!
! \class ISelectLayer
!
! \brief Select elements from two data tensors based on a condition tensor.
!
! The select layer makes elementwise selections from two data tensors based on a condition tensor,
! behaving similarly to the numpy.where function with three parameters.
! The three input tensors must share the same rank. Multidirectional broadcasting is supported.
! The output tensor has the dimensions of the inputs AFTER applying the broadcast rule.
!
! \warning Do not inherit from this class, as doing so will break forward-compatibility of the API and ABI.
!
Trait Implementations§
Source§impl AsRef<ILayer> for ISelectLayer
impl AsRef<ILayer> for ISelectLayer
Source§fn as_ref(self: &ISelectLayer) -> &ILayer
fn as_ref(self: &ISelectLayer) -> &ILayer
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl ExternType for ISelectLayer
impl ExternType for ISelectLayer
Source§impl MakeCppStorage for ISelectLayer
impl MakeCppStorage for ISelectLayer
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut ISelectLayer
unsafe fn allocate_uninitialized_cpp_storage() -> *mut ISelectLayer
Allocates heap space for this type in C++ and return a pointer
to that space, but do not initialize that space (i.e. do not
yet call a constructor). Read more
Source§unsafe fn free_uninitialized_cpp_storage(arg0: *mut ISelectLayer)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut ISelectLayer)
Frees a C++ allocation which has not yet
had a constructor called. Read more
Auto Trait Implementations§
impl !Freeze for ISelectLayer
impl !RefUnwindSafe for ISelectLayer
impl !Send for ISelectLayer
impl !Sync for ISelectLayer
impl !Unpin for ISelectLayer
impl UnwindSafe for ISelectLayer
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