Struct moose::host::HostBitArray
source · [−]pub struct HostBitArray<HostBitTensorT, N>(pub HostBitTensorT, pub PhantomData<N>);
Tuple Fields
0: HostBitTensorT
1: PhantomData<N>
Trait Implementations
sourceimpl<HostBitT: CanonicalType, N> CanonicalType for HostBitArray<HostBitT, N>
impl<HostBitT: CanonicalType, N> CanonicalType for HostBitArray<HostBitT, N>
type Type = HostBitArray<<HostBitT as CanonicalType>::Type, N>
sourceimpl<HostBitTensorT: Clone, N: Clone> Clone for HostBitArray<HostBitTensorT, N>
impl<HostBitTensorT: Clone, N: Clone> Clone for HostBitArray<HostBitTensorT, N>
sourcefn clone(&self) -> HostBitArray<HostBitTensorT, N>
fn clone(&self) -> HostBitArray<HostBitTensorT, N>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<HostBitTensorT: Debug, N: Debug> Debug for HostBitArray<HostBitTensorT, N>
impl<HostBitTensorT: Debug, N: Debug> Debug for HostBitArray<HostBitTensorT, N>
sourceimpl<'de, HostBitTensorT, N> Deserialize<'de> for HostBitArray<HostBitTensorT, N> where
HostBitTensorT: Deserialize<'de>,
impl<'de, HostBitTensorT, N> Deserialize<'de> for HostBitArray<HostBitTensorT, N> where
HostBitTensorT: Deserialize<'de>,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<&'_ HostBitArray<HostBitTensor, N128>> for Value
impl From<&'_ HostBitArray<HostBitTensor, N128>> for Value
sourcefn from(x: &HostBitArray128) -> Self
fn from(x: &HostBitArray128) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ HostBitArray<HostBitTensor, N224>> for Value
impl From<&'_ HostBitArray<HostBitTensor, N224>> for Value
sourcefn from(x: &HostBitArray224) -> Self
fn from(x: &HostBitArray224) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ HostBitArray<HostBitTensor, N256>> for Value
impl From<&'_ HostBitArray<HostBitTensor, N256>> for Value
sourcefn from(x: &HostBitArray256) -> Self
fn from(x: &HostBitArray256) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ HostBitArray<HostBitTensor, N64>> for Value
impl From<&'_ HostBitArray<HostBitTensor, N64>> for Value
sourcefn from(x: &HostBitArray64) -> Self
fn from(x: &HostBitArray64) -> Self
Converts to this type from the input type.
sourceimpl From<<HostBitArray<HostBitTensor, N128> as SymbolicType>::Type> for SymbolicValue
impl From<<HostBitArray<HostBitTensor, N128> as SymbolicType>::Type> for SymbolicValue
sourcefn from(x: <HostBitArray128 as SymbolicType>::Type) -> Self
fn from(x: <HostBitArray128 as SymbolicType>::Type) -> Self
Converts to this type from the input type.
sourceimpl From<<HostBitArray<HostBitTensor, N224> as SymbolicType>::Type> for SymbolicValue
impl From<<HostBitArray<HostBitTensor, N224> as SymbolicType>::Type> for SymbolicValue
sourcefn from(x: <HostBitArray224 as SymbolicType>::Type) -> Self
fn from(x: <HostBitArray224 as SymbolicType>::Type) -> Self
Converts to this type from the input type.
sourceimpl From<<HostBitArray<HostBitTensor, N256> as SymbolicType>::Type> for SymbolicValue
impl From<<HostBitArray<HostBitTensor, N256> as SymbolicType>::Type> for SymbolicValue
sourcefn from(x: <HostBitArray256 as SymbolicType>::Type) -> Self
fn from(x: <HostBitArray256 as SymbolicType>::Type) -> Self
Converts to this type from the input type.
sourceimpl From<<HostBitArray<HostBitTensor, N64> as SymbolicType>::Type> for SymbolicValue
impl From<<HostBitArray<HostBitTensor, N64> as SymbolicType>::Type> for SymbolicValue
sourcefn from(x: <HostBitArray64 as SymbolicType>::Type) -> Self
fn from(x: <HostBitArray64 as SymbolicType>::Type) -> Self
Converts to this type from the input type.
sourceimpl<HostBitT, N> From<HostBitArray<HostBitT, N>> for Symbolic<HostBitArray<HostBitT, N>> where
HostBitT: Placed<Placement = HostPlacement>,
impl<HostBitT, N> From<HostBitArray<HostBitT, N>> for Symbolic<HostBitArray<HostBitT, N>> where
HostBitT: Placed<Placement = HostPlacement>,
sourcefn from(x: HostBitArray<HostBitT, N>) -> Self
fn from(x: HostBitArray<HostBitT, N>) -> Self
Converts to this type from the input type.
sourceimpl From<HostBitArray<HostBitTensor, N128>> for Value
impl From<HostBitArray<HostBitTensor, N128>> for Value
sourcefn from(x: HostBitArray128) -> Self
fn from(x: HostBitArray128) -> Self
Converts to this type from the input type.
sourceimpl From<HostBitArray<HostBitTensor, N224>> for Value
impl From<HostBitArray<HostBitTensor, N224>> for Value
sourcefn from(x: HostBitArray224) -> Self
fn from(x: HostBitArray224) -> Self
Converts to this type from the input type.
sourceimpl From<HostBitArray<HostBitTensor, N256>> for Value
impl From<HostBitArray<HostBitTensor, N256>> for Value
sourcefn from(x: HostBitArray256) -> Self
fn from(x: HostBitArray256) -> Self
Converts to this type from the input type.
sourceimpl From<HostBitArray<HostBitTensor, N64>> for Value
impl From<HostBitArray<HostBitTensor, N64>> for Value
sourcefn from(x: HostBitArray64) -> Self
fn from(x: HostBitArray64) -> Self
Converts to this type from the input type.
sourceimpl<T: Clone, D: Dimension, N: Const> FromRaw<ArrayBase<OwnedRepr<T>, D>, HostBitArray<HostBitTensor, N>> for HostPlacement where
HostPlacement: FromRaw<Array<T, D>, HostBitTensor>,
impl<T: Clone, D: Dimension, N: Const> FromRaw<ArrayBase<OwnedRepr<T>, D>, HostBitArray<HostBitTensor, N>> for HostPlacement where
HostPlacement: FromRaw<Array<T, D>, HostBitTensor>,
fn from_raw(&self, raw: Array<T, D>) -> HostBitArray<HostBitTensor, N>
sourceimpl<HostBitTensorT: PartialEq, N: PartialEq> PartialEq<HostBitArray<HostBitTensorT, N>> for HostBitArray<HostBitTensorT, N>
impl<HostBitTensorT: PartialEq, N: PartialEq> PartialEq<HostBitArray<HostBitTensorT, N>> for HostBitArray<HostBitTensorT, N>
sourcefn eq(&self, other: &HostBitArray<HostBitTensorT, N>) -> bool
fn eq(&self, other: &HostBitArray<HostBitTensorT, N>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &HostBitArray<HostBitTensorT, N>) -> bool
fn ne(&self, other: &HostBitArray<HostBitTensorT, N>) -> bool
This method tests for !=
.
sourceimpl<HostBitTensorT, N: Const> PartiallySymbolicType for HostBitArray<HostBitTensorT, N> where
HostBitTensorT: SymbolicType,
impl<HostBitTensorT, N: Const> PartiallySymbolicType for HostBitArray<HostBitTensorT, N> where
HostBitTensorT: SymbolicType,
type Type = HostBitArray<<HostBitTensorT as SymbolicType>::Type, N>
sourceimpl<HostBitTensorT: Placed, N> Placed for HostBitArray<HostBitTensorT, N>
impl<HostBitTensorT: Placed, N> Placed for HostBitArray<HostBitTensorT, N>
sourceimpl PlacementIndex<AsyncSession, HostBitArray<HostBitTensor, N128>, HostBitTensor> for HostPlacement
impl PlacementIndex<AsyncSession, HostBitArray<HostBitTensor, N128>, HostBitTensor> for HostPlacement
fn index(
&self,
sess: &AsyncSession,
index: usize,
x0: &HostBitArray128
) -> HostBitTensor
sourceimpl PlacementIndex<AsyncSession, HostBitArray<HostBitTensor, N224>, HostBitTensor> for HostPlacement
impl PlacementIndex<AsyncSession, HostBitArray<HostBitTensor, N224>, HostBitTensor> for HostPlacement
fn index(
&self,
sess: &AsyncSession,
index: usize,
x0: &HostBitArray224
) -> HostBitTensor
sourceimpl PlacementIndex<AsyncSession, HostBitArray<HostBitTensor, N256>, HostBitTensor> for HostPlacement
impl PlacementIndex<AsyncSession, HostBitArray<HostBitTensor, N256>, HostBitTensor> for HostPlacement
fn index(
&self,
sess: &AsyncSession,
index: usize,
x0: &HostBitArray256
) -> HostBitTensor
sourceimpl PlacementIndex<AsyncSession, HostBitArray<HostBitTensor, N64>, HostBitTensor> for HostPlacement
impl PlacementIndex<AsyncSession, HostBitArray<HostBitTensor, N64>, HostBitTensor> for HostPlacement
fn index(
&self,
sess: &AsyncSession,
index: usize,
x0: &HostBitArray64
) -> HostBitTensor
sourceimpl PlacementIndex<SymbolicSession, <HostBitArray<HostBitTensor, N128> as SymbolicType>::Type, <HostBitTensor as SymbolicType>::Type> for HostPlacement
impl PlacementIndex<SymbolicSession, <HostBitArray<HostBitTensor, N128> as SymbolicType>::Type, <HostBitTensor as SymbolicType>::Type> for HostPlacement
fn index(
&self,
sess: &SymbolicSession,
index: usize,
x0: &<HostBitArray128 as SymbolicType>::Type
) -> <HostBitTensor as SymbolicType>::Type
sourceimpl PlacementIndex<SymbolicSession, <HostBitArray<HostBitTensor, N224> as SymbolicType>::Type, <HostBitTensor as SymbolicType>::Type> for HostPlacement
impl PlacementIndex<SymbolicSession, <HostBitArray<HostBitTensor, N224> as SymbolicType>::Type, <HostBitTensor as SymbolicType>::Type> for HostPlacement
fn index(
&self,
sess: &SymbolicSession,
index: usize,
x0: &<HostBitArray224 as SymbolicType>::Type
) -> <HostBitTensor as SymbolicType>::Type
sourceimpl PlacementIndex<SymbolicSession, <HostBitArray<HostBitTensor, N256> as SymbolicType>::Type, <HostBitTensor as SymbolicType>::Type> for HostPlacement
impl PlacementIndex<SymbolicSession, <HostBitArray<HostBitTensor, N256> as SymbolicType>::Type, <HostBitTensor as SymbolicType>::Type> for HostPlacement
fn index(
&self,
sess: &SymbolicSession,
index: usize,
x0: &<HostBitArray256 as SymbolicType>::Type
) -> <HostBitTensor as SymbolicType>::Type
sourceimpl PlacementIndex<SymbolicSession, <HostBitArray<HostBitTensor, N64> as SymbolicType>::Type, <HostBitTensor as SymbolicType>::Type> for HostPlacement
impl PlacementIndex<SymbolicSession, <HostBitArray<HostBitTensor, N64> as SymbolicType>::Type, <HostBitTensor as SymbolicType>::Type> for HostPlacement
fn index(
&self,
sess: &SymbolicSession,
index: usize,
x0: &<HostBitArray64 as SymbolicType>::Type
) -> <HostBitTensor as SymbolicType>::Type
sourceimpl PlacementIndex<SyncSession, HostBitArray<HostBitTensor, N128>, HostBitTensor> for HostPlacement
impl PlacementIndex<SyncSession, HostBitArray<HostBitTensor, N128>, HostBitTensor> for HostPlacement
fn index(
&self,
sess: &SyncSession,
index: usize,
x0: &HostBitArray128
) -> HostBitTensor
sourceimpl PlacementIndex<SyncSession, HostBitArray<HostBitTensor, N224>, HostBitTensor> for HostPlacement
impl PlacementIndex<SyncSession, HostBitArray<HostBitTensor, N224>, HostBitTensor> for HostPlacement
fn index(
&self,
sess: &SyncSession,
index: usize,
x0: &HostBitArray224
) -> HostBitTensor
sourceimpl PlacementIndex<SyncSession, HostBitArray<HostBitTensor, N256>, HostBitTensor> for HostPlacement
impl PlacementIndex<SyncSession, HostBitArray<HostBitTensor, N256>, HostBitTensor> for HostPlacement
fn index(
&self,
sess: &SyncSession,
index: usize,
x0: &HostBitArray256
) -> HostBitTensor
sourceimpl PlacementIndex<SyncSession, HostBitArray<HostBitTensor, N64>, HostBitTensor> for HostPlacement
impl PlacementIndex<SyncSession, HostBitArray<HostBitTensor, N64>, HostBitTensor> for HostPlacement
fn index(
&self,
sess: &SyncSession,
index: usize,
x0: &HostBitArray64
) -> HostBitTensor
sourceimpl PlacementInput<AsyncSession, HostBitArray<HostBitTensor, N128>> for HostPlacement
impl PlacementInput<AsyncSession, HostBitArray<HostBitTensor, N128>> for HostPlacement
fn input(&self, sess: &AsyncSession, arg_name: String) -> HostBitArray128
sourceimpl PlacementInput<AsyncSession, HostBitArray<HostBitTensor, N224>> for HostPlacement
impl PlacementInput<AsyncSession, HostBitArray<HostBitTensor, N224>> for HostPlacement
fn input(&self, sess: &AsyncSession, arg_name: String) -> HostBitArray224
sourceimpl PlacementInput<AsyncSession, HostBitArray<HostBitTensor, N64>> for HostPlacement
impl PlacementInput<AsyncSession, HostBitArray<HostBitTensor, N64>> for HostPlacement
fn input(&self, sess: &AsyncSession, arg_name: String) -> HostBitArray64
sourceimpl PlacementInput<SymbolicSession, <HostBitArray<HostBitTensor, N128> as PartiallySymbolicType>::Type> for HostPlacement
impl PlacementInput<SymbolicSession, <HostBitArray<HostBitTensor, N128> as PartiallySymbolicType>::Type> for HostPlacement
fn input(
&self,
sess: &SymbolicSession,
arg_name: String
) -> <HostBitArray128 as PartiallySymbolicType>::Type
sourceimpl PlacementInput<SymbolicSession, <HostBitArray<HostBitTensor, N128> as SymbolicType>::Type> for HostPlacement
impl PlacementInput<SymbolicSession, <HostBitArray<HostBitTensor, N128> as SymbolicType>::Type> for HostPlacement
fn input(
&self,
sess: &SymbolicSession,
arg_name: String
) -> <HostBitArray128 as SymbolicType>::Type
sourceimpl PlacementInput<SymbolicSession, <HostBitArray<HostBitTensor, N224> as PartiallySymbolicType>::Type> for HostPlacement
impl PlacementInput<SymbolicSession, <HostBitArray<HostBitTensor, N224> as PartiallySymbolicType>::Type> for HostPlacement
fn input(
&self,
sess: &SymbolicSession,
arg_name: String
) -> <HostBitArray224 as PartiallySymbolicType>::Type
sourceimpl PlacementInput<SymbolicSession, <HostBitArray<HostBitTensor, N224> as SymbolicType>::Type> for HostPlacement
impl PlacementInput<SymbolicSession, <HostBitArray<HostBitTensor, N224> as SymbolicType>::Type> for HostPlacement
fn input(
&self,
sess: &SymbolicSession,
arg_name: String
) -> <HostBitArray224 as SymbolicType>::Type
sourceimpl PlacementInput<SymbolicSession, <HostBitArray<HostBitTensor, N64> as PartiallySymbolicType>::Type> for HostPlacement
impl PlacementInput<SymbolicSession, <HostBitArray<HostBitTensor, N64> as PartiallySymbolicType>::Type> for HostPlacement
fn input(
&self,
sess: &SymbolicSession,
arg_name: String
) -> <HostBitArray64 as PartiallySymbolicType>::Type
sourceimpl PlacementInput<SymbolicSession, <HostBitArray<HostBitTensor, N64> as SymbolicType>::Type> for HostPlacement
impl PlacementInput<SymbolicSession, <HostBitArray<HostBitTensor, N64> as SymbolicType>::Type> for HostPlacement
fn input(
&self,
sess: &SymbolicSession,
arg_name: String
) -> <HostBitArray64 as SymbolicType>::Type
sourceimpl PlacementInput<SyncSession, HostBitArray<HostBitTensor, N128>> for HostPlacement
impl PlacementInput<SyncSession, HostBitArray<HostBitTensor, N128>> for HostPlacement
fn input(&self, sess: &SyncSession, arg_name: String) -> HostBitArray128
sourceimpl PlacementInput<SyncSession, HostBitArray<HostBitTensor, N224>> for HostPlacement
impl PlacementInput<SyncSession, HostBitArray<HostBitTensor, N224>> for HostPlacement
fn input(&self, sess: &SyncSession, arg_name: String) -> HostBitArray224
sourceimpl PlacementInput<SyncSession, HostBitArray<HostBitTensor, N64>> for HostPlacement
impl PlacementInput<SyncSession, HostBitArray<HostBitTensor, N64>> for HostPlacement
fn input(&self, sess: &SyncSession, arg_name: String) -> HostBitArray64
sourceimpl PlacementReveal<AsyncSession, RepBitArray<RepTensor<HostBitTensor>, N128>, HostBitArray<HostBitTensor, N128>> for HostPlacement
impl PlacementReveal<AsyncSession, RepBitArray<RepTensor<HostBitTensor>, N128>, HostBitArray<HostBitTensor, N128>> for HostPlacement
fn reveal(
&self,
sess: &AsyncSession,
x0: &ReplicatedBitArray128
) -> HostBitArray128
sourceimpl PlacementReveal<AsyncSession, RepBitArray<RepTensor<HostBitTensor>, N224>, HostBitArray<HostBitTensor, N224>> for HostPlacement
impl PlacementReveal<AsyncSession, RepBitArray<RepTensor<HostBitTensor>, N224>, HostBitArray<HostBitTensor, N224>> for HostPlacement
fn reveal(
&self,
sess: &AsyncSession,
x0: &ReplicatedBitArray224
) -> HostBitArray224
sourceimpl PlacementReveal<AsyncSession, RepBitArray<RepTensor<HostBitTensor>, N64>, HostBitArray<HostBitTensor, N64>> for HostPlacement
impl PlacementReveal<AsyncSession, RepBitArray<RepTensor<HostBitTensor>, N64>, HostBitArray<HostBitTensor, N64>> for HostPlacement
fn reveal(
&self,
sess: &AsyncSession,
x0: &ReplicatedBitArray64
) -> HostBitArray64
sourceimpl PlacementReveal<SymbolicSession, <RepBitArray<RepTensor<HostBitTensor>, N128> as PartiallySymbolicType>::Type, <HostBitArray<HostBitTensor, N128> as PartiallySymbolicType>::Type> for HostPlacement
impl PlacementReveal<SymbolicSession, <RepBitArray<RepTensor<HostBitTensor>, N128> as PartiallySymbolicType>::Type, <HostBitArray<HostBitTensor, N128> as PartiallySymbolicType>::Type> for HostPlacement
fn reveal(
&self,
sess: &SymbolicSession,
x0: &<ReplicatedBitArray128 as PartiallySymbolicType>::Type
) -> <HostBitArray128 as PartiallySymbolicType>::Type
sourceimpl PlacementReveal<SymbolicSession, <RepBitArray<RepTensor<HostBitTensor>, N128> as SymbolicType>::Type, <HostBitArray<HostBitTensor, N128> as SymbolicType>::Type> for HostPlacement
impl PlacementReveal<SymbolicSession, <RepBitArray<RepTensor<HostBitTensor>, N128> as SymbolicType>::Type, <HostBitArray<HostBitTensor, N128> as SymbolicType>::Type> for HostPlacement
fn reveal(
&self,
sess: &SymbolicSession,
x0: &<ReplicatedBitArray128 as SymbolicType>::Type
) -> <HostBitArray128 as SymbolicType>::Type
sourceimpl PlacementReveal<SymbolicSession, <RepBitArray<RepTensor<HostBitTensor>, N224> as PartiallySymbolicType>::Type, <HostBitArray<HostBitTensor, N224> as PartiallySymbolicType>::Type> for HostPlacement
impl PlacementReveal<SymbolicSession, <RepBitArray<RepTensor<HostBitTensor>, N224> as PartiallySymbolicType>::Type, <HostBitArray<HostBitTensor, N224> as PartiallySymbolicType>::Type> for HostPlacement
fn reveal(
&self,
sess: &SymbolicSession,
x0: &<ReplicatedBitArray224 as PartiallySymbolicType>::Type
) -> <HostBitArray224 as PartiallySymbolicType>::Type
sourceimpl PlacementReveal<SymbolicSession, <RepBitArray<RepTensor<HostBitTensor>, N224> as SymbolicType>::Type, <HostBitArray<HostBitTensor, N224> as SymbolicType>::Type> for HostPlacement
impl PlacementReveal<SymbolicSession, <RepBitArray<RepTensor<HostBitTensor>, N224> as SymbolicType>::Type, <HostBitArray<HostBitTensor, N224> as SymbolicType>::Type> for HostPlacement
fn reveal(
&self,
sess: &SymbolicSession,
x0: &<ReplicatedBitArray224 as SymbolicType>::Type
) -> <HostBitArray224 as SymbolicType>::Type
sourceimpl PlacementReveal<SymbolicSession, <RepBitArray<RepTensor<HostBitTensor>, N64> as PartiallySymbolicType>::Type, <HostBitArray<HostBitTensor, N64> as PartiallySymbolicType>::Type> for HostPlacement
impl PlacementReveal<SymbolicSession, <RepBitArray<RepTensor<HostBitTensor>, N64> as PartiallySymbolicType>::Type, <HostBitArray<HostBitTensor, N64> as PartiallySymbolicType>::Type> for HostPlacement
fn reveal(
&self,
sess: &SymbolicSession,
x0: &<ReplicatedBitArray64 as PartiallySymbolicType>::Type
) -> <HostBitArray64 as PartiallySymbolicType>::Type
sourceimpl PlacementReveal<SymbolicSession, <RepBitArray<RepTensor<HostBitTensor>, N64> as SymbolicType>::Type, <HostBitArray<HostBitTensor, N64> as SymbolicType>::Type> for HostPlacement
impl PlacementReveal<SymbolicSession, <RepBitArray<RepTensor<HostBitTensor>, N64> as SymbolicType>::Type, <HostBitArray<HostBitTensor, N64> as SymbolicType>::Type> for HostPlacement
fn reveal(
&self,
sess: &SymbolicSession,
x0: &<ReplicatedBitArray64 as SymbolicType>::Type
) -> <HostBitArray64 as SymbolicType>::Type
sourceimpl PlacementReveal<SyncSession, RepBitArray<RepTensor<HostBitTensor>, N128>, HostBitArray<HostBitTensor, N128>> for HostPlacement
impl PlacementReveal<SyncSession, RepBitArray<RepTensor<HostBitTensor>, N128>, HostBitArray<HostBitTensor, N128>> for HostPlacement
fn reveal(
&self,
sess: &SyncSession,
x0: &ReplicatedBitArray128
) -> HostBitArray128
sourceimpl PlacementReveal<SyncSession, RepBitArray<RepTensor<HostBitTensor>, N224>, HostBitArray<HostBitTensor, N224>> for HostPlacement
impl PlacementReveal<SyncSession, RepBitArray<RepTensor<HostBitTensor>, N224>, HostBitArray<HostBitTensor, N224>> for HostPlacement
fn reveal(
&self,
sess: &SyncSession,
x0: &ReplicatedBitArray224
) -> HostBitArray224
sourceimpl PlacementReveal<SyncSession, RepBitArray<RepTensor<HostBitTensor>, N64>, HostBitArray<HostBitTensor, N64>> for HostPlacement
impl PlacementReveal<SyncSession, RepBitArray<RepTensor<HostBitTensor>, N64>, HostBitArray<HostBitTensor, N64>> for HostPlacement
fn reveal(
&self,
sess: &SyncSession,
x0: &ReplicatedBitArray64
) -> HostBitArray64
sourceimpl<HostBitTensorT, N> Serialize for HostBitArray<HostBitTensorT, N> where
HostBitTensorT: Serialize,
impl<HostBitTensorT, N> Serialize for HostBitArray<HostBitTensorT, N> where
HostBitTensorT: Serialize,
sourceimpl<HostBitT, N> TryFrom<Symbolic<HostBitArray<HostBitT, N>>> for HostBitArray<HostBitT, N> where
HostBitT: Placed<Placement = HostPlacement>,
impl<HostBitT, N> TryFrom<Symbolic<HostBitArray<HostBitT, N>>> for HostBitArray<HostBitT, N> where
HostBitT: Placed<Placement = HostPlacement>,
impl<HostBitTensorT, N> StructuralPartialEq for HostBitArray<HostBitTensorT, N>
Auto Trait Implementations
impl<HostBitTensorT, N> RefUnwindSafe for HostBitArray<HostBitTensorT, N> where
HostBitTensorT: RefUnwindSafe,
N: RefUnwindSafe,
impl<HostBitTensorT, N> Send for HostBitArray<HostBitTensorT, N> where
HostBitTensorT: Send,
N: Send,
impl<HostBitTensorT, N> Sync for HostBitArray<HostBitTensorT, N> where
HostBitTensorT: Sync,
N: Sync,
impl<HostBitTensorT, N> Unpin for HostBitArray<HostBitTensorT, N> where
HostBitTensorT: Unpin,
N: Unpin,
impl<HostBitTensorT, N> UnwindSafe for HostBitArray<HostBitTensorT, N> where
HostBitTensorT: UnwindSafe,
N: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> FmtForward for T
impl<T> FmtForward for T
fn fmt_binary(self) -> FmtBinary<Self> where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self> where
Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted. Read more
fn fmt_display(self) -> FmtDisplay<Self> where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self> where
Self: Display,
Causes self
to use its Display
implementation when
Debug
-formatted. Read more
fn fmt_lower_exp(self) -> FmtLowerExp<Self> where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self> where
Self: LowerExp,
Causes self
to use its LowerExp
implementation when
Debug
-formatted. Read more
fn fmt_lower_hex(self) -> FmtLowerHex<Self> where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self> where
Self: LowerHex,
Causes self
to use its LowerHex
implementation when
Debug
-formatted. Read more
fn fmt_octal(self) -> FmtOctal<Self> where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self> where
Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted. Read more
fn fmt_pointer(self) -> FmtPointer<Self> where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self> where
Self: Pointer,
Causes self
to use its Pointer
implementation when
Debug
-formatted. Read more
fn fmt_upper_exp(self) -> FmtUpperExp<Self> where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self> where
Self: UpperExp,
Causes self
to use its UpperExp
implementation when
Debug
-formatted. Read more
fn fmt_upper_hex(self) -> FmtUpperHex<Self> where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self> where
Self: UpperHex,
Causes self
to use its UpperHex
implementation when
Debug
-formatted. Read more
fn fmt_list(self) -> FmtList<Self> where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self> where
&'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pipe for T where
T: ?Sized,
impl<T> Pipe for T where
T: ?Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
Pipes by value. This is generally the method you want to use. Read more
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R where
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R where
R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R where
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R where
R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R where
Self: Borrow<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R where
Self: Borrow<B>,
B: 'a + ?Sized,
R: 'a,
Borrows self
, then passes self.borrow()
into the pipe function. Read more
fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> R where
Self: BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> R where
Self: BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
Mutably borrows self
, then passes self.borrow_mut()
into the pipe
function. Read more
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R where
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R where
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R where
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R where
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
function. Read more
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: Deref<Target = T>,
T: 'a + ?Sized,
R: 'a,
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: Deref<Target = T>,
T: 'a + ?Sized,
R: 'a,
Borrows self
, then passes self.deref()
into the pipe function.
sourceimpl<S, T, P> PlacementPlace<S, Symbolic<T>> for P where
S: Session,
T: Placed<Placement = P>,
P: PlacementPlace<S, T> + Clone + PartialEq<P>,
impl<S, T, P> PlacementPlace<S, Symbolic<T>> for P where
S: Session,
T: Placed<Placement = P>,
P: PlacementPlace<S, T> + Clone + PartialEq<P>,
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Tap for T
impl<T> Tap for T
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self where
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self where
Self: Borrow<B>,
B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self where
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self where
Self: BorrowMut<B>,
B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self where
Self: AsRef<R>,
R: ?Sized,
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self where
Self: AsRef<R>,
R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self where
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self where
Self: AsMut<R>,
R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self where
Self: Deref<Target = T>,
T: ?Sized,
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self where
Self: Deref<Target = T>,
T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self where
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self where
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
builds. Read more
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self where
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self where
Self: Borrow<B>,
B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
builds. Read more
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self where
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self where
Self: BorrowMut<B>,
B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
builds. Read more
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self where
Self: AsRef<R>,
R: ?Sized,
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self where
Self: AsRef<R>,
R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
builds. Read more
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self where
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self where
Self: AsMut<R>,
R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
builds. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more