Skip to content

Commit

Permalink
Fix some typos caught by cargo xtask check typos
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Jan 30, 2025
1 parent 6f6f143 commit b03eebe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions crates/burn-remote/src/server/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ impl<B: ReprBackend> SessionManager<B> {

impl<B: ReprBackend> Session<B> {
fn new(runner: Runner<B>) -> Self {
let (sender, reveiver) = std::sync::mpsc::sync_channel(1);
let (sender, receiver) = std::sync::mpsc::sync_channel(1);
Self {
runner,
streams: Default::default(),
sender,
receiver: Some(reveiver),
receiver: Some(receiver),
}
}

Expand Down
4 changes: 2 additions & 2 deletions crates/burn-tensor/src/tensor/backend/conversion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ mod tests {
}

#[test]
fn should_build_indices_2d_complexe() {
fn should_build_indices_2d_complex() {
let shape = Shape::new([2, 3]);

let indices = build_indices(&shape, Order::Left);
Expand All @@ -206,7 +206,7 @@ mod tests {
}

#[test]
fn should_build_indices_3d_complexe() {
fn should_build_indices_3d_complex() {
let shape = Shape::new([2, 5, 3]);

let indices = build_indices(&shape, Order::Left);
Expand Down
2 changes: 1 addition & 1 deletion examples/wgan/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl<B: Backend> Discriminator<B> {
}
}

// Use model config to construct a generative and adverserial model
// Use model config to construct a generative and adversarial model
#[derive(Config, Debug)]
pub struct ModelConfig {
/// Dimensionality of the latent space
Expand Down

0 comments on commit b03eebe

Please sign in to comment.