pub struct GraphSignalProcessing;Expand description
Graph signal processing utilities
Implementations§
Source§impl GraphSignalProcessing
impl GraphSignalProcessing
Sourcepub fn graph_fourier_transform(
graph: &GraphData,
signal: &Tensor,
) -> Result<Tensor, TorshError>
pub fn graph_fourier_transform( graph: &GraphData, signal: &Tensor, ) -> Result<Tensor, TorshError>
Graph Fourier transform
Sourcepub fn inverse_graph_fourier_transform(
graph: &GraphData,
spectral_signal: &Tensor,
) -> Result<Tensor, TorshError>
pub fn inverse_graph_fourier_transform( graph: &GraphData, spectral_signal: &Tensor, ) -> Result<Tensor, TorshError>
Inverse graph Fourier transform
Sourcepub fn low_pass_filter(
graph: &GraphData,
signal: &Tensor,
cutoff: usize,
) -> Result<Tensor, TorshError>
pub fn low_pass_filter( graph: &GraphData, signal: &Tensor, cutoff: usize, ) -> Result<Tensor, TorshError>
Low-pass filter on graph signal
Sourcepub fn high_pass_filter(
graph: &GraphData,
signal: &Tensor,
cutoff: usize,
) -> Result<Tensor, TorshError>
pub fn high_pass_filter( graph: &GraphData, signal: &Tensor, cutoff: usize, ) -> Result<Tensor, TorshError>
High-pass filter on graph signal
Auto Trait Implementations§
impl Freeze for GraphSignalProcessing
impl RefUnwindSafe for GraphSignalProcessing
impl Send for GraphSignalProcessing
impl Sync for GraphSignalProcessing
impl Unpin for GraphSignalProcessing
impl UnsafeUnpin for GraphSignalProcessing
impl UnwindSafe for GraphSignalProcessing
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more