diff --git a/Cargo.lock b/Cargo.lock index 184c4ed..9b7fb4a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3,5 +3,5 @@ version = 4 [[package]] -name = "bten" +name = "cten" version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index b39e348..e0239dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "bten" +name = "cten" version = "0.1.0" edition = "2024" license = "MIT" diff --git a/src/functions.rs b/src/functions.rs index 5da9ce9..0bd5804 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -173,7 +173,7 @@ pub fn stack(tensors: Vec>, dim: usize) -> RightComposition< } /// Reads `input` where `condition` is not zero and `other` where it is. torch's -/// `where` takes a boolean condition; bten's tensors hold floats, so zero stands +/// `where` takes a boolean condition; cten's tensors hold floats, so zero stands /// for false. `where` is a Rust keyword, hence the underscore. pub fn where_( condition: Rc, diff --git a/src/main.rs b/src/main.rs index 3ee84ae..b8d88bc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ use std::rc::Rc; -use bten::{ +use cten::{ COO, HRect, Physical, Product, RightComposition, Stride, Sum, Sup, Tensor, diagonalize, eye, movedim, negate, ones, square, transpose, zeros, }; diff --git a/tests/display.rs b/tests/display.rs index 6c05f80..ba52527 100644 --- a/tests/display.rs +++ b/tests/display.rs @@ -1,6 +1,6 @@ use std::rc::Rc; -use bten::{ +use cten::{ COO, Diagonal, HRect, Physical, RightComposition, Stride, Sum, Sup, Tensor, format_boxed, }; diff --git a/tests/domain.rs b/tests/domain.rs index ad71d5f..4b55026 100644 --- a/tests/domain.rs +++ b/tests/domain.rs @@ -1,4 +1,4 @@ -use bten::{Domain, HRect, JaggedDomain}; +use cten::{Domain, HRect, JaggedDomain}; #[test] fn a_hrect_holds_exactly_the_indices_within_its_shape() { diff --git a/tests/functions.rs b/tests/functions.rs index 213f68a..ed89759 100644 --- a/tests/functions.rs +++ b/tests/functions.rs @@ -1,6 +1,6 @@ use std::rc::Rc; -use bten::{ +use cten::{ BoxedTensor, COO, Domain, HRect, Physical, RightComposition, Stride, Sum, Tensor, clamp, concatenate, diagonalize, eye, eye_rect, mm, movedim, negate, ones, permute, pow, prod, scale, sparse_coo_tensor, square, squeeze, stack, sum, transpose, unsqueeze, where_, zeros, diff --git a/tests/logic.rs b/tests/logic.rs index 0331f64..ecd3f01 100644 --- a/tests/logic.rs +++ b/tests/logic.rs @@ -1,6 +1,6 @@ use std::rc::Rc; -use bten::{ +use cten::{ COO, Diagonal, EmptyMapping, HRect, Inf, LeftComposition, Physical, PowersetMapping, Product, RightComposition, Stride, Sum, Sup, Tensor, }; diff --git a/tests/mapping.rs b/tests/mapping.rs index 5228570..27ed4f6 100644 --- a/tests/mapping.rs +++ b/tests/mapping.rs @@ -1,6 +1,6 @@ use std::{assert_eq, rc::Rc}; -use bten::{ +use cten::{ COO, Concat, Diagonal, EmptyMapping, HRect, IndexMapping, InvProjection, JaggedDomain, Permutation, Physical, Powerset, PowersetMapping, Projection, Squeeze, Stride, Unsqueeze, Where, diff --git a/tests/tensor.rs b/tests/tensor.rs index dd27725..675cdf7 100644 --- a/tests/tensor.rs +++ b/tests/tensor.rs @@ -1,6 +1,6 @@ use std::rc::Rc; -use bten::{ +use cten::{ BoxedTensor, COO, Diagonal, HRect, JaggedTensor, LeftComposition, Physical, RightComposition, Stride, Sum, Tensor, };